Update a rate dimension tier
patch
/fscmRestApi/resources/11.13.18.05/rateDimensions/{RateDimensionId}/child/RateDimensionTiers/{RateDimTierId}
Request
Path Parameters
-
RateDimTierId(required): integer(int64)
The unique identifier of a rate dimension tier.
-
RateDimensionId(required): integer(int64)
The unique identifier for the rate dimension record.
Header Parameters
-
Metadata-Context: string
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".
-
REST-Framework-Version: string
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
- application/json
Root Schema : schema
Type:
Show Source
object-
MaximumAmount: number
Title:
ToThe 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. -
MaximumExpressionId: integer
(int64)
Title:
ToThis is a unique identifier for maximum expression. This represents the rate dimension ending tier where tiers are expressions. -
MinimumAmount: number
Title:
FromThe 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. -
MinimumExpressionId: integer
(int64)
Title:
FromThis is a unique identifier for minimum expression. This represents the rate dimension starting tier where tiers are expressions. -
RateDimensionId: integer
(int64)
The unique identifier of a rate dimension record.
-
StringValue: string
Title:
StringMaximum Length:30The alphanumeric value of a rate dimension tier with type set as string.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
Root Schema : rateDimensions-RateDimensionTiers-item-response
Type:
Show Source
object-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the record was created. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the record. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The session login associated to the user who last updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MaximumAmount: number
Title:
ToThe 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. -
MaximumExpressionId: integer
(int64)
Title:
ToThis is a unique identifier for maximum expression. This represents the rate dimension ending tier where tiers are expressions. -
MaximumExpressionName: string
Title:
ToRead Only:trueThe name of the maximum expression. -
MinimumAmount: number
Title:
FromThe 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. -
MinimumExpressionId: integer
(int64)
Title:
FromThis is a unique identifier for minimum expression. This represents the rate dimension starting tier where tiers are expressions. -
MinimumExpressionName: string
Title:
FromRead Only:trueThe name of the minimum expression. -
RateDimensionId: integer
(int64)
The unique identifier of a rate dimension record.
-
RateDimTierId: integer
(int64)
Read Only:
trueThe unique identifier of a rate dimension tier. -
StringValue: string
Title:
StringMaximum Length:30The alphanumeric value of a rate dimension tier with type set as string. -
TierSequence: integer
(int32)
Title:
SequenceRead Only:trueThe specified order of a tier within a rate dimension.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- MaximumExpressionVO
-
The expression usages list of values resource is used to view the list of expression usages which indicate where an expression can be used.
- MinimumExpressionVO
-
The expression usages list of values resource is used to view the list of expression usages which indicate where an expression can be used.
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"
}
]
}