EmploymentContracts
Operations for EmploymentContracts
List employmentContracts
Filter Syntax:
Filters use exact match only
Multiple filters are combined with AND logic
Filterable fields: contractTypeID, employeeID
Example:
?contractTypeID=123e4567-e89b-12d3-a456-426614174000&employeeID=123e4567-e89b-12d3-a456-426614174000
Organization identifier
Filter by contractTypeID (exact match)
Filter by employeeID (exact match)
Maximum number of items to return (1-1000)
10
Cursor for pagination. Use the value from the 'nextCursor' field of the previous response.
GET /api/orgkeep/v4/{orgkeepID}/employmentContracts HTTP/1.1
Host: matrix.ag5.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"data": [
{
"activePeriod": "[2023-01-01,2023-12-31)",
"contractTypeID": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-07-18T20:01:45.684Z",
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"lastModifiedAt": "2025-07-18T20:01:45.684Z",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pagination": {
"hasMore": true,
"limit": 1,
"nextCursor": "text",
"total": 1
}
}
Get a single employmentContract by ID
Organization identifier
EmploymentContract ID
GET /api/orgkeep/v4/{orgkeepID}/employmentContracts/{id} HTTP/1.1
Host: matrix.ag5.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"activePeriod": "[2023-01-01,2023-12-31)",
"contractTypeID": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-07-18T20:01:45.684Z",
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"lastModifiedAt": "2025-07-18T20:01:45.684Z",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000"
}
List all createEmploymentContracts proposals. These are proposed changes to create new EmploymentContract records that may be automatically approved or require manual approval depending on system configuration.
Filter Syntax:
Filters use exact match only
Multiple filters are combined with AND logic
Filterable fields: contractTypeID, employeeID
Example:
?contractTypeID=123e4567-e89b-12d3-a456-426614174000&employeeID=123e4567-e89b-12d3-a456-426614174000
Organization identifier
Filter by contractTypeID (exact match)
Filter by employeeID (exact match)
Maximum number of items to return (1-1000)
10
Cursor for pagination. Use the value from the 'nextCursor' field of the previous response.
GET /api/orgkeep/v4/{orgkeepID}/createEmploymentContracts HTTP/1.1
Host: matrix.ag5.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"data": [
{
"activePeriod": "[2023-01-01,2023-12-31)",
"contractTypeID": "123e4567-e89b-12d3-a456-426614174000",
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": true,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000",
"subjectID": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pagination": {
"hasMore": true,
"limit": 1,
"nextCursor": "text",
"total": 1
}
}
Create a new proposal to add a EmploymentContract record. The proposal may be automatically approved or require manual approval depending on system configuration.
Organization identifier
Date range in PostgreSQL format [start,end)
[2023-01-01,2023-12-31)
POST /api/orgkeep/v4/{orgkeepID}/createEmploymentContracts HTTP/1.1
Host: matrix.ag5.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 204
{
"activePeriod": "[2023-01-01,2023-12-31)",
"contractTypeID": "123e4567-e89b-12d3-a456-426614174000",
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000"
}
{
"activePeriod": "[2023-01-01,2023-12-31)",
"contractTypeID": "123e4567-e89b-12d3-a456-426614174000",
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": true,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000",
"subjectID": "123e4567-e89b-12d3-a456-426614174000"
}
Get details of a specific EmploymentContract creation proposal by ID
Organization identifier
CreateEmploymentContract ID
GET /api/orgkeep/v4/{orgkeepID}/createEmploymentContracts/{id} HTTP/1.1
Host: matrix.ag5.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"activePeriod": "[2023-01-01,2023-12-31)",
"contractTypeID": "123e4567-e89b-12d3-a456-426614174000",
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": true,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000",
"subjectID": "123e4567-e89b-12d3-a456-426614174000"
}
List all deleteEmploymentContracts proposals. These are proposed changes to delete EmploymentContract records that may be automatically approved or require manual approval depending on system configuration.
Organization identifier
Maximum number of items to return (1-1000)
10
Cursor for pagination. Use the value from the 'nextCursor' field of the previous response.
GET /api/orgkeep/v4/{orgkeepID}/deleteEmploymentContracts HTTP/1.1
Host: matrix.ag5.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": true,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pagination": {
"hasMore": true,
"limit": 1,
"nextCursor": "text",
"total": 1
}
}
Create a new proposal to add a EmploymentContract record. The proposal may be automatically approved or require manual approval depending on system configuration.
Organization identifier
POST /api/orgkeep/v4/{orgkeepID}/deleteEmploymentContracts HTTP/1.1
Host: matrix.ag5.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 99
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000"
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": true,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000"
}
Get details of a specific EmploymentContract deletion proposal by ID
Organization identifier
DeleteEmploymentContract ID
GET /api/orgkeep/v4/{orgkeepID}/deleteEmploymentContracts/{id} HTTP/1.1
Host: matrix.ag5.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": true,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000"
}
List all updateEmploymentContracts proposals. These are proposed changes to update existing EmploymentContract records that may be automatically approved or require manual approval depending on system configuration.
Filter Syntax:
Filters use exact match only
Multiple filters are combined with AND logic
Filterable fields: contractTypeID, employeeID
Example:
?contractTypeID=123e4567-e89b-12d3-a456-426614174000&employeeID=123e4567-e89b-12d3-a456-426614174000
Organization identifier
Filter by contractTypeID (exact match)
Filter by employeeID (exact match)
Maximum number of items to return (1-1000)
10
Cursor for pagination. Use the value from the 'nextCursor' field of the previous response.
GET /api/orgkeep/v4/{orgkeepID}/updateEmploymentContracts HTTP/1.1
Host: matrix.ag5.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"data": [
{
"activePeriod": "[2023-01-01,2023-12-31)",
"contractTypeID": "123e4567-e89b-12d3-a456-426614174000",
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": true,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pagination": {
"hasMore": true,
"limit": 1,
"nextCursor": "text",
"total": 1
}
}
Create a new proposal to add a EmploymentContract record. The proposal may be automatically approved or require manual approval depending on system configuration.
Organization identifier
Date range in PostgreSQL format [start,end)
[2023-01-01,2023-12-31)
POST /api/orgkeep/v4/{orgkeepID}/updateEmploymentContracts HTTP/1.1
Host: matrix.ag5.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 248
{
"activePeriod": "[2023-01-01,2023-12-31)",
"contractTypeID": "123e4567-e89b-12d3-a456-426614174000",
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000"
}
{
"activePeriod": "[2023-01-01,2023-12-31)",
"contractTypeID": "123e4567-e89b-12d3-a456-426614174000",
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": true,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000"
}
Get details of a specific EmploymentContract update proposal by ID
Organization identifier
UpdateEmploymentContract ID
GET /api/orgkeep/v4/{orgkeepID}/updateEmploymentContracts/{id} HTTP/1.1
Host: matrix.ag5.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"activePeriod": "[2023-01-01,2023-12-31)",
"contractTypeID": "123e4567-e89b-12d3-a456-426614174000",
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": true,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000"
}
Was this helpful?