openapi: 3.2.0 info: title: Kelowna Production myCC - ProgessBanner API version: v1 tags: - name: myCC - ProgessBanner paths: /Accounts/{accountId}/ProgressWidget: get: tags: - myCC - ProgessBanner parameters: - name: accountId in: path required: true schema: type: integer format: int32 - name: progressWidget in: query schema: $ref: '#/components/schemas/ProgressWidgetType' - name: timeframe in: query schema: $ref: '#/components/schemas/ProgressWidgetTimeframe' - name: units in: query schema: $ref: '#/components/schemas/ProgressWidgetUnits' - name: environmentEquivalence in: query schema: $ref: '#/components/schemas/ProgressWidgetEnvironmentEquivalence' - name: production in: query schema: $ref: '#/components/schemas/ProgressWidgetProduction' - name: language in: query schema: $ref: '#/components/schemas/LocalizationLanguage' responses: '200': description: OK security: - {} - MyCCAuth: - applicationId - roles - {} summary: Get accounts by account id progress widget x-summary-source: derived operationId: getAccountsByAccountIdProgressWidget x-operation-id-source: derived components: schemas: ProgressWidgetUnits: enum: - Metric - Imperial type: string LocalizationLanguage: enum: - En - Es type: string ProgressWidgetType: enum: - EmbeddedTicker - SocialPost type: string ProgressWidgetEnvironmentEquivalence: enum: - Cars - Forestland - Electricity type: string ProgressWidgetTimeframe: enum: - AllTime - Year type: string ProgressWidgetProduction: enum: - Truckloads - Volume type: string 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: {}