This GET operation returns the details of a specific labor metric type based on the XRefCode you enter. The operation uses the following URL:
https://www.dayforcehcm.com/api/CompanyName/V1/LaborMetricTypes/xRefCode
Parameters
Consumers can retrieve labor metrics data by using the following parameter:
XRefCode (string)
The unique identifier (external reference code) of the labor metric type that will be retrieved. The value provided must be an exact match, otherwise a bad request (400) error will be returned. This setting is required.
Response
The response from this request will contain data from the referenced XRefCode. Here is an example response:
{
"Data": {
"Name": "string",
"Description": "string",
"ClockTransferCode": "string",
"LaborMetricTypeXRefCode": "string"
},
"ProcessResults": [
{
"Code": "string",
"Context": "string",
"Level": "string",
"Message": "string"
}
]
}