Assigns translation domains to a company.
To obtain the list of all domains by API: settings/domains/codes
URL
(PUT) /api/companiespersons/{ciduid}/domains
PARAMETERS
The URL parameters are:
ciduid | The company person ID. This can be a client, a supplier or the master company ("My company"an internal or internal person (user) | int, Mandatory |
The body must contain a JSON array with the numeric IDs of translation domains.
...
Payload to assign 3 domains to the companya person:
Code Block |
---|
[ 600, 56, 423 ] |
Payload to remove all domains from the companya person:
Code Block |
---|
[ ] |
The above removal can also be achieved with method persons/{uid}/domains (DELETE)
RESULTS
The result is a JSON array with the company person domains. The result is the same as with this API method: personiespersons/{ciduid}/domains