/
companies/{cid}/domains (PUT)

companies/{cid}/domains (PUT)

Assigns translation domains to a company.

To obtain the list of all domains by API: settings/domains/codes

URL

(PUT) /api/companies/{cid}/domains

PARAMETERS

The URL parameters are:

cid

The company ID. This can be a client, a supplier or the master company ("My company")

int, Mandatory

The body must contain a JSON array with the numeric IDs of translation domains.

Examples:

Payload to assign 3 domains to the company:

[ 600, 56, 423 ]

Payload to remove all domains from the company:

[ ]

The above removal can also be achieved with method companies/{cid}/domains (DELETE)

RESULTS

The result is a JSON array with the company domains. The result is the same as with this API method: companies/{cid}/domains



Related content

persons/{uid}/domains (PUT)
persons/{uid}/domains (PUT)
More like this
companies/{cid}/domains (DELETE)
companies/{cid}/domains (DELETE)
More like this
companies/{cid}/domains
companies/{cid}/domains
More like this
persons/{uid}/domains (DELETE)
persons/{uid}/domains (DELETE)
More like this
persons/{uid}/domains
persons/{uid}/domains
More like this
Translation domains
Translation domains
More like this

Copyright Wordbee - Buzzin' Outside the Box since 2008