Update a rate dimension tier

patch

/fscmRestApi/resources/11.13.18.05/rateDimensions/{RateDimensionId}/child/RateDimensionTiers/{RateDimTierId}

Request

Path Parameters
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: To
    The maximum amount of the rate dimension. If the rate dimension is percentage, then the maximum amount is converted to a number (by dividing it by 100). For example, if the rate dimension is percentage, and the minimum amount is 20% then is it converted to 20.
  • Title: To
    This is a unique identifier for maximum expression. This represents the rate dimension ending tier where tiers are expressions.
  • Title: From
    The minimum amount of the rate dimension. If the rate dimension is percentage, then the minimum amount is converted to a number (by dividing it by 100). For example, if the rate dimension is percentage, and the minimum amount is 10% then is it converted to 10.
  • Title: From
    This is a unique identifier for minimum expression. This represents the rate dimension starting tier where tiers are expressions.
  • The unique identifier of a rate dimension record.
  • Title: String
    Maximum Length: 30
    The alphanumeric value of a rate dimension tier with type set as string.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : rateDimensions-RateDimensionTiers-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to update a rate dimension tier by submitting a PATCH request on the REST resource using cURL.

cURL Command

curl -u <username:password> \ -X PATCH -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateDimensions/300100089584746/child/RateDimensionTiers/300100089584748

Example of Request Body

The following example shows the contents of the request body in JSON format.

{

 "MaximumAmount": 4000

}

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
   "RateDimTierId": 300100089584748,
   "RateDimensionId": 300100089584746,
   "TierSequence": 2,
   "MinimumAmount": 1000,
   "MaximumAmount": 4000,
   "StringValue": null,
   "MinimumExpressionId": null,
   "MaximumExpressionId": null,
   "MinimumExpressionName": null,
   "MaximumExpressionName": null,
   "CreatedBy": "OIC_PLAN_ADMIN_OPERATIONS",
   "CreationDate": "2017-04-13T13:05:38+05:30",
   "LastUpdateDate": "2017-04-13T14:04:59+05:30",
   "LastUpdateLogin": "4D08BCC1FBB47D7CE053CB90B10AEB84",
   "LastUpdatedBy": "OIC_PLAN_ADMIN_OPERATIONS",
   "links":    [
            {
         "rel": "self",
         "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateDimensions/300100089584746/child/RateDimensionTiers/300100089584748",
         "name": "RateDimensionTiers",
         "kind": "item",
         "properties": {"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000003737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"}
      },
            {
         "rel": "canonical",
         "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateDimensions/300100089584746/child/RateDimensionTiers/300100089584748",
         "name": "RateDimensionTiers",
         "kind": "item"
      },
            {
         "rel": "parent",
         "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateDimensions/300100089584746",
         "name": "rateDimensions",
         "kind": "item"
      },
            {
         "rel": "lov",
         "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateDimensions/300100089584746/child/RateDimensionTiers/300100089584748/lov/MinimumExpressionVO",
         "name": "MinimumExpressionVO",
         "kind": "collection"
      },
            {
         "rel": "lov",
         "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateDimensions/300100089584746/child/RateDimensionTiers/300100089584748/lov/MaximumExpressionVO",
         "name": "MaximumExpressionVO",
         "kind": "collection"
      }
   ]
}
Back to Top