Allows you to retrieve employees used in Xero payrun
GET {{baseUrl}}/Employees?where=<string>&order=<string>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
where | string | Filter by an any element | |
order | string | Order by an any element |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
If-Modified-Since | string | Only records created or modified since this timestamp will be returned | |
xero-tenant-id | string | (Required) Xero identifier for Tenant |
RESPONSES
status: OK
{"Id":"593cbccc-5cd2-4cd2-be5e-150f0843709e","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1552325082775)/","Employees":[{"EmployeeID":"972615c5-ad3d-47a0-b579-20370d374578","Status":"ACTIVE","FirstName":"Tony","LastName":"Stark","ExternalLink":{"Url":"http://twitter.com/#!/search/Stark+Industries","Description":"Go to external link"},"UpdatedDateUTC":"/Date(1552324681593+0000)/"},{"EmployeeID":"ad3db144-6362-459c-8c36-5d31d196e629","Status":"ACTIVE","FirstName":"Bruce","LastName":"Banner","ExternalLink":{"Url":"http://twitter.com/#!/search/Nick+Fury","Description":"Go to external link"},"UpdatedDateUTC":"/Date(1552325081303+0000)/"},{"EmployeeID":"e1ada26b-a10e-4065-a941-af34b53740e3","Status":"ACTIVE","FirstName":"Nick","LastName":"Fury","ExternalLink":{"Url":"http://twitter.com/#!/search/Nick+Fury","Description":"Go to external link"},"UpdatedDateUTC":"/Date(1552324737990+0000)/"}]}