The following is an example of what is generated from the preceding example query - this message also shows a deserialization error:
{
"requestId":"f2645d08-358f-4ebd-839d-66537061f3f7",
"processResults":[
{
"code":"SYS_DESERIALIZATION_ERROR",
"context":"employee.BirthDate",
"level":"ERROR",
"message":"Could not convert string to DateTime: 1980-02-30. Path 'BirthDate', line 2, position 26."
}
]
}
The values in the response have the following meaning or purpose:
requestId: This is a unique ID that can be provided to Dayforce Support if additional assistance is needed to troubleshoot why the request isn’t valid.processResults: A collection of messages having the following properties:code: A code value representing the specific message.context: Indicates the specific property in the request to which the message pertains. If this represents an item in a collection, it uses the following format:employee.collection[n].propertylevel: Indicates the level of the message: information, warning, or error.message: The actual message text in human readable format.
The following example contains information about business validation rules failing:
{
"requestId":"02119c5d-6618-4144-9646-ac4a4493e808",
"processResults":[
{
"Code":"HR_Employee_EmployeeDataSaveFailure",
"Context":"Employee",
"Level":"ERROR",
"Message":"Failed to Save Employee Data"
},
{
"Code":"HR_Employee_SocialSecurityNumberDuplicate",
"Context":"Employee.SocialSecurityNumber",
"Level":"ERROR",
"Message":"Provided Social Security Number already exists"
}
]
}