{
"status": 0,
"total_data_count": 1000,
"data": [
{
"id": "ehcpn748mep7yrnb5pdrybcaus",
"name": "New York City",
"region": {
"id": "5v96mdzw6naryflbwz3r37xfw3",
"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": "eg4ene5xstwmwwxdzdhsxvlmp2",
"name": "New York City",
"region": {
"id": "n6bmkyy6vxkdyfmtlclsgdl2bw",
"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": "v2n86etnxxtjy8vjenfyc3umhq",
"name": "New York City",
"region": {
"id": "4vmhtlhzylbkwecy5fxtx32fq3",
"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": "ftrsjp23bajdw8xabvyb7xsffq"
}{
"status": 0,
"data": "vkbzvhhek5b9wylekr6ke67n32"
}{
"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": "qf4tyj99my7fw8b3du2aeput9z",
"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": "3mclmk322tb2wdz7tyckkmhmhz",
"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."
}