List company associations
Changed onRetrieves all customer company associations. This request requires either the Reseller company ID or the Customer company ID, which you can retrieve with the List companies request.
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Reseller company ID. This field is required if you do not include the Customer company ID
Customer company ID. This field is required if you do not include the Reseller company ID
Search term used to search on different fields of the customer company association.
Date filter, defined by upper or lower inclusive or exclusive limits, in Unix timestamp format. Acceptable values are: gte([timestamp]) - 'greater than or equal to'; or lte([timestamp]) - 'less than or equal to'
Sort field and order. For ascending sort order, use the '+[FieldName]' format. For descending order, use the '-[FieldName]' format.
Page number
Number of results per page
Response
Success
Example response
{
"page": {
"number": 12345,
"size": 12345,
"totalElements": 12345,
"totalPages": 12345
},
"content": [
{
"resellerCompany": {
"id": "698555fc-bc65-4163-9fee-16308edec41b",
"name": "Company A"
},
"customerCompany": {
"id": "698555fc-bc65-4163-9fee-16308edec41b",
"name": "Company A"
}
}
]
}Changes
- breaking
the response's body type changed from no type to
objectfor status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking