Accounting
Creates new employees used in Xero payrun
put/Employees
Query parameters
summarizeErrorsboolean
If false return 200 OK and mix of successfully created objects and any with validation errors
Headers
Idempotency-Keystring
This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
Request body
Example request
{
"Employees": [
{
"UpdatedDateUTC": "/Date(1573755038314)/",
"StatusAttributeString": "ERROR"
}
]
}Response
Success - return response of type Employees array with new Employee
Example response
{
"Employees": [
{
"UpdatedDateUTC": "/Date(1573755038314)/",
"StatusAttributeString": "ERROR"
}
]
}