{
"status": 0,
"total_data_count": 1000,
"data": [
{
"id": "528cbstl3y3jypchjbtk7gd382",
"name": "Recruiting Team",
"parent": {
"id": "a9s3qu2myrcuynlbkavdyt7jyz",
"name": "Human Resources",
"external_id": "HR"
},
"location": {
"id": "8qbjyyhl8urewncfr2u5jce5xa",
"name": "New York City",
"external_id": "NYC"
},
"childs": [
{
"id": "v9dls65tp3cyysl7ypl5aqxsgx",
"name": "Internal Recruitment",
"external_id": "IRT"
}
],
"positions": [
{
"id": "bfumncffb56gy7ldy2eycsa3s2",
"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": "qbsg25mrbukkytz59e3jyzhews",
"name": "Recruiting Team",
"parent": {
"id": "raysvdcq22zfyzle9pzu93am6w",
"name": "Human Resources",
"external_id": "HR"
},
"location": {
"id": "vx8vtehcdf9hyvxet9s97rq3v2",
"name": "New York City",
"external_id": "NYC"
},
"childs": [
{
"id": "ejpvubdg79thynz68hnead7cra",
"name": "Internal Recruitment",
"external_id": "IRT"
}
],
"positions": [
{
"id": "ysmz6qfcbvtjw9b4sa53jmcfgq",
"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": "bqbuhmjljejjw3mu3ljb6hr34w",
"name": "Recruiting Team",
"parent": {
"id": "37t6sl8vj6myyfbs5gvv4rg73q",
"name": "Human Resources",
"external_id": "HR"
},
"location": {
"id": "xqcurec6833jw7lgpg7xbfkr9a",
"name": "New York City",
"external_id": "NYC"
},
"childs": [
{
"id": "ngagjlg9ttvlwtz2c5py4amfda",
"name": "Internal Recruitment",
"external_id": "IRT"
}
],
"positions": [
{
"id": "8pdgqk79ds9twqvg9px4ev75bw",
"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": "kwksf95jwtuyy6bjfp78s32pxz",
"location_external_id": "NYC"
}{
"status": 0,
"data": "xadcet8xwuvjwjvsbzemu4gcvx"
}{
"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": "35w3cldzgfkqwgm8xuca39zn3q",
"name": "Recruiting Team",
"passive": true,
"parent_id": "lg7h7r7cqwjrw9nw6gdd8667r2",
"location_id": "6ccacnzvk4lnwlx6azafjgm85a"
}
}{
"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": "4pa47xz68j2eyjczx4gzjqtmcz",
"name": "Recruiting Team",
"passive": true,
"parent_id": "7l9ehgklwe6tyzv2l47gvwn9ps",
"location_id": "tr3kygqzlndhw9mcrup3zx5gk3"
}
}{
"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."
}