employments retrieve
GET {{baseUrl}}/employments/:id
Returns an Employment
object with the given id
.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
expand | string | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | |
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. | |
remote_fields | string | Which fields should be returned in non-normalized form. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
RESPONSES
status: OK
{"id":"65d8ffd0-211b-4ba4-b85a-fbe2ce220982","remote_id":"19202938","employee":"0958cbc6-6040-430a-848e-aafacbadf4ae","job_title":"Executive Assistant to Tom Wambsgans","pay_rate":19160323.136586577,"pay_period":"WEEK","pay_frequency":"PRO_RATA","pay_currency":"IDR","pay_group":"d4e4837f-9900-484c-ac40-528365bb08ef","flsa_status":"SALARIED_NONEXEMPT","effective_date":"2023-10-06T18:42:34Z","employment_type":"CONTRACTOR","remote_data":[{"path":"fugiat quis minim","data":{"eu5":{},"eiusmod__":{},"dolore_39":{},"infd9":{}}},{"path":"sunt","data":{"amet1b":{}}}],"remote_was_deleted":true}