A reporting line links an employee's position to their supervisor's position within an organisation unit
Reporting lines array
Bad Request
Unauthorized - Authorization Required
General Error
{- "data": [
- {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03",
- "type": "reportingLines",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17"
}, - "relationships": {
- "position": {
- "links": {
}
}, - "supervisor": {
- "links": {
}
}, - "organisationUnit": {
- "links": {
- "related": "https://integrations.cintra.cloud/integrations/00000000-0000-0000-0000-000000000000/ReportingLines/a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03/organisationUnit "
}
}
},
}
]
}
post reporting line
Post reporting line
object |
reporting lines
Bad Request
Unauthorized - Authorization Required
Unprocessable Entity
General Error
{- "data": {
- "type": "positionsreportingLines",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17"
}, - "relationships": {
- "position": {
- "data": {
- "id": "f5b1390a-3fda-4cf7-9ba7-437ac11b1d8b",
- "type": "positions"
}
}, - "supervisor": {
- "data": {
- "id": "2eea0587-8efd-463d-a2df-e0ab42f2bf39",
- "type": "positions"
}
}, - "organisationUnit": {
- "data": {
- "id": "e070ed47-f222-4f62-bd75-8aa8eb34dd1b",
- "type": "organisationUnits"
}
}
}
}
}
{- "links": {
- "self": "string"
}, - "data": {
- "0": {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}, - "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03",
- "type": "reportingLines",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17"
}, - "relationships": {
- "position": {
- "links": {
}
}, - "supervisor": {
- "links": {
}
}, - "organisationUnit": {
- "links": {
- "related": "https://integrations.cintra.cloud/integrations/00000000-0000-0000-0000-000000000000/ReportingLines/a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03/organisationUnit "
}
}
},
}
}
Get a reporting line by ID
reporting lines
Unauthorized - Authorization Required
Not Found
General Error
{- "links": {
- "self": "string"
}, - "data": {
- "0": {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}, - "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03",
- "type": "reportingLines",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17"
}, - "relationships": {
- "position": {
- "links": {
}
}, - "supervisor": {
- "links": {
}
}, - "organisationUnit": {
- "links": {
- "related": "https://integrations.cintra.cloud/integrations/00000000-0000-0000-0000-000000000000/ReportingLines/a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03/organisationUnit "
}
}
},
}
}
Update a reporting line
reporting lines
Bad Request
Unauthorized - Authorization Required
Not Found
Unprocessable Entity
General Error
{- "data": {
- "type": "positionsreportingLines",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17"
}, - "relationships": {
- "0": null,
- "position": {
- "data": {
- "id": "f5b1390a-3fda-4cf7-9ba7-437ac11b1d8b",
- "type": "positions"
}
}, - "supervisor": {
- "data": {
- "id": "2eea0587-8efd-463d-a2df-e0ab42f2bf39",
- "type": "positions"
}
}, - "organisationUnit": {
- "data": {
- "id": "e070ed47-f222-4f62-bd75-8aa8eb34dd1b",
- "type": "organisationUnits"
}
}
}, - "id": "906264f1-2dff-4f72-a10b-59918cf738d7"
}
}
{- "links": {
- "self": "string"
}, - "data": {
- "0": {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}, - "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03",
- "type": "reportingLines",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17"
}, - "relationships": {
- "position": {
- "links": {
}
}, - "supervisor": {
- "links": {
}
}, - "organisationUnit": {
- "links": {
- "related": "https://integrations.cintra.cloud/integrations/00000000-0000-0000-0000-000000000000/ReportingLines/a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03/organisationUnit "
}
}
},
}
}
Delete reporting line
OK
Bad Request
Unauthorized - Authorization Required
Not Found
Unprocessable Entity
General Error
{- "errors": [
- {
- "id": "de4e1bd5-9223-435a-b56d-1b0190a12313",
- "status": 400,
- "title": "Unable authenticate client",
- "detail": "No further detail is available"
}
]
}