Create a rate dimension association with a rate table
post
/fscmRestApi/resources/11.13.18.05/rateTables/{RateTableId}/child/RateTableDimensions
Request
Path Parameters
-
RateTableId(required): integer(int64)
The unique identifier for the rate table.
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-
RateDimensionId(required): integer
(int64)
Title:
NameThe unique identifier for a rate dimension record. -
RateTableDimensionTiers: array
Rate Dimensions Tiers
Title:
Rate Dimensions TiersThe rate dimensions tiers resource is only used to view all the details of the tiers in a rate dimension of the rate table. -
RateTableDimId: integer
(int64)
The unique identifier for the rate table's dimension record.
-
RateTableId(required): integer
(int64)
Title:
NameThe unique identifier for a rate table.
Nested Schema : Rate Dimensions Tiers
Type:
arrayTitle:
Rate Dimensions TiersThe rate dimensions tiers resource is only used to view all the details of the tiers in a rate dimension of the rate table.
Show Source
Nested Schema : rateTables-RateTableDimensions-RateTableDimensionTiers-item-post-request
Type:
Show Source
object-
MaximumAmount: number
Title:
ToThe maximum amount of the rate tier. This attribute is only used when the rate dimension type is set as amount or percent. If the rate dimension type is percent, then the maximum amount stored here needs to be divided by 100 to get the actual value. For example, if the rate dimension is percent and the maximum amount is 20%, then 20 is maximum amount value. -
MaximumExpressionId: integer
(int64)
Title:
ToThe unique identifier of the maximum expression. This represents the rate dimension ending tier only when rate dimension type is set as Expression. -
MinimumAmount: number
Title:
FromThe minimum amount of the rate tier. This attribute is only used when the rate dimension type is set as amount or percent. If the rate dimension type is percent, then the minimum amount stored here needs to be divided by 100 to get the actual value. For example, if the rate dimension is percent and the minimum amount is 10%, then 10 is the minimum amount value. -
MinimumExpressionId: integer
(int64)
Title:
FromThe unique identifier of the minimum expression. This represents the rate dimension starting tier only when rate dimension type is set as Expression. -
RateDimensionId: integer
(int64)
The unique identifier of a rate dimension.
-
StringValue: string
Title:
StringMaximum Length:30The alphanumeric value of a rate tier. This attribute is only used when the rate dimension type is 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 : rateTables-RateTableDimensions-item-response
Type:
Show Source
object-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created this 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 this record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated this 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. -
NumberTier: integer
(int64)
Title:
Number of TiersRead Only:trueDefault Value:0The number of tiers in the rate table dimension within the rate table. -
RateDimensionId: integer
(int64)
Title:
NameThe unique identifier for a rate dimension record. -
RateDimensionName: string
Title:
NameRead Only:trueMaximum Length:80The name of the rate dimension. A rate table can have one or more rate dimensions. -
RateDimensionType: string
Title:
TypeRead Only:trueMaximum Length:30Default Value:AMOUNTThe unit of measurement for a rate table dimension. Possible values include AMOUNT, EXPRESSION, PERCENT, and STRING. The default value is AMOUNT. A list of acceptable values is defined in the lookup CN_DIM_UNIT_CODE. Review and update the value for this attribute using the Setup and Maintenance, Manage Incentive Compensation Lookups task. -
RateDimSequence: integer
(int32)
Title:
SequenceRead Only:trueThe specified order of a rate dimension within a rate table. -
RateTableDimensionsUpdateFlag: boolean
Read Only:
trueIndicates whether the rate table dimension can be updated. -
RateTableDimensionTiers: array
Rate Dimensions Tiers
Title:
Rate Dimensions TiersThe rate dimensions tiers resource is only used to view all the details of the tiers in a rate dimension of the rate table. -
RateTableDimId: integer
(int64)
The unique identifier for the rate table's dimension record.
-
RateTableId: integer
(int64)
Title:
NameThe unique identifier for a rate table. -
RateTableName: string
Title:
NameRead Only:trueMaximum Length:80The name of the rate table. A rate table is used to establish compensation percentage rates or fixed amounts for different performance levels.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Rate Dimensions Tiers
Type:
arrayTitle:
Rate Dimensions TiersThe rate dimensions tiers resource is only used to view all the details of the tiers in a rate dimension of the rate table.
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.
Nested Schema : rateTables-RateTableDimensions-RateTableDimensionTiers-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 with 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 tier. This attribute is only used when the rate dimension type is set as amount or percent. If the rate dimension type is percent, then the maximum amount stored here needs to be divided by 100 to get the actual value. For example, if the rate dimension is percent and the maximum amount is 20%, then 20 is maximum amount value. -
MaximumExpressionId: integer
(int64)
Title:
ToThe unique identifier of the maximum expression. This represents the rate dimension ending tier only when rate dimension type is set as Expression. -
MaximumExpressionName: string
Title:
ToRead Only:trueThe name of the maximum expression. -
MinimumAmount: number
Title:
FromThe minimum amount of the rate tier. This attribute is only used when the rate dimension type is set as amount or percent. If the rate dimension type is percent, then the minimum amount stored here needs to be divided by 100 to get the actual value. For example, if the rate dimension is percent and the minimum amount is 10%, then 10 is the minimum amount value. -
MinimumExpressionId: integer
(int64)
Title:
FromThe unique identifier of the minimum expression. This represents the rate dimension starting tier only when rate dimension type is set as Expression. -
MinimumExpressionName: string
Title:
FromRead Only:trueThe name of the minimum expression. -
RateDimensionId: integer
(int64)
The unique identifier of a rate dimension.
-
RateDimTierId: integer
(int64)
Read Only:
trueThe unique identifier of a rate dimension tier. -
RateTableDimensionTiersDeleteFlag: boolean
Read Only:
trueMaximum Length:255Indicates whether the rate table dimension tiers record can be deleted using this service. -
RateTableDimensionTiersUpdateFlag: boolean
Read Only:
trueMaximum Length:255Indicates whether the rate table dimension tiers record can be updated using this service. -
StringValue: string
Title:
StringMaximum Length:30The alphanumeric value of a rate tier. This attribute is only used when the rate dimension type is 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
Links
- RateDimensionsVO
-
The rate dimensions resource is used to create, update or delete a rate dimension. It can also be used to display all the details of rate dimensions. Rate tables contain one or more dimensions. Rate dimensions define the nature of the tiers that is used in a rate table.
- RateTableDimensionTiers
-
Parameters:
- RateTableDimId:
$request.path.RateTableDimId - RateTableId:
$request.path.RateTableId
The rate dimensions tiers resource is only used to view all the details of the tiers in a rate dimension of the rate table. - RateTableDimId:
Examples
The following example shows how to create a rate table dimension by submitting a POST request on the REST resource using cURL.
cURL Command
curl -u <username:password> \ -X POST -d
@example_request_payload.json https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateTables/300100089812733/child/RateTableDimensions
Example of Request Body
The following example shows the contents of the request body in JSON format.
{
"RateDimensionId": 300100007837033
}
Example of Response Body
The following example shows the contents of the response body in JSON format.
{
"RateTableDimId": 300100007837039,
"RateTableId": 300100089812733,
"RateDimensionId": 300100007837033,
"RateDimSequence": 1,
"RateTableName": "QA rate table for scenario 800",
"RateDimensionName": "QA percent dimension for calc scenario 800",
"NumberTier": 5,
"RateDimensionType": "PERCENT",
"RateTableDimensionsUpdateFlag": false,
"CreatedBy": "OIC_PLAN_ADMIN_OPERATIONS",
"CreationDate": "2012-04-23T23:40:20.671-07:00",
"LastUpdateDate": "2012-04-23T23:40:42.882-07:00",
"LastUpdatedBy": "OIC_PLAN_ADMIN_OPERATIONS",
"LastUpdateLogin": "BE55AD2BE2450B7DE0432220F00A4B43",
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateTables/300100007837032/child/RateTableDimensions/300100007837039",
"name": "RateTableDimensions",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateTables/300100007837032/child/RateTableDimensions/300100007837039",
"name": "RateTableDimensions",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateTables/300100007837032",
"name": "rateTables",
"kind": "item"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateTables/300100007837032/child/RateTableDimensions/300100007837039/lov/RateDimensionsVO",
"name": "RateDimensionsVO",
"kind": "collection"
}
]
}