Get list of association for a company
API to get list of association for a company
Path Parameters
- companyId int32 required
Id of the Company whose associations have to be fetched
Responses
- 200
- 400
- 404
- 503
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
associatedEntities object[]
{
"associatedEntities": [
{
"id": 0,
"name": "string"
}
]
}
{
"associatedEntities": [
{
"name": "client1",
"id": 31
},
{
"name": "client2",
"id": 443
}
]
}
Bad Request
Requested Details not found
Service unavailable
GET /v4/company/:companyid/associations
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V4/Company/:companyId/associations' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Company/:companyId/associations' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Company/:companyId/associations' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Company/:companyId/associations' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Company/:companyId/associations' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Company/:companyId/associations' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Company/:companyId/associations' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'