Service
https://api.timewax.com/resource/organisationalunit/add/
Goal
Adding an organisatinal unit to a resource
Request
The following xml structure must be provided:
<request>
<token></token>
<resource></resource>
<item>
<organisationalUnit></organisationalUnit>
<date></date>
</item>
</request>
Fore nameInfixPrivate telephonePrivate mobileEnd date for the resource. Format yyyymmddEmployee NumberNumber of holiday hours previous yearYes or noYes or noDefault start time. Format hh:mmDefault start time. Format hh:mm
Parameter | Description | Required |
---|---|---|
token | Token for this request | Yes |
resource | The resource code, name or email | yes |
item/organisationalUnit | Code or name | Yes |
item/date | Start date, Format: yyyymmdd | Yes |
The following xml structure is received after an successful execution:
Parameter | Description |
---|---|
valid | Indication that service was executed successfully |
The following xml structure is received after an incorrect execution:
<response>
<valid>no</valid>
<errors>no</errors>
</response>
Parameter | Description |
---|---|
valid | Indication that service was not executed successfully |
error | Reason why the service has executed unsuccessfully |
Opmerkingen