EmployeePlacement
Search EmployeePlacements
Search for EmployeePlacements with filtering capabilities.
post/employee-placement/_search
Query parameters
limitinteger
Example:1
The maximum number of EmployeePlacements to return (default: 50) when searching EmployeePlacements
offsetinteger
The number of EmployeePlacements to skip before starting to return results (default: 0) when searching EmployeePlacements
Request body
Example request
{
"filter": {
"equals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
},
"external": {
"sourceID": "example",
"source": "example"
},
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"schoolID": "123e4567-e89b-12d3-a456-426614174000",
"signature": "example",
"title": "example",
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archiveYear": "example",
"archivedAt": "2024-01-15T10:30:00Z",
"employmentPercent": 42
},
"notEquals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
},
"external": {
"sourceID": "example",
"source": "example"
},
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"schoolID": "123e4567-e89b-12d3-a456-426614174000",
"signature": "example",
"title": "example",
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archiveYear": "example",
"archivedAt": "2024-01-15T10:30:00Z",
"employmentPercent": 42
},
"greaterThan": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z",
"employmentPercent": 42
},
"smallerThan": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z",
"employmentPercent": 42
},
"greaterOrEqual": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z",
"employmentPercent": 42
},
"smallerOrEqual": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z",
"employmentPercent": 42
},
"contains": {
"id": [
"123e4567-e89b-12d3-a456-426614174000"
],
"meta": {
"createdBy": [
"123e4567-e89b-12d3-a456-426614174000"
],
"updatedBy": [
"123e4567-e89b-12d3-a456-426614174000"
]
},
"external": {
"sourceID": [
"example"
],
"source": [
"example"
]
},
"employeeID": [
"123e4567-e89b-12d3-a456-426614174000"
],
"schoolID": [
"123e4567-e89b-12d3-a456-426614174000"
],
"signature": [
"example"
],
"title": [
"example"
],
"startDate": [
"2024-01-15"
],
"endDate": [
"2024-01-15"
],
"archiveYear": [
"example"
],
"employmentPercent": [
42
]
},
"notContains": {
"id": [
"123e4567-e89b-12d3-a456-426614174000"
],
"meta": {
"createdBy": [
"123e4567-e89b-12d3-a456-426614174000"
],
"updatedBy": [
"123e4567-e89b-12d3-a456-426614174000"
]
},
"external": {
"sourceID": [
"example"
],
"source": [
"example"
]
},
"employeeID": [
"123e4567-e89b-12d3-a456-426614174000"
],
"schoolID": [
"123e4567-e89b-12d3-a456-426614174000"
],
"signature": [
"example"
],
"title": [
"example"
],
"startDate": [
"2024-01-15"
],
"endDate": [
"2024-01-15"
],
"archiveYear": [
"example"
],
"employmentPercent": [
42
]
},
"like": {
"external": {
"sourceID": "example",
"source": "example"
},
"signature": "example",
"title": "example",
"archiveYear": "example"
},
"notLike": {
"external": {
"sourceID": "example",
"source": "example"
},
"signature": "example",
"title": "example",
"archiveYear": "example"
},
"null": {
"meta": {
"createdBy": true,
"updatedAt": true,
"updatedBy": true
},
"external": {
"sourceID": true,
"source": true
},
"signature": true,
"title": true,
"roles": true,
"endDate": true,
"archiveYear": true,
"archivedAt": true,
"employmentPercent": true
},
"notNull": {
"meta": {
"createdBy": true,
"updatedAt": true,
"updatedBy": true
},
"external": {
"sourceID": true,
"source": true
},
"signature": true,
"title": true,
"roles": true,
"endDate": true,
"archiveYear": true,
"archivedAt": true,
"employmentPercent": true
},
"orCondition": true,
"nestedFilters": [
{
"equals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
},
"external": {
"sourceID": "example",
"source": "example"
},
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"schoolID": "123e4567-e89b-12d3-a456-426614174000",
"signature": "example",
"title": "example",
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archiveYear": "example",
"archivedAt": "2024-01-15T10:30:00Z",
"employmentPercent": 42
},
"notEquals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
},
"external": {
"sourceID": "example",
"source": "example"
},
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"schoolID": "123e4567-e89b-12d3-a456-426614174000",
"signature": "example",
"title": "example",
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archiveYear": "example",
"archivedAt": "2024-01-15T10:30:00Z",
"employmentPercent": 42
},
"greaterThan": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z",
"employmentPercent": 42
},
"smallerThan": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z",
"employmentPercent": 42
},
"greaterOrEqual": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z",
"employmentPercent": 42
},
"smallerOrEqual": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z",
"employmentPercent": 42
},
"contains": {
"id": [
"123e4567-e89b-12d3-a456-426614174000"
],
"meta": {
"createdBy": [
"123e4567-e89b-12d3-a456-426614174000"
],
"updatedBy": [
"123e4567-e89b-12d3-a456-426614174000"
]
},
"external": {
"sourceID": [
"example"
],
"source": [
"example"
]
},
"employeeID": [
"123e4567-e89b-12d3-a456-426614174000"
],
"schoolID": [
"123e4567-e89b-12d3-a456-426614174000"
],
"signature": [
"example"
],
"title": [
"example"
],
"startDate": [
"2024-01-15"
],
"endDate": [
"2024-01-15"
],
"archiveYear": [
"example"
],
"employmentPercent": [
42
]
},
"notContains": {
"id": [
"123e4567-e89b-12d3-a456-426614174000"
],
"meta": {
"createdBy": [
"123e4567-e89b-12d3-a456-426614174000"
],
"updatedBy": [
"123e4567-e89b-12d3-a456-426614174000"
]
},
"external": {
"sourceID": [
"example"
],
"source": [
"example"
]
},
"employeeID": [
"123e4567-e89b-12d3-a456-426614174000"
],
"schoolID": [
"123e4567-e89b-12d3-a456-426614174000"
],
"signature": [
"example"
],
"title": [
"example"
],
"startDate": [
"2024-01-15"
],
"endDate": [
"2024-01-15"
],
"archiveYear": [
"example"
],
"employmentPercent": [
42
]
},
"like": {
"external": {
"sourceID": "example",
"source": "example"
},
"signature": "example",
"title": "example",
"archiveYear": "example"
},
"notLike": {
"external": {
"sourceID": "example",
"source": "example"
},
"signature": "example",
"title": "example",
"archiveYear": "example"
},
"null": {
"meta": {
"createdBy": true,
"updatedAt": true,
"updatedBy": true
},
"external": {
"sourceID": true,
"source": true
},
"signature": true,
"title": true,
"roles": true,
"endDate": true,
"archiveYear": true,
"archivedAt": true,
"employmentPercent": true
},
"notNull": {
"meta": {
"createdBy": true,
"updatedAt": true,
"updatedBy": true
},
"external": {
"sourceID": true,
"source": true
},
"signature": true,
"title": true,
"roles": true,
"endDate": true,
"archiveYear": true,
"archivedAt": true,
"employmentPercent": true
},
"orCondition": true
}
]
}
}Response
Response for EmployeePlacement Search operation - returns filtered EmployeePlacement results
Example response
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "987fcdeb-51a2-43d1-b567-123456789abc",
"updatedAt": "2024-01-15T14:45:00Z",
"updatedBy": "987fcdeb-51a2-43d1-b567-123456789abc"
},
"external": {
"sourceID": "12345678",
"source": "ExternalIntegrationAPI"
},
"employeeID": "123e4567-e89b-12d3-a456-426614174000",
"schoolID": "123e4567-e89b-12d3-a456-426614174000",
"signature": "LM",
"title": "Principal",
"roles": [
"Admin"
],
"startDate": "2024-08-01",
"endDate": "2024-08-01",
"archiveYear": "2024_2025",
"archivedAt": "2024-08-01T00:00:00Z",
"employmentPercent": 100
}
],
"pagination": {
"limit": 1,
"total": 100
}
}