The following requests allow the consuming application to retrieve a list of XRefCodes for HR Admin sub-features:
| Request | HR Admin Sub-Feature |
|---|---|
|
|
Contact Information Types |
GET EmploymentStatuses XRefCodes
|
Status |
GET EmploymentStatusReasons XRefCodes
|
Employment Status Reason |
GET PayClass XRefCodes
|
Pay Class |
GET PayTypes XRefCodes
|
Pay Type |
These requests only return a list of XRefCodes. This is the first step in a two-step process that includes a request for records by XRefCodes. See RESTful Get HR Admin Details.
Overview
A base URL like the following is used to retrieve a list of XRefCodes for sub-features of HR Admin (in this example, the base URL is for contact information types):
https://www.dayforcehcm.com/api/[CompanyName]/V1/ContactInformationTypes
In this example, the query returns a list of XRefCodes for all of the contact information types configured in your organization. You can use these XRefCodes to retrieve more information about the contact information types using the Get ContactInformationTypes by XRefCode request. See RESTful Get HR Admin Details.
Response
This call returns a list of XRefCodes for the specific HR Admin records. It is returned in a JSON format.
Available Data
Zero, one, or many XRefCodes. The request doesn't return any records that don’t have XRefCodes.
Security and Data Returned
No additional access control is applied to the results of this web services call.