ReferenceCompanies
List a company's representatives
Returns the sales representatives assigned to this company. Requires `Permissions.Companies.View`.
GET
Bearerheader
AuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
companyId*integerFormat
int32application/json- response
[index: integer]?curl -X GET 'https://<your-instance>/api/companies/0/representatives' \ -H 'Authorization: Bearer <access-token>'[ { "address1": "string", "address2": "string", "city": "string", "companyId": 0, "country": "string", "dateOfBirth": "2019-08-24T14:15:22Z", "dateOfNameDay": "2019-08-24T14:15:22Z", "email": "string", "eshopRepresentativeId": "string", "fax": "string", "functionId": 0, "id": 0, "isInformEnabled": true, "mobilePhone": "string", "name": "string", "note": "string", "phone": "string", "surname": "string", "title": "string", "zipCode": "string" }]List a company's documents GET
Returns the documents raised for this company across all document types, optionally narrowed to the window between `dateFrom` and `dateTo`. Requires `Permissions.Companies.View`.
Create a company representative POST
Assigns a representative to the company and returns the stored row. Requires `Permissions.Companies.Create`.