Search Person Accounts

post

/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
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
  • filters
  • Minimum Value: 0
    Maximum Value: 9.99999999999999E8
    Limit
    Example: 25
  • Minimum Value: 0
    Maximum Value: 9.99999999999999E8
    Offset
    Example: 0
  • Maximum Length: 10
    Person ID is the system-assigned number for other persons related to the account.
  • 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
  • Maximum Length: 80
    Service Type defines the type of service associated with the service agreement. For example, G defines the service type as Gas service.
    Example: G
Nested Schema : filters
Type: object
Show Source
  • Allowed Values: [ "I ", "N ", "Y " ]
    Active flag is used to return the list of active, inactive and all (including both active and inactive) accounts. * `I ` - Inactive, * `N ` - All, * `Y ` - Yes
    Example: Y
  • Billing End Date
    Example: 2021-09-01
  • 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 ` - Yes
    Example: Y
  • Maximum Length: 200
    Search Text
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • filters
  • Minimum Value: 0
    Maximum Value: 9.99999999999999E8
    Limit
    Example: 25
  • Minimum Value: 0
    Maximum Value: 9.99999999999999E8
    Offset
    Example: 0
  • Maximum Length: 10
    Person ID is the system-assigned number for other persons related to the account.
  • 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
  • Maximum Length: 80
    Service Type defines the type of service associated with the service agreement. For example, G defines the service type as Gas service.
    Example: G
Nested Schema : filters
Type: object
Show Source
  • Allowed Values: [ "I ", "N ", "Y " ]
    Active flag is used to return the list of active, inactive and all (including both active and inactive) accounts. * `I ` - Inactive, * `N ` - All, * `Y ` - Yes
    Example: Y
  • Billing End Date
    Example: 2021-09-01
  • 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 ` - Yes
    Example: Y
  • Maximum Length: 200
    Search Text
Back to Top

Response

Supported Media Types

200 Response

Success response
Body ()
Root Schema : C1ActForPers
Type: object
Show Source
Nested Schema : accounts
Type: array
The list of accounts for the person in context.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : account
Type: object
Show Source
Nested Schema : billingDetails
Type: object
Billing information for the account. These details are only supported in billing search query mode.
Show Source
Nested Schema : premiseDetails
Type: object
The premise used for display purposes. When multiple premises are associated with the account, the mailing premise is used.
Show Source
Nested Schema : serviceDetails
Type: object
The types of services associated with the account.
Show Source
Nested Schema : usageDetails
Type: object
Billed usage information for the account. These details are only supported in usage search query mode.
Show Source
Nested Schema : serviceTypes
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • Indicates whether the account is active or not.
    Example: true
  • Maximum Length: 80
    Service Type defines the type of service associated with the service agreement. For example, G defines the service type as Gas service.
    Example: G
Nested Schema : usageInformation
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : usage
Type: array
Show Source
Nested Schema : items
Type: object
Show Source

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