EmploymentRelations
Filter by toEmployeeID (exact match)
Filter by fromEmployeeID (exact match)
Filter by relationTypeID (exact match)
Maximum number of items to return (1-1000)
10Cursor for pagination. Use the value from the 'nextCursor' field of the previous response.
Successful response
Bad request
Unauthorized
Internal server error
GET /employmentRelations HTTP/1.1
Accept: */*
{
"data": [
{
"activePeriod": "[2023-01-01,2023-12-31)",
"createdAt": "2026-01-01T00:00:00.000Z",
"fromEmployeeID": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"relationTypeID": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"toEmployeeID": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pagination": {
"hasMore": true,
"limit": 1,
"nextCursor": "text",
"total": 1
}
}EmploymentRelation ID
Successful response
Date range in PostgreSQL format [start,end)
[2023-01-01,2023-12-31)Unauthorized
Not found
Internal server error
GET /employmentRelations/{id} HTTP/1.1
Accept: */*
{
"activePeriod": "[2023-01-01,2023-12-31)",
"createdAt": "2026-01-01T00:00:00.000Z",
"fromEmployeeID": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"relationTypeID": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"toEmployeeID": "123e4567-e89b-12d3-a456-426614174000"
}Filter by toEmployeeID (exact match)
Filter by fromEmployeeID (exact match)
Filter by relationTypeID (exact match)
Maximum number of items to return (1-1000)
10Cursor for pagination. Use the value from the 'nextCursor' field of the previous response.
Successful response
Bad request
Unauthorized
Internal server error
GET /createEmploymentRelations HTTP/1.1
Accept: */*
{
"data": [
{
"activePeriod": "[2023-01-01,2023-12-31)",
"fromEmployeeID": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"relationTypeID": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000",
"subjectID": "123e4567-e89b-12d3-a456-426614174000",
"toEmployeeID": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pagination": {
"hasMore": true,
"limit": 1,
"nextCursor": "text",
"total": 1
}
}Date range in PostgreSQL format [start,end)
[2023-01-01,2023-12-31)Created successfully
Date range in PostgreSQL format [start,end)
[2023-01-01,2023-12-31)falseBad request
Unauthorized
Internal server error
POST /createEmploymentRelations HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 264
[
{
"activePeriod": "[2023-01-01,2023-12-31)",
"fromEmployeeID": "123e4567-e89b-12d3-a456-426614174000",
"relationTypeID": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"toEmployeeID": "123e4567-e89b-12d3-a456-426614174000"
}
][
{
"activePeriod": "[2023-01-01,2023-12-31)",
"fromEmployeeID": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"relationTypeID": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000",
"subjectID": "123e4567-e89b-12d3-a456-426614174000",
"toEmployeeID": "123e4567-e89b-12d3-a456-426614174000"
}
]CreateEmploymentRelationProposal ID
Successful response
Date range in PostgreSQL format [start,end)
[2023-01-01,2023-12-31)falseUnauthorized
Not found
Internal server error
GET /createEmploymentRelations/{id} HTTP/1.1
Accept: */*
{
"activePeriod": "[2023-01-01,2023-12-31)",
"fromEmployeeID": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"relationTypeID": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000",
"subjectID": "123e4567-e89b-12d3-a456-426614174000",
"toEmployeeID": "123e4567-e89b-12d3-a456-426614174000"
}Maximum number of items to return (1-1000)
10Cursor for pagination. Use the value from the 'nextCursor' field of the previous response.
Successful response
Bad request
Unauthorized
Internal server error
GET /deleteEmploymentRelations HTTP/1.1
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pagination": {
"hasMore": true,
"limit": 1,
"nextCursor": "text",
"total": 1
}
}Created successfully
falseBad request
Unauthorized
Internal server error
POST /deleteEmploymentRelations HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 101
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000"
}
][
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000"
}
]DeleteEmploymentRelationProposal ID
Successful response
falseUnauthorized
Not found
Internal server error
GET /deleteEmploymentRelations/{id} HTTP/1.1
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000"
}Filter by toEmployeeID (exact match)
Filter by fromEmployeeID (exact match)
Filter by relationTypeID (exact match)
Maximum number of items to return (1-1000)
10Cursor for pagination. Use the value from the 'nextCursor' field of the previous response.
Successful response
Bad request
Unauthorized
Internal server error
GET /updateEmploymentRelations HTTP/1.1
Accept: */*
{
"data": [
{
"activePeriod": "[2023-01-01,2023-12-31)",
"fromEmployeeID": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"relationTypeID": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000",
"toEmployeeID": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pagination": {
"hasMore": true,
"limit": 1,
"nextCursor": "text",
"total": 1
}
}Date range in PostgreSQL format [start,end) (omit to keep current value)
[2023-01-01,2023-12-31)Omit this field to keep current value
Omit this field to keep current value
Omit this field to keep current value
Created successfully
Date range in PostgreSQL format [start,end)
[2023-01-01,2023-12-31)falseBad request
Unauthorized
Internal server error
POST /updateEmploymentRelations HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 308
[
{
"activePeriod": "[2023-01-01,2023-12-31)",
"fromEmployeeID": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"relationTypeID": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"toEmployeeID": "123e4567-e89b-12d3-a456-426614174000"
}
][
{
"activePeriod": "[2023-01-01,2023-12-31)",
"fromEmployeeID": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"relationTypeID": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000",
"toEmployeeID": "123e4567-e89b-12d3-a456-426614174000"
}
]UpdateEmploymentRelationProposal ID
Successful response
Date range in PostgreSQL format [start,end)
[2023-01-01,2023-12-31)falseUnauthorized
Not found
Internal server error
GET /updateEmploymentRelations/{id} HTTP/1.1
Accept: */*
{
"activePeriod": "[2023-01-01,2023-12-31)",
"fromEmployeeID": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"relationTypeID": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000",
"toEmployeeID": "123e4567-e89b-12d3-a456-426614174000"
}Last updated
Was this helpful?