Search Person Accounts
post
https://server:port/spl/rest/apis/customer/v-model/billingContext/searchPersonAccounts
This operation lists accounts associated with a specific person record. It supports various filter options, pagination and an optional textual search across the account's identifier, the account's name if any, and premise address.
Request
There are no request parameters for this operation.
Supported Media Types
- application/xml
- application/json
Root Schema : schema
Type:
Show Source
object-
filters: array
filters
-
limit: number
Minimum Value:
0Maximum Value:9.99999999999999E8LimitExample:25 -
offset: number
Minimum Value:
0Maximum Value:9.99999999999999E8OffsetExample:0 -
personId: string
Maximum Length:
10Person ID is the system-assigned number for other persons related to the account.Example:4429925678 -
queryOption: string
Allowed Values:
[ "C1BS", "C1LS", "C1US" ]The service may be used to implement a basic list of accounts with minimal filtering options or a more advanced query that supports a textual search and includes either billing or usage details. * `C1BS` - Billing Search, * `C1LS` - List, * `C1US` - Usage Search -
serviceType: string
Maximum Length:
80Service Type defines the type of service associated with the SA type.Example:E
Nested Schema : items
Type:
Show Source
object-
active: string
Allowed Values:
[ "N ", "Y " ]Use this to restrict the list to accounts to those with an active service. * `N ` - No, * `Y ` - Yes -
mainCustomer: string
Allowed Values:
[ "N ", "Y " ]Main Customer flag is used to restrict the list to accounts where the person in context is the main customer. * `N ` - No, * `Y ` - YesExample:Y -
searchText: string
Maximum Length:
200Search Text
Root Schema : schema
Type:
Show Source
object-
filters: array
filters
-
limit: number
Minimum Value:
0Maximum Value:9.99999999999999E8LimitExample:25 -
offset: number
Minimum Value:
0Maximum Value:9.99999999999999E8OffsetExample:0 -
personId: string
Maximum Length:
10Person ID is the system-assigned number for other persons related to the account.Example:4429925678 -
queryOption: string
Allowed Values:
[ "C1BS", "C1LS", "C1US" ]The service may be used to implement a basic list of accounts with minimal filtering options or a more advanced query that supports a textual search and includes either billing or usage details. * `C1BS` - Billing Search, * `C1LS` - List, * `C1US` - Usage Search -
serviceType: string
Maximum Length:
80Service Type defines the type of service associated with the SA type.Example:E
Nested Schema : items
Type:
Show Source
object-
active: string
Allowed Values:
[ "N ", "Y " ]Use this to restrict the list to accounts to those with an active service. * `N ` - No, * `Y ` - Yes -
mainCustomer: string
Allowed Values:
[ "N ", "Y " ]Main Customer flag is used to restrict the list to accounts where the person in context is the main customer. * `N ` - No, * `Y ` - YesExample:Y -
searchText: string
Maximum Length:
200Search Text
Response
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Root Schema : C1ActForPers
Type:
Show Source
object-
accounts: array
accounts
The list of accounts for the person in context.
-
limit: number
Minimum Value:
0Maximum Value:9.99999999999999E8LimitExample:25 -
offset: number
Minimum Value:
0Maximum Value:9.99999999999999E8OffsetExample:0 -
totalNumberOfRecords: number
Minimum Value:
0Maximum Value:99999Total Number Of RecordsExample:2
Nested Schema : items
Type:
Show Source
object-
account: object
account
-
accountName: string
Maximum Length:
254The name of the account.Note: This information is optional and assumed to be captured as a characteristic record for the account. The characteristic type used for this purpose needs to be defined as a schema constant.
-
accountPersonRelationshipType: string
Maximum Length:
8Account Relationship Type -
accountPersonRelationshipTypeDescription: string
Maximum Length:
1Display string for relationship the input person has with the Billing Account.Example:Main customer -
billingDetails: object
billingDetails
Billing information for the account. These details are only supported in billing search query mode.
-
isActive: boolean
Indicates whether the account is active or not.Example:
true -
mainCustomerName: string
Maximum Length:
254Name -
premiseDetails: object
premiseDetails
The premise used for display purposes. When multiple premises are associated with the account, the mailing premise is used.
-
serviceDetails: object
serviceDetails
The types of services associated with the account.
-
setupDate: string
(date)
The date the billing account was created. (Service often begins on that date, but doesn't have to).
-
usageDetails: object
usageDetails
Billed usage information for the account. These details are only supported in usage search query mode.
Nested Schema : account
Type:
Show Source
object-
_link: string
_link
-
accountId: string
Maximum Length:
10The Account ID is a system-assigned random number that stays with an account for life.Example:0279948222
Nested Schema : billingDetails
Type:
objectBilling information for the account. These details are only supported in billing search query mode.
Show Source
-
annualBilledAmount: number
Sum billed over time period (12 months if available)Example:
200 -
billingEndDate: string
(date)
Billing End DateExample:
2021-09-01 -
billingStartDate: string
(date)
Billing Start DateExample:
2021-09-01 -
currency: string
Maximum Length:
3Currency Code defines the currency in which the account's financial transactions are expressed.Example:USD -
currentBalance: number
The current amount owed by the customer on the billing account (calculated value)Example:
-252.2 -
totalBalance: number
The amount the customer would need to pay to fully close the account (taking into consideration any deposits, budget billing, loans, etc.)Example:
361.64
Nested Schema : premiseDetails
Type:
objectThe premise used for display purposes. When multiple premises are associated with the account, the mailing premise is used.
Show Source
-
numberOfPremises: number
Minimum Value:
0Maximum Value:99999Number of Premises related to the billing accountExample:2 -
premiseAddress1: string
Maximum Length:
254Address -
premiseFormattedAddress: string
Maximum Length:
254Premise InfoExample:129 Sutter St, San Francisco, CA, 94104 -
premiseId: string
Maximum Length:
10Premise ID is a system-assigned, unique identifier that shows the primary premise associated with the service agreement.
Nested Schema : serviceDetails
Type:
objectThe types of services associated with the account.
Show Source
Nested Schema : usageDetails
Type:
objectBilled usage information for the account. These details are only supported in usage search query mode.
Show Source
-
firstBillDate: string
(date)
The start date of the earliest bill associated with the reported usage for the account in the past 12 months.
-
lastBillDate: string
(date)
The end date of the latest bill associated with the reported usage for the account in the past 12 months.
-
usageFound: boolean
The Usage found flag indicates that usage data was available in the requested timeframe.Example:
Y -
usageInformation: array
usageInformation
Nested Schema : items
Type:
Show Source
object-
serviceType: string
Maximum Length:
80Service Type defines the type of service associated with the SA type.Example:E
Nested Schema : items
Type:
Show Source
object-
peakIndicator: string
Maximum Length:
1Measures Peak Quantity -
unitOfMeasure: string
Maximum Length:
30Unit of Measure -
usage: array
usage
Nested Schema : items
Type:
Show Source
object-
serviceQuantityIdentifer: string
Maximum Length:
30SQI -
timeOfUse: string
Maximum Length:
30Time of Use -
usageIdentifier: string
Maximum Length:
100Usage Identifier -
usageValue: number
Minimum Value:
0Maximum Value:9999.999999Usage
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.