{
"status": 0,
"total_data_count": 1000,
"data": [
{
"id": "3l7y5fqn5khpwtxpamq424ymks",
"name": "West",
"passive": true,
"external_id": "W",
"locations": [
{
"id": "2b2awzpvm7s6ylnlfaxxmcuu6x",
"name": "New York City",
"external_id": "NYC"
}
]
}
]
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"status": 0,
"data": {
"id": "v3q284cgua63w4vk2ccl2cyzvs",
"name": "West",
"passive": true,
"external_id": "W",
"locations": [
{
"id": "rsm4eglk9fgrycvhnsf3f8c3mz",
"name": "New York City",
"external_id": "NYC"
}
]
}
}{
"status": 400,
"error_message": "Invalid request."
}{
"status": 404,
"error_message": "Record not found."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"status": 0,
"data": {
"id": "8s2ulgz3kp39yfbe54vz7eg2cq",
"name": "West",
"passive": true,
"external_id": "W",
"locations": [
{
"id": "7vjgz7trpwvuwwb87aazpky6x2",
"name": "New York City",
"external_id": "NYC"
}
]
}
}{
"status": 404,
"error_message": "Record not found."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"name": "West"
}{
"name": "West",
"external_id": "W"
}{
"status": 0,
"data": "sfkhxfm6wm8jylldrxh8bbc6kw"
}{
"status": 400,
"error_message": "Invalid request."
}{
"status": 1,
"error_message": "Another item with the same name already exists."
}{
"status": 2,
"error_message": "Another item with the same external id already exists."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"name": "West"
}{
"name": "West",
"active": false
}{
"status": 0,
"data": {
"id": "9x6xyfzmm3guwxvbvlxke7yrlq",
"name": "West",
"passive": true
}
}{
"status": 400,
"error_message": "Invalid request."
}{
"status": 404,
"error_message": "Record not found."
}{
"status": 1,
"error_message": "Another item with the same name already exists."
}{
"status": 2,
"error_message": "Another item with the same external id already exists."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"name": "West"
}{
"name": "West",
"active": false
}{
"status": 0,
"data": {
"id": "swrngz5hytxeyznux26j7lmsnq",
"name": "West",
"passive": true
}
}{
"status": 404,
"error_message": "Record not found."
}{
"status": 1,
"error_message": "Another item with the same name already exists."
}{
"status": 2,
"error_message": "Another item with the same external id already exists."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"status": 400,
"error_message": "Invalid request."
}{
"status": 404,
"error_message": "Record not found."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"status": 404,
"error_message": "Record not found."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}