Customer History for a Premise
get
/rest/apis/customer/v-model/billingContext/premiseCustomerHistory/{premiseId}
Request
Path Parameters
-
premiseId(required): string
Premise ID is a system-assigned, unique identifier that shows the primary premise associated with the service agreement.Example:
3836403369
Query Parameters
-
limit: number
LimitExample:
25 -
offset: number
OffsetExample:
0
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Root Schema : C1PreCusHist
Type:
Show Source
object-
accounts: array
accounts
-
limit: number
Minimum Value:
0Maximum Value:999999999.999999LimitExample:25 -
offset: number
Minimum Value:
0Maximum Value:999999999.999999OffsetExample:0 -
premiseId: string
Maximum Length:
10Premise ID is a system-assigned, unique identifier that shows the primary premise associated with the service agreement.Example:3836403369 -
totalNumberOfRecords: number
Minimum Value:
0Maximum Value:99999Total Number Of RecordsExample:2
Nested Schema : items
Type:
Show Source
object-
accountId: string
Maximum Length:
10Account ID identifies the customer who is responsible for the bill.Example:0119532152 -
customerClassDescription: string
Maximum Length:
60Description for Customer classExample:Residential -
endDate: string
(date)
Billing End DateExample:
2021-09-01 - relatedPersons: array relatedPersons
-
serviceDetails: object
serviceDetails
-
startDate: string
(date)
Billing Start DateExample:
2021-09-01
Nested Schema : items
Type:
Show Source
object-
serviceType: string
Maximum Length:
80Service Type defines the type of service associated with the service agreement. For example, G defines the service type as Gas service.Example:G
400 Response
Bad Request
Root Schema : problemDetailDocument
Type:
Show Source
object-
detail: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0Maximum Value:9999The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60Fully 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:
60URL 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:
60The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object-
callSequence: string
Maximum Length:
60Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0Maximum Value:0Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999Maximum Value:99999Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60Name of the program that encountered the error.
500 Response
Internal Server Error
Root Schema : problemDetailDocument
Type:
Show Source
object-
detail: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0Maximum Value:9999The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60Fully 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:
60URL 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:
60The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object-
callSequence: string
Maximum Length:
60Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0Maximum Value:0Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999Maximum Value:99999Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60Name of the program that encountered the error.