If an ID is passed, the existing employee will be updated, otherwise a new employee will be created.
NOTE: the MatchType parameter currently has no effect
An employee may be created with a status of 'Incomplete' by specifying at least the minimum fields; firstName, surname, startDate, employmentType, address details, gender, legalStatus, nationality, coveredByEmploymentAct. For an employee record to be considered 'Complete' the following groups of data are required:
If reporting dimensions are enabled for the business, add primary reporting dimension values using "|" as a separator between values.
POST http:///api/v2/business/{businessId}/employee/unstructured
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| businessId | string | Required |
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| model | |||
| matchType | string |
Possible values are:
|
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 200 | OK OK |
MyUnstructuredEmployeeModel |
| 201 | Created Created |
MyUnstructuredEmployeeModel |
| 400 | Bad Request Bad Request |
ProblemDetails |
Powered by DapperDox