openapi: 3.2.0 info: title: Kelowna Production TSS - Cement Plants API version: v1 tags: - name: TSS - Cement Plants paths: /TSS/CementPlants: get: tags: - TSS - Cement Plants summary: Gets a list of cement plants responses: '200': description: OK content: text/plain: schema: type: array items: $ref: '#/components/schemas/CementPlant' application/json: schema: type: array items: $ref: '#/components/schemas/CementPlant' text/json: schema: type: array items: $ref: '#/components/schemas/CementPlant' security: - OrcaAuth: - applicationId - roles - {} - {} operationId: getTSSCementPlants x-operation-id-source: derived /TSS/CementPlants/Names: get: tags: - TSS - Cement Plants summary: The name and id of every cement plant, for use in a dropdown responses: '200': description: OK security: - OrcaAuth: - applicationId - roles - {} - {} operationId: getTSSCementPlantsNames x-operation-id-source: derived components: schemas: CementPlant: required: - city - country type: object properties: cementPlantId: type: integer format: int32 groupName: type: - string - 'null' companyName: type: - string - 'null' plantName: type: - string - 'null' address: type: - string - 'null' city: minLength: 1 type: string state: type: - string - 'null' country: minLength: 1 type: string longitude: type: number format: double readOnly: true latitude: type: number format: double readOnly: true additionalProperties: false securitySchemes: OrcaAuth: type: oauth2 flows: authorizationCode: authorizationUrl: https://auth.carboncure.com/oauth2/authorize tokenUrl: https://auth.carboncure.com/oauth2/token scopes: {} MyCCAuth: type: oauth2 flows: authorizationCode: authorizationUrl: https://auth.carboncure.com/oauth2/authorize tokenUrl: https://auth.carboncure.com/oauth2/token scopes: {} M2MAuth: type: oauth2 flows: authorizationCode: authorizationUrl: https://auth.carboncure.com/oauth2/authorize tokenUrl: https://auth.carboncure.com/oauth2/token scopes: {}