Retrieve SP Usage
post
/rest/apis/customer/v-model/servicePointsCommon/servicePointUsage
Request
There are no request parameters for this operation.
Supported Media Types
- application/xml
- application/json
Root Schema : schema
Type:
Show Source
object
-
endDate: string
(date)
Optional end date for requesting the service point usage data.Example:
2024-02-20
-
httpMethod: string
Allowed Values:
[ "DELT", "GET ", "POST", "PTCH", "PUT " ]
HTTP Method: * `DELT` - Delete, * `GET ` - Get, * `POST` - Post, * `PTCH` - Patch, * `PUT ` - Put -
spId: string
Maximum Length:
10
Service Point ID -
startDate: string
(date)
Optional start date for requesting the service point usage data.Example:
2023-01-10
-
timeScale: string
Allowed Values:
[ "C1YR", "X1DY", "X1MO" ]
Time scale of usage data to that can be for a Year (monthly data), Month (daily data), or Day (hourly data). * `C1YR` - View Year, * `X1DY` - View Day, * `X1MO` - View MonthExample:C1MO
-
unitOfMeasure: string
Maximum Length:
30
The input unit of measure of the usage data requested.
Root Schema : schema
Type:
Show Source
object
-
endDate: string
(date)
Optional end date for requesting the service point usage data.Example:
2024-02-20
-
httpMethod: string
Allowed Values:
[ "DELT", "GET ", "POST", "PTCH", "PUT " ]
HTTP Method: * `DELT` - Delete, * `GET ` - Get, * `POST` - Post, * `PTCH` - Patch, * `PUT ` - Put -
spId: string
Maximum Length:
10
Service Point ID -
startDate: string
(date)
Optional start date for requesting the service point usage data.Example:
2023-01-10
-
timeScale: string
Allowed Values:
[ "C1YR", "X1DY", "X1MO" ]
Time scale of usage data to that can be for a Year (monthly data), Month (daily data), or Day (hourly data). * `C1YR` - View Year, * `X1DY` - View Day, * `X1MO` - View MonthExample:C1MO
-
unitOfMeasure: string
Maximum Length:
30
The input unit of measure of the usage data requested.
Response
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Root Schema : C1RetSPUsage
Type:
Show Source
object
-
endDate: string
(date)
Optional end date for requesting the service point usage data.Example:
2024-02-20
-
peakIndicator: boolean
Indicates if the requested unit of measure is one that measures peak consumption. A value of true indicates peak consumption measurement.
-
resultMessage: string
Maximum Length:
400
Error Message -
spId: string
Maximum Length:
10
Service Point ID -
startDate: string
(date)
Optional start date for requesting the service point usage data.Example:
2023-01-10
-
timeZone: string
Maximum Length:
50
The description for the time zone that is displayed to customers.Example:US/Pacific
-
unitOfMeasure: string
Maximum Length:
30
The input unit of measure of the usage data requested. -
usageDetails: array
usageDetails
Nested Schema : usagePeriod
Type:
Show Source
object
-
drillDownAvailable: boolean
Drill Down Available is true if the meter transmits interval data to allow for smaller time scales.Example:
true
-
endDateTime: string
(date-time)
End date time of the usage period.Example:
2020-05-01T00:00:00-07:00
-
group: string
Maximum Length:
30
Group -
startDateTime: string
(date-time)
Start date time of the usage period.Example:
2020-04-30T00:00:00-07:00
-
usage: array
usage
Nested Schema : items
Type:
Show Source
object
-
sqi: string
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. -
tou: string
Maximum Length:
30
The time-of-use classification of the usage value.Example:ON
-
usageIdentifier: string
Maximum Length:
100
An identifier for the usage value, 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-ON-
-
usageValue: number
Minimum Value:
0
Maximum Value:9999.999999
The usage value for the corresponding identifier.Example:7.75
400 Response
Bad Request
Root Schema : problemDetailDocument
Type:
Show Source
object
-
detail: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0
Maximum Value:9999
The HTTP Status code for the error. -
problemInstance: string
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. -
problemType: string
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: object
serverMessage
-
stackTrace: string
Maximum Length:
60
The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object
-
callSequence: string
Maximum Length:
60
Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0
Maximum Value:0
Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999
Maximum Value:99999
Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60
Name of the program that encountered the error.
500 Response
Internal Server Error
Root Schema : problemDetailDocument
Type:
Show Source
object
-
detail: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0
Maximum Value:9999
The HTTP Status code for the error. -
problemInstance: string
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. -
problemType: string
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: object
serverMessage
-
stackTrace: string
Maximum Length:
60
The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object
-
callSequence: string
Maximum Length:
60
Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0
Maximum Value:0
Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999
Maximum Value:99999
Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60
Name of the program that encountered the error.