Retrieves details about one organization's workers.
Path Parameters
- Type: stringorganization
_code max length:10requiredThe identifier for the organization.
Query Parameters
- Type: integerFormat: int32Limit
The maximum number of records to return.
- Type: integerFormat: int32After
Records after this cursor will be returned.
Responses
- application/json
- application/json
- 401
Unauthorized
- application/json
- 429
Too many requests in past minute
- 500
Internal Server Error
Request Example for get/api/v1/Organizations/{organization_code} /workers
curl '/api/v1/Organizations/{organization_code}/workers' \
--header 'ApiKey: YOUR_SECRET_TOKEN'
{
"paging": {
"cursor": {
"after": null
},
"next": null
},
"data": [
{
"location_id": 1,
"location_number": null,
"organization_location_identifier": null,
"name": null,
"open_date": null,
"close_date": null,
"address": {
"street": "100 Main St",
"suite": "400 East",
"city": "Anytown",
"county": "YourCounty",
"state": "MN",
"zip": "01234",
"zip_plus_four": "5678"
},
"workers": [
{
"id": 123456,
"first_name": "John",
"last_name": "Doe",
"middle_initial": "H",
"phone": "9876543210",
"alternative_phone": "1234567890",
"email": "johnhdoe@example.com",
"last_update": "2017-02-02",
"hire_date": "2017-02-01",
"birth_date": "2000-02-01",
"term_code": "QUIT",
"term_date": "2017-02-01",
"home_location_id": null,
"gender": "Other",
"address": "2017-02-01",
"client_worker_identification": {
"company_code": "GR8",
"identifier": "TK-1138"
}
}
],
"tax_rates": [
{
"name": null,
"rate": 1,
"code": null,
"type": "None"
}
]
}
],
"data_type": null,
"available_requests": 1
}