We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Usage Amount not getting update via the API

Received Response
9
Views
2
Comments
edited Jul 1, 2021 5:40PM in Subscription Management 2 comments

Content

Hi,

 

We tried to update the Qty and the amount on the billing line via the API below. The Response comes back with no error. Qty gets updated but not the amount, Please suggest.

 

Payload for Usage Amount and qty:

 

Method: PATCH
https://fa-etfl-test-saasfaprod1.fa.ocs.oraclecloud.com/crmRestApi/resources/11.13.18.05/subscriptions/7010/child/products/7010-PRDT-3003/child/billLines/7010-PRDT-3003-BILL-2032

 

Media Type: application/vnd.oracle.adf.resourceitem+json

 

Pay Load:

 

{

    "ListPrice": "10000",

    "Amount" : 10000,

    "UsageQuantity":100,

    "InvoiceText": "Draw Cap Overage Charge –

Contracted Draw 2.20 KW, Actual Draw 3.33 KW, Overage Draw 1.13 KW (Jun-2020)  "

}

Response:

{

    "BillLineId": 100000000443034,

    "BillLinePuid": "7010-PRDT-3003-BILL-2032",

    "SubscriptionId": 300000002446839,

    "SubscriptionProductId": 300000002446844,

    "CoveredLevelId": null,

    "ChargeId": 300000002446845,

    "ChargePuid": null,

    "BillingPeriod": 4,

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!