# Employment agency

SETU-standard endpoints for staffing companies (employment
agencies) integrating with Dyflexis. Implements the Dutch SETU
XML standard for Human Resource, Assignment, and Time Card
messages. All endpoints accept and return `application/xml`
and require the `setu` token scope.

These endpoints are versioned and hosted under
`/api/setu/{version}/...`.


## Submit a human resource

 - [POST /api/setu/1.4.1/humanResource](https://beta-developer.dyflexis.com/openapi/employment-agency/submithumanresource.md): Requires scope: setu.

The main element of the message, this container holds all elements needed
to define a human resource (the person being staffed) in the SETU
standard. SETU is the Dutch staffing industry's XML interchange standard.

## Submit an assignment

 - [POST /api/setu/1.4.1/assignment](https://beta-developer.dyflexis.com/openapi/employment-agency/submitassignment.md): Requires scope: setu.

The main element of the message, this container holds all elements needed
to define an assignment (a human resource placed at a staffing customer) in
the SETU standard.

## Time card event

 - [POST timeCard](https://beta-developer.dyflexis.com/openapi/employment-agency/timecardevent.md): > Webhook, Dyflexis sends this POST request to a URL you host. See the Webhooks guide for how to register your receiver and what it must return.

The main element of the message, this container holds all elements
needed to define a time card (the reported hours, allowances and
expenses of a human resource for a period).

The webhook can't be registered with this API. Please register
this webhook in Dyflexis.

