employments list

GET {{baseUrl}}/employments

Returns a list of Employment objects.

Request Params

KeyDatatypeRequiredDescription
created_afterstringIf provided, will only return objects created after this datetime.
created_beforestringIf provided, will only return objects created before this datetime.
cursorstringThe pagination cursor value.
employee_idstringIf provided, will only return employments for this employee.
expandstringWhich relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
include_deleted_databooleanWhether to include data that was marked as deleted by third party webhooks.
include_remote_databooleanWhether to include the original data Merge fetched from the third-party to produce these models.
modified_afterstringIf provided, will only return objects modified after this datetime.
modified_beforestringIf provided, will only return objects modified before this datetime.
order_bystringOverrides the default ordering for this endpoint.
page_sizenumberNumber of results to return per page.
remote_fieldsstringWhich fields should be returned in non-normalized form.
remote_idstringThe API provider's ID for the given object.

HEADERS

KeyDatatypeRequiredDescription
X-Account-Tokenstring(Required) Token identifying the end user.
Acceptstring

RESPONSES

status: OK

{"next":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw","previous":"cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ","results":[{"id":"65d8ffd0-211b-4ba4-b85a-fbe2ce220982","remote_id":"19202938","employee":"0958cbc6-6040-430a-848e-aafacbadf4ae","job_title":"Executive Assistant to Tom Wambsgans","pay_rate":-57796706.7083017,"pay_period":"MONTH","pay_frequency":"WEEKLY","pay_currency":"GQE","pay_group":"d4e4837f-9900-484c-ac40-528365bb08ef","flsa_status":"OWNER","effective_date":"2023-10-06T18:42:34Z","employment_type":"FREELANCE","remote_data":[{"path":"anim sunt eiusmod dolore","data":{"esse236":{},"aute_1":{}}},{"path":"consectetur laborum irure elit","data":{"fugiat0":{},"cupidatat3c":{}}}],"remote_was_deleted":true},{"id":"65d8ffd0-211b-4ba4-b85a-fbe2ce220982","remote_id":"19202938","employee":"0958cbc6-6040-430a-848e-aafacbadf4ae","job_title":"Executive Assistant to Tom Wambsgans","pay_rate":-15982703.932577774,"pay_period":"QUARTER","pay_frequency":"PRO_RATA","pay_currency":"DKK","pay_group":"d4e4837f-9900-484c-ac40-528365bb08ef","flsa_status":"NONEXEMPT","effective_date":"2023-10-06T18:42:34Z","employment_type":"FREELANCE","remote_data":[{"path":"et enim Excepteur in","data":{"incididunt_b":{},"ad99f":{}}},{"path":"esse aliqua ex reprehenderit","data":{"quiea9":{}}}],"remote_was_deleted":false}]}