companies/{cid}/domains
Gets all translation domains assigned to a company. This is commonly used with supplier companies to track which type of content the supplier can provide. For example: Marketing content, Technical content, Legal content etc.
The list of domains can be freely customized by the platform administrator:Â Translation DomainsÂ
To obtain the list of all domains by API:Â settings/domains/codes
URL
(GET) /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 |
RESULTS
The result is a JSON array. Each element has these properties:
id | The numeric unique ID of the domain | int |
name | The title of the domain | string |
Domains are optional and companies may have no domains assigned. In this case an empty JSON array is returned.
EXAMPLES
A list may look like:
[ { "id": 6781, "name": "Finance and economy/Accounting" }, { "id": 6789, "name": "Finance and economy/Insurance" }, { "id": 6795, "name": "Legal/General law" } ]
Copyright Wordbee - Buzzin' Outside the Box since 2008