Get Price Agreement Charge

get

/rest/v16/pricingSetup/agreements/{agreementVarName}/priceAgreementItems/{priceAgreementItemId}/charges/{id}

Use this endpoint to retrieve the specified a price agreement item charge.

Request

Path Parameters
Query Parameters
  • This parameter filters the resource attributes. Only the specified attributes are returned, which means that if no attributes are specified, all attributes are returned.
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : PricingCharge
Type: object
Show Source
Nested Schema : Block Prices
Type: array
Title: Block Prices
The block price.
Show Source
Nested Schema : Created By
Title: Created By
Read Only: true
The details of the user who created the record.
Match All
Show Source
Nested Schema : Last Modified By
Title: Last Modified By
Read Only: true
The details of the user who modified the record.
Match All
Show Source
Nested Schema : Prices
Type: array
Title: Prices
The item prices.
Show Source
Nested Schema : Tiers
Type: array
Title: Tiers
The charge tiers.
Show Source
Nested Schema : PricingCurrencyValues
Type: object
Show Source
Nested Schema : UserDetails
Type: object
Show Source
Nested Schema : ChargeTier
Type: object
Show Source
Nested Schema : Block Prices
Type: array
Title: Block Prices
The block price for the corresponding tier.
Show Source
Nested Schema : Prices
Type: array
Title: Prices
The prices.
Show Source
Back to Top

Examples

The following example shows how to retrieve the specified price agreement item charge by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X GET -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/pricingSetup/agreements/agreementAPIaccount112/priceAgreementItems/3023202276/charges/3023202282

Response Body Sample

{
  "id": 3023202282,
  "dateModified": "2024-01-26T20:40:40Z",
  "dateAdded": "2024-01-26T20:40:40Z",
  "prices": [{
      "currencyCode": "USD",
      "value": 300
    }
  ],
  "chargeDefinitionId": -1,
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/pricingSetup/agreements/agreementAPIaccount112/priceAgreementItems/3023202276/charges/3023202282"
    }, {
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v16/pricingSetup/agreements/agreementAPIaccount112/priceAgreementItems/3023202276/charges"
    }
  ],
  "primaryCharge": true,
  "chargeType": "ORA_SALE",
  "priceType": "One Time",
  "dynamicPricingType": "static",
  "blockSize": 1
}
Back to Top