Create Bill Segment

post

https://server:port/spl/rest/apis/customer/financials/billSegments/

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
Nested Schema : account
Type: object
Show Source
  • Maximum Length: 10
    Account ID identifies the customer who is responsible for the bill.
    Example: 1112345900
Nested Schema : bill
Type: object
Show Source
  • Maximum Length: 12
    Bill ID is the system-assigned unique identifier of the bill on which the bill segment appears. A concatenation of its bill date, status, due date and amount is displayed.
    Example: 211122345678
Nested Schema : billCycle
Type: object
Bill Cycle displays the bill cycle and window start date of the bill segment's bill.
Show Source
  • Maximum Length: 4
    Bill Cycle displays the bill cycle and window start date of the bill segment's bill.
    Example: M-D2 (Monthly bill cycle - day 2)
Nested Schema : calcLines
Type: object
Show Source
Nested Schema : cancelReason
Type: object
Cancel Reason defines why the bill segment(s) are being canceled.
Show Source
  • Maximum Length: 4
    Cancel Reason defines why the bill segment(s) are being canceled.
    Example: Wrong read
Nested Schema : currency
Type: object
Show Source
Nested Schema : exception
Type: object
Show Source
Nested Schema : financialDetails
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : messages
Type: object
Show Source
Nested Schema : nextActions
Type: array
Show Source
Nested Schema : premise
Type: object
Show Source
  • Maximum Length: 10
    Premise ID defines the address on bills for persons who have their bill sent to the account's mailing premise.
Nested Schema : quote
Type: object
Show Source
  • Maximum Length: 12
    Quote ID is the system-assigned unique identifier of the quote.
Nested Schema : readDetails
Type: object
Show Source
Nested Schema : serviceAgreement
Type: object
SA ID contains information about the bill segment's service agreement.
Show Source
Nested Schema : serviceQuantities
Type: object
Show Source
Nested Schema : subBillSegments
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : billableCharge
Type: object
Show Source
Nested Schema : calculationLines
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : characteristicType
Type: object
Show Source
Nested Schema : distributionCode
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : item
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • Maximum Length: 4
    Bill Message
  • Maximum Length: 8
    Insert Code defines if the bill message causes an insert in the envelope.
  • Maximum Length: 254
    Message On Bill is the message associated with the code.
    Example: Electric service not billed
  • Allowed Values: [ "10 ", "20 ", "30 ", "40 ", "50 ", "60 ", "70 ", "80 ", "90 " ]
    Priority is the bill messages priority (on the printed bill). * `10 ` - Priority 10 -- Lowest, * `20 ` - Priority 20, * `30 ` - Priority 30, * `40 ` - Priority 40, * `50 ` - Priority 50, * `60 ` - Priority 60, * `70 ` - Priority 70, * `80 ` - Priority 80, * `90 ` - Priority 90 -- Highest
    Example: 20
  • Minimum Value: -99999
    Maximum Value: 99999
    Version
Nested Schema : items
Type: object
Show Source
  • Allowed Values: [ "C1CF", "C1CO", "C1CR", "C1DE", "C1FR", "C1GN", "C1RO" ]
    Bill Web Service Actions: * `C1CF` - Cancel Frozen, * `C1CO` - Complete, * `C1CR` - Credit Note, * `C1DE` - Delete, * `C1FR` - Freeze, * `C1GN` - Generate, * `C1RO` - ReOpen
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • Allowed Values: [ "10 ", "20 ", "30 ", "40 ", "50 ", "60 ", "70 " ]
    Bill Segment Status: * `10 ` - Incomplete, * `20 ` - Error, * `30 ` - Freezable, * `40 ` - Pending Cancel, * `50 ` - Frozen, * `60 ` - Canceled, * `70 ` - OK
  • Current Amount
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : account
Type: object
Show Source
  • Maximum Length: 10
    Account ID identifies the customer who is responsible for the bill.
    Example: 1112345900
Nested Schema : bill
Type: object
Show Source
  • Maximum Length: 12
    Bill ID is the system-assigned unique identifier of the bill on which the bill segment appears. A concatenation of its bill date, status, due date and amount is displayed.
    Example: 211122345678
Nested Schema : billCycle
Type: object
Bill Cycle displays the bill cycle and window start date of the bill segment's bill.
Show Source
  • Maximum Length: 4
    Bill Cycle displays the bill cycle and window start date of the bill segment's bill.
    Example: M-D2 (Monthly bill cycle - day 2)
Nested Schema : calcLines
Type: object
Show Source
Nested Schema : cancelReason
Type: object
Cancel Reason defines why the bill segment(s) are being canceled.
Show Source
  • Maximum Length: 4
    Cancel Reason defines why the bill segment(s) are being canceled.
    Example: Wrong read
Nested Schema : currency
Type: object
Show Source
Nested Schema : exception
Type: object
Show Source
Nested Schema : financialDetails
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : messages
Type: object
Show Source
Nested Schema : nextActions
Type: array
Show Source
Nested Schema : premise
Type: object
Show Source
  • Maximum Length: 10
    Premise ID defines the address on bills for persons who have their bill sent to the account's mailing premise.
Nested Schema : quote
Type: object
Show Source
  • Maximum Length: 12
    Quote ID is the system-assigned unique identifier of the quote.
Nested Schema : readDetails
Type: object
Show Source
Nested Schema : serviceAgreement
Type: object
SA ID contains information about the bill segment's service agreement.
Show Source
Nested Schema : serviceQuantities
Type: object
Show Source
Nested Schema : subBillSegments
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : billableCharge
Type: object
Show Source
Nested Schema : calculationLines
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : characteristicType
Type: object
Show Source
Nested Schema : distributionCode
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : item
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • Maximum Length: 4
    Bill Message
  • Maximum Length: 8
    Insert Code defines if the bill message causes an insert in the envelope.
  • Maximum Length: 254
    Message On Bill is the message associated with the code.
    Example: Electric service not billed
  • Allowed Values: [ "10 ", "20 ", "30 ", "40 ", "50 ", "60 ", "70 ", "80 ", "90 " ]
    Priority is the bill messages priority (on the printed bill). * `10 ` - Priority 10 -- Lowest, * `20 ` - Priority 20, * `30 ` - Priority 30, * `40 ` - Priority 40, * `50 ` - Priority 50, * `60 ` - Priority 60, * `70 ` - Priority 70, * `80 ` - Priority 80, * `90 ` - Priority 90 -- Highest
    Example: 20
  • Minimum Value: -99999
    Maximum Value: 99999
    Version
Nested Schema : items
Type: object
Show Source
  • Allowed Values: [ "C1CF", "C1CO", "C1CR", "C1DE", "C1FR", "C1GN", "C1RO" ]
    Bill Web Service Actions: * `C1CF` - Cancel Frozen, * `C1CO` - Complete, * `C1CR` - Credit Note, * `C1DE` - Delete, * `C1FR` - Freeze, * `C1GN` - Generate, * `C1RO` - ReOpen
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • Allowed Values: [ "10 ", "20 ", "30 ", "40 ", "50 ", "60 ", "70 " ]
    Bill Segment Status: * `10 ` - Incomplete, * `20 ` - Error, * `30 ` - Freezable, * `40 ` - Pending Cancel, * `50 ` - Frozen, * `60 ` - Canceled, * `70 ` - OK
  • Current Amount
Back to Top

Response

Supported Media Types

200 Response

Success response
Body ()
Root Schema : C1-BillSegm
Type: object
Show Source
Nested Schema : account
Type: object
Show Source
Nested Schema : bill
Type: object
Show Source
  • Maximum Length: 12
    Bill ID is the system-assigned unique identifier of the bill on which the bill segment appears. A concatenation of its bill date, status, due date and amount is displayed.
    Example: 211122345678
Nested Schema : billCycle
Type: object
Bill Cycle displays the bill cycle and window start date of the bill segment's bill.
Show Source
  • Maximum Length: 4
    Bill Cycle displays the bill cycle and window start date of the bill segment's bill.
    Example: M-D2 (Monthly bill cycle - day 2)
Nested Schema : calcLines
Type: object
Show Source
Nested Schema : cancelReason
Type: object
Cancel Reason defines why the bill segment(s) are being canceled.
Show Source
Nested Schema : currency
Type: object
Show Source
Nested Schema : exception
Type: object
Show Source
Nested Schema : financialDetails
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : messages
Type: object
Show Source
Nested Schema : nextActions
Type: array
Show Source
Nested Schema : premise
Type: object
Show Source
Nested Schema : quote
Type: object
Show Source
Nested Schema : readDetails
Type: object
Show Source
Nested Schema : serviceAgreement
Type: object
SA ID contains information about the bill segment's service agreement.
Show Source
Nested Schema : serviceQuantities
Type: object
Show Source
Nested Schema : subBillSegments
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : billableCharge
Type: object
Show Source
Nested Schema : calculationLines
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : characteristicType
Type: object
Show Source
Nested Schema : distributionCode
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : item
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • Maximum Length: 4
    Bill Message
  • Maximum Length: 8
    Insert Code defines if the bill message causes an insert in the envelope.
  • Maximum Length: 254
    Message On Bill is the message associated with the code.
    Example: Electric service not billed
  • Allowed Values: [ "10 ", "20 ", "30 ", "40 ", "50 ", "60 ", "70 ", "80 ", "90 " ]
    Priority is the bill messages priority (on the printed bill). * `10 ` - Priority 10 -- Lowest, * `20 ` - Priority 20, * `30 ` - Priority 30, * `40 ` - Priority 40, * `50 ` - Priority 50, * `60 ` - Priority 60, * `70 ` - Priority 70, * `80 ` - Priority 80, * `90 ` - Priority 90 -- Highest
    Example: 20
  • Minimum Value: -99999
    Maximum Value: 99999
    Version
Nested Schema : items
Type: object
Show Source
  • Allowed Values: [ "C1CF", "C1CO", "C1CR", "C1DE", "C1FR", "C1GN", "C1RO" ]
    Bill Web Service Actions: * `C1CF` - Cancel Frozen, * `C1CO` - Complete, * `C1CR` - Credit Note, * `C1DE` - Delete, * `C1FR` - Freeze, * `C1GN` - Generate, * `C1RO` - ReOpen
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • Allowed Values: [ "10 ", "20 ", "30 ", "40 ", "50 ", "60 ", "70 " ]
    Bill Segment Status: * `10 ` - Incomplete, * `20 ` - Error, * `30 ` - Freezable, * `40 ` - Pending Cancel, * `50 ` - Frozen, * `60 ` - Canceled, * `70 ` - OK
  • Current Amount

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