openapi: 3.2.0 info: version: v1 title: DCX GBC API V2 Interval Block API description: 'The Green Button Connect API provides an access to RESTful services provided by ConEdison and Third Party Applications. These APIs allow application developers full access, in Green Button Format, to Energy Usage Information for the purpose of developing new Green Button Applications.Access to Green Button APIs requires an OAuth2 Access Token. Insert Access Tokens in the field labelled ''Access Token: '' at the top of the page prior to selecting the ''Try It Out!'' button:' servers: - url: https://provided-by-coned/gbc/espi/1_1 tags: - name: IntervalBlock paths: /resource/Subscription/{subscriptionId}/UsagePoint/{usagePointId}/MeterReading/{meterReadingId}/IntervalBlock: get: tags: - IntervalBlock operationId: getAllIntervalBlocksForUsagePointMeterReadingInSubscription parameters: - name: subscriptionId in: path required: true schema: type: string - name: usagePointId in: path required: true schema: type: string - name: meterReadingId in: path required: true schema: type: string - name: published-min in: query required: false schema: type: string format: date-time - name: published-max in: query required: false schema: type: string format: date-time - name: startIndex in: query required: false schema: type: integer format: int32 responses: '200': description: OK '400': description: BadRequest '401': description: Unauthorized servers: - url: https://provided-by-coned/gbc/espi/1_1 ? /resource/Subscription/{subscriptionId}/UsagePoint/{usagePointId}/MeterReading/{meterReadingId}/IntervalBlock/{intervalBlockId} : get: tags: - IntervalBlock operationId: getIntervalBlocksForUsagePointMeterReadingInSubscription parameters: - name: subscriptionId in: path required: true schema: type: string - name: usagePointId in: path required: true schema: type: string - name: meterReadingId in: path required: true schema: type: string - name: intervalBlockId in: path required: true schema: type: string - name: published-min in: query required: false schema: type: string format: date-time - name: published-max in: query required: false schema: type: string format: date-time - name: startIndex in: query required: false schema: type: integer format: int32 responses: '200': description: OK '400': description: BadRequest '401': description: Unauthorized servers: - url: https://provided-by-coned/gbc/espi/1_1