Update a rate table

patch

/fscmRestApi/resources/11.13.18.05/rateTables/{RateTableId}

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: Description
    Maximum Length: 1000
    The additional details added by the user related to rate tables.
  • Title: Display Name
    Maximum Length: 80
    The optional name of the rate table that is shown to the sales representative's user interface to represent this rate table.
  • Title: Name
    Maximum Length: 80
    The name of a rate table. A rate table is used to establish compensation percentage rates or fixed amounts for different performance levels.
  • Rate Table Dimensions
    Title: Rate Table Dimensions
    The rate table - dimensions resource is used to create, update, or delete the association of dimensions to a rate table. It can also be used to display all details of the dimensions in a rate table. You can only add up to ten rate dimensions to a rate table using REST Services.
  • Rate Table Rates
    Title: Rate Table Rates
    The rate table rates resource is used to create, view, or update the rates for a rate table or a scorecard. It can also be used to display all the rates of a rate table or a scorecard. You can only create rates with non-zero values.
  • Title: Type
    Maximum Length: 30
    Default Value: AMOUNT
    The lookup code that represents the nature of rates in the rate table, such as a percentage and amount. Possible values include AMOUNT and PERCENT. The default value is AMOUNT. A list of acceptable values is defined in the lookup CN_COMMISSION_UNIT_CODE. Review and update the value for this attribute using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
Nested Schema : Rate Table Dimensions
Type: array
Title: Rate Table Dimensions
The rate table - dimensions resource is used to create, update, or delete the association of dimensions to a rate table. It can also be used to display all details of the dimensions in a rate table. You can only add up to ten rate dimensions to a rate table using REST Services.
Show Source
Nested Schema : Rate Table Rates
Type: array
Title: Rate Table Rates
The rate table rates resource is used to create, view, or update the rates for a rate table or a scorecard. It can also be used to display all the rates of a rate table or a scorecard. You can only create rates with non-zero values.
Show Source
Nested Schema : rateTables-RateTableDimensions-item-patch-request
Type: object
Show Source
Nested Schema : RateTableDimensionTiers
Type: array
Show Source
Nested Schema : rateTables-RateTableDimensions-RateTableDimensionTiers-item-patch-request
Type: object
Show Source
  • Title: To
    The 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.
  • Title: To
    The unique identifier of the maximum expression. This represents the rate dimension ending tier only when rate dimension type is set as Expression.
  • Title: From
    The 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.
  • Title: From
    The unique identifier of the minimum expression. This represents the rate dimension starting tier only when rate dimension type is set as Expression.
  • The unique identifier of a rate dimension.
  • Title: String
    Maximum Length: 30
    The alphanumeric value of a rate tier. This attribute is only used when the rate dimension type is set as string.
Nested Schema : schema
Type: object
Show Source
  • The unique identifier of the business unit. You can update this value from a list of acceptable values in the Manage Business Units task in Setup and Maintenance work area.
  • Title: Rate
    The output value of the rate table, which can be used to calculate the earning rate or the attainment rate. This value could be a percent or an amount depending on the rate table type set for the rate table. If the rate table type is percent, then the value stored here needs to be divided by 100 to get the actual value. For example, if the rate table type is percent and the rate value is 10%, then 10 is the output value.
  • The unique identifier of the rate table.
  • Title: Number of Dimensions
    The number of dimensions in the rate table. The rate table REST service only supports up to 10 dimensions.
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 : rateTables-item-response
Type: object
Show Source
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the rate table record.
  • Title: Creation Date
    Read Only: true
    The date and time when the rate table record was created.
  • Title: Description
    Maximum Length: 1000
    The additional details added by the user related to rate tables.
  • Title: Display Name
    Maximum Length: 80
    The optional name of the rate table that is shown to the sales representative's user interface to represent this rate table.
  • Title: Last Updated Date
    Read Only: true
    The date when the rate table record was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the rate table record.
  • Title: Last Update Login
    Read Only: true
    Maximum Length: 32
    The session login associated with the user who last updated the record.
  • Links
  • Title: Name
    Maximum Length: 80
    The name of a rate table. A rate table is used to establish compensation percentage rates or fixed amounts for different performance levels.
  • Title: Number of Dimensions
    Read Only: true
    Default Value: 0
    The number of dimensions in the rate table. Default value is 0.
  • Title: Business Unit
    The unique identifier of the business unit. The value can be updated from a list of acceptable values in the Manage Business Units task in Setup and Maintenance.
  • Rate Table Dimensions
    Title: Rate Table Dimensions
    The rate table - dimensions resource is used to create, update, or delete the association of dimensions to a rate table. It can also be used to display all details of the dimensions in a rate table. You can only add up to ten rate dimensions to a rate table using REST Services.
  • Read Only: true
    The unique identifier for the rate table.
  • Rate Table Rates
    Title: Rate Table Rates
    The rate table rates resource is used to create, view, or update the rates for a rate table or a scorecard. It can also be used to display all the rates of a rate table or a scorecard. You can only create rates with non-zero values.
  • Title: Type
    Maximum Length: 30
    Default Value: AMOUNT
    The lookup code that represents the nature of rates in the rate table, such as a percentage and amount. Possible values include AMOUNT and PERCENT. The default value is AMOUNT. A list of acceptable values is defined in the lookup CN_COMMISSION_UNIT_CODE. Review and update the value for this attribute using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
Nested Schema : Rate Table Dimensions
Type: array
Title: Rate Table Dimensions
The rate table - dimensions resource is used to create, update, or delete the association of dimensions to a rate table. It can also be used to display all details of the dimensions in a rate table. You can only add up to ten rate dimensions to a rate table using REST Services.
Show Source
Nested Schema : Rate Table Rates
Type: array
Title: Rate Table Rates
The rate table rates resource is used to create, view, or update the rates for a rate table or a scorecard. It can also be used to display all the rates of a rate table or a scorecard. You can only create rates with non-zero values.
Show Source
Nested Schema : rateTables-RateTableDimensions-item-response
Type: object
Show Source
Nested Schema : Rate Dimensions Tiers
Type: array
Title: Rate Dimensions Tiers
The 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-response
Type: object
Show Source
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the record.
  • Title: Creation Date
    Read Only: true
    The date and time when the record was created.
  • Title: Last Updated Date
    Read Only: true
    The date and time when the record was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the record.
  • Title: Last Update Login
    Read Only: true
    Maximum Length: 32
    The session login associated with the user who last updated the record.
  • Links
  • Title: To
    The 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.
  • Title: To
    The unique identifier of the maximum expression. This represents the rate dimension ending tier only when rate dimension type is set as Expression.
  • Title: To
    Read Only: true
    The name of the maximum expression.
  • Title: From
    The 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.
  • Title: From
    The unique identifier of the minimum expression. This represents the rate dimension starting tier only when rate dimension type is set as Expression.
  • Title: From
    Read Only: true
    The name of the minimum expression.
  • The unique identifier of a rate dimension.
  • Read Only: true
    The unique identifier of a rate dimension tier.
  • Read Only: true
    Maximum Length: 255
    Indicates whether the rate table dimension tiers record can be deleted using this service.
  • Read Only: true
    Maximum Length: 255
    Indicates whether the rate table dimension tiers record can be updated using this service.
  • Title: String
    Maximum Length: 30
    The alphanumeric value of a rate tier. This attribute is only used when the rate dimension type is set as string.
  • Title: Sequence
    Read Only: true
    The specified order of a tier within a rate dimension.
Nested Schema : rateTables-RateTableRates-item-response
Type: object
Show Source
  • Read Only: true
    Maximum Length: 64
    The user who created the record.
  • Read Only: true
    The date and time when the record was created.
  • Read Only: true
    The date and time when the record was last updated.
  • Read Only: true
    Maximum Length: 64
    The user who last updated the record.
  • Read Only: true
    Maximum Length: 32
    The session login associated with the user who last updated the record.
  • Links
  • The unique identifier of the business unit. You can update this value from a list of acceptable values in the Manage Business Units task in Setup and Maintenance work area.
  • Title: Rate
    The output value of the rate table, which can be used to calculate the earning rate or the attainment rate. This value could be a percent or an amount depending on the rate table type set for the rate table. If the rate table type is percent, then the value stored here needs to be divided by 100 to get the actual value. For example, if the rate table type is percent and the rate value is 10%, then 10 is the output value.
  • The unique identifier of the tenth rate dimension record associated with the rate value. This value will only be filled if the rate table has 10 rate dimensions.
  • The unique identifier of the tenth rate dimension tier associated with the rate value. This value will only be filled if this rate table has 10 rate dimensions.
  • The unique identifier of the first rate dimension record associated with the rate value.
  • The unique identifier of the first rate dimension tier associated with the rate value.
  • The unique identifier of the second rate dimension record associated with the rate value. This value will only be filled if the rate table has 2 or more rate dimensions.
  • The unique identifier of the second rate dimension tier associated with the rate value. This value will only be filled if this rate table has 2 or more rate dimensions.
  • The unique identifier of the third rate dimension record associated with the rate value. This value will only be filled if the rate table has 3 or more rate dimensions.
  • The unique identifier of the third rate dimension tier associated with the rate value. This value will only be filled if this rate table has 3 or more rate dimensions.
  • The unique identifier of the fourth rate dimension record associated with the rate value. This value will only be filled if the rate table has 4 or more rate dimensions.
  • The unique identifier of the fourth rate dimension tier associated with the rate value. This value will only be filled if this rate table has 4 or more rate dimensions.
  • The unique identifier of the fifth rate dimension record associated with the rate value. This value will only be filled if the rate table has 5 or more rate dimensions.
  • The unique identifier of the fifth rate dimension tier associated with the rate value. This value will only be filled if this rate table has 5 or more rate dimensions.
  • The unique identifier of the sixth rate dimension record associated with the rate value. This value will only be filled if the rate table has 6 or more rate dimensions.
  • The unique identifier of the sixth rate dimension tier associated with the rate value. This value will only be filled if this rate table has 6 or more rate dimensions.
  • The unique identifier of the seventh rate dimension record associated with the rate value. This value will only be filled if the rate table has 7 or more rate dimensions.
  • The unique identifier of the seventh rate dimension tier associated with the rate value. This value will only be filled if this rate table has 7 or more rate dimensions.
  • The unique identifier of the eighth rate dimension record associated with the rate value. This value will only be filled if the rate table has 8 or more rate dimensions.
  • The unique identifier of the eighth rate dimension tier associated with the rate value. This value will only be filled if this rate table has 8 or more rate dimensions.
  • The unique identifier of the ninth rate dimension record associated with the rate value. This value will only be filled if the rate table has 9 or more rate dimensions.
  • The unique identifier of the ninth rate dimension tier associated with the rate value. This value will only be filled if this rate table has 9 or more rate dimensions.
  • The unique identifier of the rate table.
  • Title: Number of Dimensions
    The number of dimensions in the rate table. The rate table REST service only supports up to 10 dimensions.
  • Read Only: true
    The unique identifier of the rate table value.
  • Read Only: true
    Maximum Length: 255
    Indicates that the rate table rates record cannot be deleted using this service.
Back to Top

Examples

The following example shows how to update a rate table 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/rateTables/300100089814734

Example of Request Body

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

{
"Description": "Duplicate rate table updated"
}

Example of Response Body

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

{
  "RateTableId": 300100089814734,
  "Name": "Copy R2T",
  "Description": "Duplicate rate table updated",
  "OrgId": 204,
  "NumberDim": 1,
  "DisplayName": "Duplicate RT",
  "RateTableType": "AMOUNT",
  "CreatedBy": "OIC_PLAN_ADMIN_OPERATIONS",
  "CreationDate": "2017-05-03T07:47:29-07:00",
  "LastUpdateDate": "2017-05-03T07:49:54-07:00",
  "LastUpdatedBy": "OIC_PLAN_ADMIN_OPERATIONS",
  "LastUpdateLogin": "4EA0A90F547C12A4E0532DD6F00A31AB",
  "links": [
    {
      "rel": "self",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateTables/300100089814734",
      "name": "rateTables",
      "kind": "item",
      "properties": {
        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
      }
    },
    {
      "rel": "canonical",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateTables/300100089814734",
      "name": "rateTables",
      "kind": "item"
    },
    {
      "rel": "lov",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateTables/300100089814734/lov/CnLookupRateTableTypeVO",
      "name": "CnLookupRateTableTypeVO",
      "kind": "collection"
    },
    {
      "rel": "lov",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateTables/300100089814734/lov/BusinessUnitPVO",
      "name": "BusinessUnitPVO",
      "kind": "collection"
    },
    {
      "rel": "child",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/rateTables/300100089814734/child/RateTableDimensions",
      "name": "RateTableDimensions",
      "kind": "collection"
    }
  ]
}
Back to Top