openapi: 3.2.0 info: title: BMS API 2.0 Account Codes API description: Documentation of APIs Version 2.0 version: '2.0' servers: - url: https://api.bms.kaseya.com security: - bearerAuth: [] tags: - name: AccountCodes paths: /v2/admin/finance/accountcodes/lookup: get: tags: - AccountCodes operationId: GetAccountCodesLookup parameters: - name: Filter.Name in: query schema: type: string - name: Sort in: query schema: type: string - name: Exclude in: query schema: type: string - name: PageSize in: query schema: type: integer format: int32 - name: PageNumber in: query schema: type: integer format: int32 responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/AccountCodeLookupOutputDtoIEnumerableResponse' application/json: schema: $ref: '#/components/schemas/AccountCodeLookupOutputDtoIEnumerableResponse' text/json: schema: $ref: '#/components/schemas/AccountCodeLookupOutputDtoIEnumerableResponse' components: schemas: ErrorInfo: type: object properties: Code: type: integer format: int32 Message: type: - string - 'null' Details: type: - string - 'null' StackStrace: type: - string - 'null' SubErrors: type: - array - 'null' items: type: string additionalProperties: false AccountCodeLookupOutputDto: type: object properties: Id: type: integer format: int32 Name: type: - string - 'null' IsActive: type: boolean additionalProperties: false AccountCodeLookupOutputDtoIEnumerableResponse: type: object properties: Success: type: boolean readOnly: true Error: $ref: '#/components/schemas/ErrorInfo' Result: type: - array - 'null' items: $ref: '#/components/schemas/AccountCodeLookupOutputDto' additionalProperties: false securitySchemes: bearerAuth: type: http description: JWT Authorization header using the Bearer scheme. scheme: bearer bearerFormat: JWT