services/persons/{uid}/services/{svcid} (PUT)
To update an existing service of a person/user.
Note that person-level services are only supported for inhouse users and client users. The latter allow to assign work to users at the client.
URL
(PUT) /api/services/persons/{uid}/services/{svcid}
PARAMETERS
URL parameters are:
uid | The ID of a user/person. This must be an inhouse user or a user attached to a client. | Integer, Mandatory |
svcid | The service ID | Integer, Mandatory |
The body must include a JSON object.
The properties are the same as with services/persons/{uid}/services/new (POST) with these exceptions:
- src, trg: The languages of an existing service cannot be updated. These properties are disregarded.
- task: The task code of an existing service cannot be updated. These properties are disregarded.
Note: All service properties will be updated (unless otherwise described).
If you do not set a property, the indicated default value will be set. It is best to first fetch the existing service, then change the properties you intend to change and then submit all properties with this method.
RESULTS
The method returns the updated service.
The properties are the same as described here: services/persons/{uid}/services/{svcid} (PUT)
ACCESS RIGHTS
See Services.