Labor Assignments

Endpoint:https://api.paychex.com/companies/{companyId}/laborassignments

Verbs supported: GET

GET: Array of labor assignments set at the company level.

Request:

Element NameTypeDescription
companyId stringThe ID of the company.

Response: Labor Assignments Profile  

Endpoint:https://api.paychex.com/companies/{companyId}/laborassignments/{laborAssignmentId}

Verbs supported: GET

GET: Information about a single Labor Assignment.

Request:

Element NameTypeDescription
companyId stringThe ID of the company.
laborAssignmentIdstringThe ID of the labor assignment.

Response: Labor Assignment Profile  

Response

Profile: Labor Assignments

The state representation of Labor Assignments within a company.
Element NameTypeDescription
laborAssignmentIdstringThe unique identifier associated with this labor assignment representation.
namestringThe name of the labor assignment.
startDatedateThe start date associated with this labor assignment.
endDatedateThe end date associated with this labor assignment.
positionIdstringThe position associated with this labor assignment.
organizationIdstringThe organization associated with this labor assignment.
locationIdstringThe locations associated with this labor assignment.
{
  "content": [
    {
            "laborAssignmentId": "970001701620720",
            "name": "Assignment 3",
            "startDate": "2019-01-24T00:00:00Z",
            "endDate": "2029-12-24T00:00:00Z",
            "organizationId": "970001701620691",
            "positionId": "970000180782611",
            "locationId": "970001701620683"
        },
        {
            "laborAssignmentId": "970001701620607",
            "name": "Assignement2",
            "startDate": "2018-12-09T00:00:00Z",
            "locationId": "970001701620675"
        },
        {
            "laborAssignmentId": "970001701620722",
            "name": "Assignment 4",
            "startDate": "2019-01-24T00:00:00Z",
            "organizationId": "970001701620691",
            "positionId": "970000180782611"
        },
        {
            "laborAssignmentId": "970001557863345",
            "name": "MyAssignment1",
            "startDate": "2018-12-20T00:00:00Z",
            "positionId": "970000180782611"
        }
  ]
}