Create a rate dimension association with a rate table

post

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

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
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-post-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.
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-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.
Back to Top

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"
        }
      ]
    }
Back to Top