Search the list of companies that work with
Company User Master Data Api (1.0)
https://ws-cumd.traceone.com/api/companies/{id}/relations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://ws-cumd.traceone.com/api/companies/{id}/relations?AssociatedCompanyId=497f6eca-6276-4993-bfeb-53cbbbba6f08&ExternalIdentifier=string&OnlyWithoutContacts=true&ContactUserId=497f6eca-6276-4993-bfeb-53cbbbba6f08&ContactResponsibilityId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response
application/json
{ "externalIdentifier": "string", "externalName": "string", "contacts": [ { … } ], "comments": [ { … } ], "retailerCustomizedAttributes": [ { … } ], "categories": [ { … } ], "companyActivities": [ 0 ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ownerCompanyId": "10e96248-c873-4e93-b748-bc36e39510eb", "associatedWithCompanyId": "24ad6f53-4a40-49f3-9626-b81d67d22a4c", "createdAt": "2019-08-24T14:15:22Z", "modifiedAt": "2019-08-24T14:15:22Z", "enabled": true }
https://ws-cumd.traceone.com/api/v1.0/companies/{id}/relations/associatedCompanies/{associatedCompanyId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://ws-cumd.traceone.com/api/v1.0/companies/{id}/relations/associatedCompanies/{associatedCompanyId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"patchOperations": [
{
"op": "string",
"value": {},
"path": "string"
}
]
}'