Update one tier header

patch

/fscmRestApi/resources/11.13.18.05/pricingTiers/{TierHeaderId}

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
  • Name of the adjustment basis.
  • Title: Adjustment Basis
    Value that identifies the adjustment basis.
  • Name of the type of adjustment. A list of accepted values is defined in the lookup type ORA_QP_LINE_ADJ_TYPES.
  • Title: Adjustment Type
    Maximum Length: 30
    Abbreviation that identifies the type of adjustment.
  • Name of the tier aggregation method. Valid values include On line and On document. A list of accepted values is defined in the lookup type ORA_QP_AGGREGATION_METHODS.
  • Title: Aggregation Method
    Maximum Length: 30
    Default Value: ORA_ON_DOCUMENT
    Abbreviation that identifies the method of the tier aggregation.
  • Name of the tier application method. Valid values include Per unit and As block. A list of accepted values is defined in the lookup type ORA_QP_APPLICATION_METHODS.
  • Title: Application Method
    Maximum Length: 30
    Default Value: PER_UNIT
    Abbreviation that identifies the method of tier application.
  • Name of the tier applicability. Valid values include Highest tier and All tiers. A list of accepted values is defined in the lookup type ORA_QP_TIER_GRADUATED_TYPES.
  • Title: Apply To
    Maximum Length: 30
    Default Value: HIGHEST_TIER
    Abbreviation that identifies the tier applicability.
  • Flexfields for Pricing Tiers
    Title: Flexfields for Pricing Tiers
    The Flexfields for Pricing Tiers resource associates descriptive flexfield segments and its values to a tier header.
  • Tier Lines
    Title: Tier Lines
    The Tier Lines resource manages the tier line details for pricing charges and discounts.
  • Name of the tier partial block action. Valid values include Partial blocks and Satisfied blocks. A list of accepted values is defined in the lookup type ORA_QP_PARTIAL_BLOCK_ACTIONS.
  • Title: Partial Block Action
    Maximum Length: 30
    Abbreviation that identifies the tier partial block action.
  • Name of the tier basis.
  • Title: Tier Basis
    Value that uniquely identifies the tier basis.
  • Type of the tier basis. Valid values include Extended amount and Item quantity. A list of accepted values is defined in the lookup type ORA_QP_TIER_BASIS_TYPES.
  • Title: Tier Basis Type
    Maximum Length: 30
    Abbreviation that identifies the type of the tier basis.
Nested Schema : Flexfields for Pricing Tiers
Type: array
Title: Flexfields for Pricing Tiers
The Flexfields for Pricing Tiers resource associates descriptive flexfield segments and its values to a tier header.
Show Source
Nested Schema : Tier Lines
Type: array
Title: Tier Lines
The Tier Lines resource manages the tier line details for pricing charges and discounts.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : pricingTiers-lines-item-patch-request
Type: object
Show Source
Nested Schema : Flexfields for Tier Lines
Type: array
Title: Flexfields for Tier Lines
The Flexfields for Tier Lines resource associates descriptive flexfield segments and its values to a tier line.
Show Source
Nested Schema : pricingTiers-lines-linesDFF-item-patch-request
Type: object
Show Source
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 : pricingTiers-item-response
Type: object
Show Source
Nested Schema : Flexfields for Pricing Tiers
Type: array
Title: Flexfields for Pricing Tiers
The Flexfields for Pricing Tiers resource associates descriptive flexfield segments and its values to a tier header.
Show Source
Nested Schema : Tier Lines
Type: array
Title: Tier Lines
The Tier Lines resource manages the tier line details for pricing charges and discounts.
Show Source
Nested Schema : pricingTiers-headerDFF-item-response
Type: object
Show Source
Nested Schema : pricingTiers-lines-item-response
Type: object
Show Source
Nested Schema : Flexfields for Tier Lines
Type: array
Title: Flexfields for Tier Lines
The Flexfields for Tier Lines resource associates descriptive flexfield segments and its values to a tier line.
Show Source
Nested Schema : pricingTiers-lines-linesDFF-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to update one tier header.

Example cURL Command

Use the following cURL command to submit a request on the REST resource.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/pricingTiers/TierHeaderId"

Example Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
 "AppliesTo" : "Highest tier",
 "AggregationMethod" : "On line"
}

Example Response Body

The following example includes the contents of the response body in JSON format:

{
  "TierHeaderId" : 300100132320156,
  "ParentEntityId" : 300100132320153,
  "ParentEntityType" : "Price list charge",
  "ParentEntityTypeCode" : "PRICE_LIST_CHARGE",
  "TierBasisType" : "Item quantity",
  "TierBasisTypeCode" : "ORA_ITEM_QUANTITY",
  "TierBasis" : null,
  "TierBasisId" : null,
  "AppliesTo" : "Highest tier",
  "AppliesToCode" : "HIGHEST_TIER",
  "ApplicationMethod" : "As block",
  "ApplicationMethodCode" : "AS_BLOCK",
  "PartialBlockAction" : "Include partial block",
  "PartialBlockActionCode" : "PARTIAL_BLOCK",
  "AggregationMethod" : "On line",
  "AggregationMethodCode" : "ORA_ON_LINE",
  "AdjustmentType" : null,
  "AdjustmentTypeCode" : null,
  "AdjustmentBasis" : null,
  "AdjustmentBasisId" : null,
  "EnforceAdjustmentCalculation" : "N",
  "CreationDate" : "2018-05-11T10:50:55+00:00",
  "CreatedBy" : "PRICING_MGR_OPERATIONS",
  "LastUpdateDate" : "2018-05-21T06:56:37+00:00",
  "LastUpdatedBy" : "PRICING_MGR_OPERATIONS"
  }
Back to Top