{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"workerId": {
"type": "string",
"description": "ID associated with desired worker."
},
"_links": {
"type": "object",
"description": "The links value"
},
"birthDate": {
"type": "string",
"description": "The workers date of birth. It cannot be greater than today's date."
},
"clockId": {
"type": "string",
"description": "The clock ID of the worker that can be an identification for other systems."
},
"communications": {
"type": "array",
"items": {
"type": "object"
},
"description": "Worker Communications. This data field cannot be updated for worker endpoint."
},
"currentStatus": {
"type": "object",
"description": "The workers employment status information. This data field cannot be POSTED or PATCHED for an IN_PROGRESS worker.",
"properties": {
"workerStatusId": {
"type": "string",
"description": "The unique identifier associated with this status representation."
},
"statusType": {
"type": "string",
"description": "The workers current status."
},
"statusReason": {
"type": "string",
"description": "The detailed reason of the workers current status."
},
"effectiveDate": {
"type": "string",
"description": "Date that this status has started for the worker."
},
"order": {
"type": "integer",
"description": "Sort direction (asc or desc)"
},
"_links": {
"type": "object",
"description": "The links value"
}
}
},
"customEmploymentType": {
"type": "object",
"description": "The workers custom employment type",
"properties": {
"customEmploymentTypeId": {
"type": "string",
"description": "Unique ID for the custom employment type which the worker is assigned to. This data field cannot be PATCHED for IN_PROGRESS workers."
},
"customEmploymentTypeName": {
"type": "string",
"description": "The name of the custom employment type that the worker is assigned to."
}
}
},
"employeeId": {
"type": "string",
"description": "The workers employee identification information."
},
"employmentType": {
"type": "string",
"description": "The type of employment for the worker.",
"enum": [
"FULL_TIME",
"PART_TIME"
]
},
"ethnicityCode": {
"type": "string",
"description": "Disclaimer:This parameter is not visible in Flex for the client. This data field cannot be PATCHED for ACTIVE workers."
},
"exemptionType": {
"type": "string",
"description": "The Overtime classification of the worker. This data field cannot be PATCHED for ACTIVE workers.",
"enum": [
"EXEMPT",
"NON_EXEMPT"
]
},
"hireDate": {
"type": "string",
"description": "The date which the worker was hired. It cannot be PATCHED for ACTIVE workers."
},
"job": {
"type": "object",
"description": "The workers current job/position information.",
"properties": {
"jobTitleId": {
"type": "string",
"description": "Unique ID for that job within the company that the worker is assigned to."
},
"title": {
"type": "string",
"description": "The name of the title that the worker is assigned to."
}
}
},
"jobId": {
"type": "string",
"description": "The workers home job"
},
"laborAssignmentId": {
"type": "string",
"description": "The workers home labor assignment."
},
"legalId": {
"type": "object",
"description": "The workers legal tax identification information. This data field cannot be PATCHED for ACTIVE workers.",
"properties": {
"legalIdType": {
"type": "string",
"description": "A value that identifies the type of taxpayer identification number provided. SSN: Social Security Number - 9 digit number , FEIN: Federal Employer Identification Number (EIN)"
},
"legalIdValue": {
"type": "string",
"description": "The federal level taxpayer id number that the worker has provided"
}
}
},
"locationId": {
"type": "string",
"description": "The workers location."
},
"name": {
"type": "object",
"description": "Information about the workers name.",
"properties": {
"familyName": {
"type": "string",
"description": "The family or last name of a worker."
},
"middleName": {
"type": "string",
"description": "A subordinate given name, or initial representing that name, of a worker. <br />NOTE: Please send in just a single character initial for middleName. <br />If sending in more than one character the name will be truncated the first letter of the middleName. <br /> A full middle name can be entered directly in Paychex Flex only at this time."
},
"givenName": {
"type": "string",
"description": "The given or first name of a worker. For an independent contractor that is a company rather than an individual, the name of the company."
},
"preferredName": {
"type": "string",
"description": "The first name that the worker prefers to go by"
},
"preferredLastName": {
"type": "string",
"description": "The last name that the worker prefers to go by"
},
"pronoun": {
"type": "string",
"description": "The pronoun that the worker prefers to go by. This data field cannot be POSTED."
},
"qualificationAffixCode": {
"type": "string",
"description": "A qualifier to the name of a worker, indicating generation."
},
"titleAffixCode": {
"type": "string",
"description": "A personal title that comes before an individual's name in a formal address (such as Dr., Prof., Rev., Mr.)."
}
}
},
"organization": {
"type": "object",
"description": "The organization which the worker is part of.",
"properties": {
"organizationId": {
"type": "string",
"description": "The unique identifier associated with this organizations representation."
},
"name": {
"type": "string",
"description": "The name of the organization."
},
"number": {
"type": "string",
"description": "The number assigned to the organization."
},
"level": {
"type": "string",
"description": "The level number within the organizational structures hierarchy."
},
"_links": {
"type": "array",
"description": "The links value"
}
}
},
"profileImageURL": {
"type": "string",
"description": "The workers profile image url. This data field cannot be POSTED or PATCHED."
},
"seniorityDate": {
"type": "string",
"description": "The workers seniority date. This data field cannot be POSTED or PATCHED."
},
"sex": {
"type": "string",
"description": "The sex value",
"enum": [
"MALE",
"FEMALE",
"NOT_SPECIFIED"
]
},
"supervisor": {
"type": "object",
"description": "The workers supervisor information.Supervisor cannot be a TERMINATED or IN_PROGRESS worker. Assigned supervisors who are active employees within the company account will be returned. Supervisors that are users who are not workers will not be included in the response.",
"properties": {
"workerId": {
"type": "string",
"description": "The supervisor's Id"
},
"name": {
"type": "object",
"description": "Information about the workers name."
}
}
},
"workerCorrelationId": {
"type": "string",
"description": "Id that you define which is used for error handling/responses.This data field is used while POSTING multiple IN_PROGRESS workers"
},
"workerType": {
"type": "string",
"description": "The type of worker. This data field cannot be PATCHED.NOTE: An IN_PROGRESS worker cannot be POSTED with a value of CONTRACTOR.",
"enum": [
"EMPLOYEE",
"CONTRACTOR",
"INDEPENDENT_CONTRACTOR"
]
},
"workState": {
"type": "string",
"description": "The state(s) in which the worker works in."
}
},
"required": [
"PCID",
"workerId"
]
}