API reference
All operations
COMPANY

Retrieves the list of ranks associated with the specified company.

GET/api/v2/companies/{companyId}/ranks

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

companyIdpathinteger · int32required

The unique identifier of the company for which to retrieve ranks. Must be greater than zero.

Responses

OK

Standard response envelopeisSuccessmessageerrorsdata

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

dataCompanyRankDTO[]

An array. Each item is a CompanyRankDTO:

  • rolestring
  • rankstring
  • roleIDinteger · int32
  • rankIDinteger · int32
  • editableboolean