API reference
All operations
COMPANY

Gets a company's national accounts

Sorted by name. An assignment whose national account no longer exists has an empty name.

GET/api/v2/companies/{companyId}/national-accounts

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

companyIdpathinteger · int32required

The ID of the company. Must be greater than zero.

Responses

National accounts retrieved.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

dataNationalAccountDto[]

An array. Each item is a NationalAccountDto:

  • accountIdinteger · int32
  • nationalAccountstring