Update Rate Card

patch

/rest/v16/pricingSetup/rateCards/{rateCardVarName}

Use this endpoint to update the specified rate card.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : PricingMatrix
Type: object
Show Source
Nested Schema : Allowed Charge Definitions
Type: array
Title: Allowed Charge Definitions
The list of charge definitions that this pricing matrix will apply to.
Show Source
Nested Schema : Allowed Usage UOM
Title: Allowed Usage UOM
The usage UOM lookup code that this pricing matrix will apply to.
Match All
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 : Pricing Matrix data
Title: Pricing Matrix data
Read Only: true
List of Pricing Matrix data.
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 : Pricing Matrix template
Title: Pricing Matrix template
Read Only: true
Pricing Matrix template name and variableName
Match All
Show Source
Nested Schema : PricingMenuItem
Type: object
Show Source
Nested Schema : UserDetails
Type: object
Show Source
Nested Schema : PricingResourceCollection_PricingMatrixData
Type: object
Show Source
  • Title: Count
    Read Only: true
    The number of resource instances returned in the current range.
  • Created By
    Title: Created By
    Read Only: true
    The details of the user who created the record.
  • Title: HasMore
    Read Only: true
    Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
  • items
  • Last Modified By
    Title: Last Modified By
    Read Only: true
    The details of the user who modified the record.
  • Title: Limit
    Read Only: true
    The actual paging size used by the server.
  • Links
  • Title: OffSet
    Read Only: true
    The offset value used in the current page.
  • Title: Total Results
    Read Only: true
    Captures the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
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 : items
Type: array
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 : PricingMatrixData
Type: object
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 : PricingMatrixTemplate
Type: object
Show Source
Nested Schema : Allowed Charge Definitions
Type: array
Title: Allowed Charge Definitions
The list of charge definitions that this pricing matrix will apply to.
Show Source
Nested Schema : Pricing Matrix Template Columns
Title: Pricing Matrix Template Columns
Read Only: true
List of columns for the Pricing Matrix Template. Ignored if rate card template.
Match All
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 : PricingResourceCollection_PricingMatrixTemplateColumn
Type: object
Show Source
  • Title: Count
    Read Only: true
    The number of resource instances returned in the current range.
  • Created By
    Title: Created By
    Read Only: true
    The details of the user who created the record.
  • Title: HasMore
    Read Only: true
    Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
  • items
  • Last Modified By
    Title: Last Modified By
    Read Only: true
    The details of the user who modified the record.
  • Title: Limit
    Read Only: true
    The actual paging size used by the server.
  • Links
  • Title: OffSet
    Read Only: true
    The offset value used in the current page.
  • Title: Total Results
    Read Only: true
    Captures the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
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 : items
Type: array
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 : PricingMatrixTemplateColumn
Type: object
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
Back to Top

Response

204 Response

Success
Back to Top

Examples

The following examples show how to update the specified Rate Card by submitting a PATCH request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X PATCH - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/pricingSetup/rateCards/naPhoneRateCard

Request Body Sample

{
  "name": "NA Internet Data Usage Rate",
  "active": false,
  "description": "U.S. Enterprise Discount"
}
Back to Top