openapi: 3.2.0 info: title: Venminder OpenApi Business Unit API version: v1 security: - Bearer: [] tags: - name: Business Unit paths: /api/v1/BusinessUnitInformation/GetBusinessUnits: get: tags: - Business Unit summary: Provides a list of business unit related informtion description: Provides a list of business units with their assigned products and users as well as a list of unassigned products and users. responses: '200': description: Returns list of Business Units and unassigned products and unassigned users content: application/json: schema: $ref: '#/components/schemas/OpenApi.v1.BusinessUnitInformation' application/xml: schema: $ref: '#/components/schemas/OpenApi.v1.BusinessUnitInformation' '403': description: Forbidden content: application/json: schema: $ref: '#/components/schemas/OpenApi.v1.ErrorResponse' application/xml: schema: $ref: '#/components/schemas/OpenApi.v1.ErrorResponse' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/OpenApi.v1.ErrorResponse' application/xml: schema: $ref: '#/components/schemas/OpenApi.v1.ErrorResponse' operationId: getApiV1BusinessUnitInformationGetBusinessUnits x-operation-id-source: derived components: schemas: OpenApi.v1.ErrorResponse: title: OpenApi.v1.ErrorResponse type: object properties: statusCode: type: integer format: int32 errors: type: - array - 'null' items: $ref: '#/components/schemas/OpenApi.v1.ErrorResource' additionalProperties: false xml: name: ErrorResponse OpenApi.v1.ErrorResource: title: OpenApi.v1.ErrorResource type: object properties: resourceKey: type: - string - 'null' resourceValue: type: - string - 'null' field: type: - string - 'null' additionalProperties: false xml: name: ErrorResource OpenApi.v1.BusinessUnitInfo: title: OpenApi.v1.BusinessUnitInfo type: object properties: key: type: - string - 'null' name: type: - string - 'null' products: type: - array - 'null' items: type: string users: type: - array - 'null' items: type: string additionalProperties: false xml: name: BusinessUnitInfo OpenApi.v1.BusinessUnitInformation: title: OpenApi.v1.BusinessUnitInformation type: object properties: businessUnits: type: - array - 'null' items: $ref: '#/components/schemas/OpenApi.v1.BusinessUnitInfo' unassignedProducts: type: - array - 'null' items: type: string unassignedUsers: type: - array - 'null' items: type: string additionalProperties: false xml: name: BusinessUnitInformation securitySchemes: Bearer: type: apiKey description: Please insert access token with Bearer into field eg. Bearer eyJhbGciOiJSUzI1Ni and click authorize. name: Authorization in: header