Single Service Usage Summary for a date range

post

https://server:port/spl/rest/apis/customer/usage/usageData/singleServiceSummary

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
  • The business date that was used when the bill was generated.
  • Flag to indicate whether drill down to more granular usage values such as daily or hourly values are available. Drill Down Available is true only when SA type's Special Role Flag is 'BD' otherwise, false.
    Example: true
  • The end date for the service agreement.
    Example: 2022-12-20
  • Indicates if the unit of measure is one that measures peak consumption. A value of true indicates peak consumption measurement.
    Example: false
  • Maximum Length: 10
    The bill segment's service agreement unique identifier.
  • The start date for the service agreement.
    Example: 2022-12-20
  • Allowed Values: [ "C1BP", "C1HR", "C1WK", "C1YR" ]
    The time scale definition defines the length of time covered by each usage group - ranging from the usage from a bill period down to hourly usage values. * `C1BP` - Bill Period View, * `C1HR` - Hourly View, * `C1WK` - Week View, * `C1YR` - Year View
    Example: C1BP
  • Maximum Length: 30
    The unit of measure of the bill segments' service quantity.
    Example: KWH
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • The business date that was used when the bill was generated.
  • Flag to indicate whether drill down to more granular usage values such as daily or hourly values are available. Drill Down Available is true only when SA type's Special Role Flag is 'BD' otherwise, false.
    Example: true
  • The end date for the service agreement.
    Example: 2022-12-20
  • Indicates if the unit of measure is one that measures peak consumption. A value of true indicates peak consumption measurement.
    Example: false
  • Maximum Length: 10
    The bill segment's service agreement unique identifier.
  • The start date for the service agreement.
    Example: 2022-12-20
  • Allowed Values: [ "C1BP", "C1HR", "C1WK", "C1YR" ]
    The time scale definition defines the length of time covered by each usage group - ranging from the usage from a bill period down to hourly usage values. * `C1BP` - Bill Period View, * `C1HR` - Hourly View, * `C1WK` - Week View, * `C1YR` - Year View
    Example: C1BP
  • Maximum Length: 30
    The unit of measure of the bill segments' service quantity.
    Example: KWH
Back to Top

Response

Supported Media Types

200 Response

Success response
Body ()
Root Schema : C1GetBiUsg
Type: object
Show Source
  • Flag to indicate whether drill down to more granular usage values such as daily or hourly values are available. Drill Down Available is true only when SA type's Special Role Flag is 'BD' otherwise, false.
    Example: true
  • Indicates if the unit of measure is one that measures peak consumption. A value of true indicates peak consumption measurement.
    Example: false
  • Maximum Length: 10
    The bill segment's service agreement unique identifier.
  • Maximum Length: 50
    The Olson timezone name as defined in the Utility's installation setting that indicates when the usage occurred.
  • Maximum Length: 30
    The unit of measure of the bill segments' service quantity.
    Example: KWH
  • usageDetails
Nested Schema : usageDetails
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : usagePeriod
Type: object
Show Source
Nested Schema : usage
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • Maximum Length: 30
    Service quantity identifiers provide additional classification of values when a combination of unit of measure and time of use is inadequate to uniquely classify the value. For example, the service quantity identifiers Consumed and Generated can distinguish between KWH Off-Peak Consumed and KWH Off-Peak Generated.
    Example: DAMT (Daily Amount)
  • Maximum Length: 30
    The time-of-use classification of the bill segment's service quantity.
    Example: OFF
  • Maximum Length: 100
    An identifier for the bill segment usage, provided in the format of KWH--(Unit of Measure-Time of Use-Service Quantity Identifier), with blank values represented with the dash character '-'.
    Example: KWH--(UOM-TOU-SQI)
  • Minimum Value: 0
    Maximum Value: 9999.999999
    The total usage value. Refer to the defined unit of measure for complete context of this value.
    Example: 31743.8

400 Response

Bad Request
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • Maximum Length: 60
    Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction.
  • Maximum Length: 60
    URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework.
  • serverMessage
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.

500 Response

Internal Server Error
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • Maximum Length: 60
    Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction.
  • Maximum Length: 60
    URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework.
  • serverMessage
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.
Back to Top