{
"status": 0,
"total_data_count": 1000,
"data": [
{
"id": "4uubeltcdbynyqbhhasccz4mkz",
"name": "Recruiting Team",
"parent": {
"id": "3rgnskxaj3kmypn9u9eynm48rw",
"name": "Human Resources",
"external_id": "HR"
},
"location": {
"id": "v4ewjae3fbbnw8zdufz3487xuw",
"name": "New York City",
"external_id": "NYC"
},
"childs": [
{
"id": "4s5c3jeeqflqyccumt8p286npw",
"name": "Internal Recruitment",
"external_id": "IRT"
}
],
"positions": [
{
"id": "hgjmb9zz86dxwecvcl6grzdmxz",
"name": "HR Manager",
"external_id": "HRMNG"
}
],
"passive": true,
"external_id": "RT"
}
]
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"status": 0,
"data": {
"id": "s6swenzx3g9mwrmx4mb9ryxz3q",
"name": "Recruiting Team",
"parent": {
"id": "2v4yeme2tyqlwjx7aqrfeqg2nq",
"name": "Human Resources",
"external_id": "HR"
},
"location": {
"id": "k6ek2ncb2utxykmb5mdyc5qufq",
"name": "New York City",
"external_id": "NYC"
},
"childs": [
{
"id": "d4pu8r5utwsuwcl2apcjc69ph3",
"name": "Internal Recruitment",
"external_id": "IRT"
}
],
"positions": [
{
"id": "9mgj9r89jbfkyfnqn9et5bc7x2",
"name": "HR Manager",
"external_id": "HRMNG"
}
],
"passive": true,
"external_id": "RT"
}
}{
"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": "t7358mjqvf7fwql27sdgeqxmgw",
"name": "Recruiting Team",
"parent": {
"id": "b8qrecnl59payjmyjegj3ewqzw",
"name": "Human Resources",
"external_id": "HR"
},
"location": {
"id": "zfnpj69j8r9lwxns5b2afsnhl3",
"name": "New York City",
"external_id": "NYC"
},
"childs": [
{
"id": "y8x8jvpvazggwqc6yly3drcmfw",
"name": "Internal Recruitment",
"external_id": "IRT"
}
],
"positions": [
{
"id": "243zasgnyew9yqbcn3dhdxfvya",
"name": "HR Manager",
"external_id": "HRMNG"
}
],
"passive": true,
"external_id": "RT"
}
}{
"status": 404,
"error_message": "Record not found."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"name": "Recruiting Team"
}{
"name": "Recruiting Team",
"external_id": "RT",
"parent_id": "c959cqm9rgchwtzvfemruuy8yq",
"location_external_id": "NYC"
}{
"status": 0,
"data": "pv95r5r8nte8yemz8jbaps9y92"
}{
"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": "Parent item is not found."
}{
"status": 4,
"error_message": "Location item is not found. Add the location first or submit an existing location."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"name": "Recruiting Team"
}{
"name": "Recruiting Team",
"active": false
}{
"status": 0,
"data": {
"id": "tryrjrsk4f8myjxtbwurq3jg2x",
"name": "Recruiting Team",
"passive": true,
"parent_id": "75hl9993brejy7cezfz73bafsz",
"location_id": "5es4dn3dhslgyply3wnj2q62xx"
}
}{
"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": "Parent item is not found."
}{
"status": 4,
"error_message": "Location item is not found. Add the location first or submit an existing location."
}{
"status": 500,
"error_message": "A generic error has occurred on the server."
}{
"name": "Recruiting Team"
}{
"name": "Recruiting Team",
"active": false
}{
"status": 0,
"data": {
"id": "ndhmty36mru8wcvs277np99y6a",
"name": "Recruiting Team",
"passive": true,
"parent_id": "cfkwm7empy48ywv9fkzjpnuxc3",
"location_id": "xt8bapafqdz7wpzb4683paylq3"
}
}{
"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": "Parent item is not found."
}{
"status": 4,
"error_message": "Location item is not found. Add the location first or submit an existing location."
}{
"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": "IRT",
"name": "Internal Recruitment",
"parent_id": "RT",
"location_id": "NYC"
},
{
"id": "RT",
"name": "Recruiting Team",
"parent_id": "HR"
},
{
"id": "HR",
"name": "Human Resources",
"location_id": "SF"
}
]{
"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."
}