{
"status": 0,
"total_data_count": 1000,
"data": [
{
"id": "cyp4s64sswntwqx874vzw87blq",
"name": "New York City",
"region": {
"id": "dw9a9rup37ajyxmv59kw26trpw",
"name": "West",
"external_id": "W"
},
"passive": true,
"external_id": "NYC"
}
]
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"status": 0,
"data": {
"id": "gsrujnt7z56vw4xa9egtntx6j3",
"name": "New York City",
"region": {
"id": "zga83f856xbhwfb3n9jpg9jcew",
"name": "West",
"external_id": "W"
},
"passive": true,
"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": "ueyx2d5ayu7mykvhlty3yughhx",
"name": "New York City",
"region": {
"id": "uuphs2hamb5gw9z2gxd7jn3qzw",
"name": "West",
"external_id": "W"
},
"passive": true,
"external_id": "NYC"
}
}{
"status": 404,
"error_message": "Record not found."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"name": "New York City"
}{
"name": "New York City",
"external_id": "NYC",
"region_id": "dq5y5edcdqnawwzl3vntv3emwx"
}{
"status": 0,
"data": "w7m8cpne6aq3wlv88nw95u2ntq"
}{
"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": 3,
"error_message": "Region item is not found. Add the region first or submit an existing region."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"name": "New York City"
}{
"name": "New York City",
"active": false
}{
"status": 0,
"data": {
"id": "u9tste8ctj4syblr27xjq9uggq",
"name": "New York City",
"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": 3,
"error_message": "Region item is not found. Add the region first or submit an existing region."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"name": "New York City"
}{
"name": "New York City",
"active": false
}{
"status": 0,
"data": {
"id": "9yjq49cg6zkxwux87t7h8ph653",
"name": "New York City",
"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": 3,
"error_message": "Region item is not found. Add the region first or submit an existing region."
}{
"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."
}[
{
"id": "NYC",
"name": "New York City"
},
{
"id": "SF",
"name": "San Francisco"
},
{
"id": "LA",
"name": "Los Angeles"
}
]{
"status": 0,
"data": {
"insert": 4,
"update": 10,
"delete": 1
}
}{
"status": 400,
"error_message": "Invalid request."
}{
"status": 1,
"error_message": "Invalid data. Invalid records can be obtained from the data parameter.",
"data": [
"Error 1",
"Error 2",
". . ."
]
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}