Create items in a price list

post

/fscmRestApi/resources/11.13.18.05/priceLists/{PriceListId}/child/items

Request

Path Parameters
  • The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
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.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Price List Charges
Type: array
Title: Price List Charges
The Price List Charges resource manages the charges of items in a price list.
Show Source
Nested Schema : Price List Component Items
Type: array
Title: Price List Component Items
The Price List Component Items resource manages the component items in a price list.
Show Source
Nested Schema : Price List Covered Items
Type: array
Title: Price List Covered Items
The Price List Covered Items resource manages the covered items in a price list.
Show Source
Nested Schema : itemsDFF
Type: array
Show Source
Nested Schema : Rate Plans
Type: array
Title: Rate Plans
The Rate Plans resource manages the rate plans. This resource isn't currently used.
Show Source
Nested Schema : priceLists-items-charges-item-post-request
Type: object
Show Source
Nested Schema : chargesDFF
Type: array
Show Source
Nested Schema : Pricing Matrixes
Type: array
Title: Pricing Matrixes
A pricing matrix represents a way to manage price adjustments, discounts, rate tables, and other matrix features.
Show Source
Nested Schema : Tier Headers
Type: array
Title: Tier Headers
A tier header captures information about tier adjustments against usage rates. For example, tier basis, application and aggregation.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : priceLists-items-charges-pricingMatrixes-item-post-request
Type: object
Show Source
Nested Schema : Matrix Dimensions
Type: array
Title: Matrix Dimensions
A matrix dimension is a condition with which you can drive price adjustments, discounts, and rate tables.
Show Source
Nested Schema : Matrix Rules
Type: array
Title: Matrix Rules
A matrix rule represents a condition based price adjustment, discount, rate table, and other features.
Show Source
Nested Schema : priceLists-items-charges-pricingMatrixes-dimensions-item-post-request
Type: object
Show Source
Nested Schema : priceLists-items-charges-pricingMatrixes-rules-item-post-request
Type: object
Show Source
Nested Schema : priceLists-items-charges-pricingTiers-item-post-request
Type: object
Show Source
Nested Schema : headerDFF
Type: array
Show Source
Nested Schema : Tier Lines
Type: array
Title: Tier Lines
A tier line captures information about tier adjustments against usage rates. For example, minimum, maximum and adjustments.
Show Source
Nested Schema : priceLists-items-charges-pricingTiers-headerDFF-item-post-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : linesDFF
Type: array
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : priceLists-items-componentItems-item-post-request
Type: object
Show Source
Nested Schema : Price List Charges
Type: array
Title: Price List Charges
The Price List Charges resource manages the charges of items in a price list.
Show Source
Nested Schema : priceLists-items-componentItems-componentCharges-item-post-request
Type: object
Show Source
Nested Schema : chargesDFF
Type: array
Show Source
Nested Schema : priceLists-items-componentItems-componentCharges-chargesDFF-item-post-request
Type: object
Show Source
Nested Schema : priceLists-items-coveredItems-item-post-request
Type: object
Show Source
Nested Schema : Price List Charges
Type: array
Title: Price List Charges
The Price List Charges resource manages the charges of items in a price list.
Show Source
Nested Schema : priceLists-items-coveredItems-coveredCharges-item-post-request
Type: object
Show Source
Nested Schema : chargesDFF
Type: array
Show Source
Nested Schema : priceLists-items-coveredItems-coveredCharges-chargesDFF-item-post-request
Type: object
Show Source
Nested Schema : priceLists-items-itemsDFF-item-post-request
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-item-post-request
Type: object
Show Source
Nested Schema : Rate Plan Charges
Type: array
Title: Rate Plan Charges
A rate plan charge represents usage rate against which consumption would be rated. It also represents one time and recurring charges.
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-item-post-request
Type: object
Show Source
Nested Schema : Pricing Matrixes
Type: array
Title: Pricing Matrixes
A pricing matrix represents a way to manage price adjustments, discounts, rate tables, and other matrix features.
Show Source
Nested Schema : chargesDFF
Type: array
Show Source
Nested Schema : Pricing Matrixes
Type: array
Title: Pricing Matrixes
A pricing matrix represents a way to manage price adjustments, discounts, rate tables, and other matrix features.
Show Source
Nested Schema : Tier Headers
Type: array
Title: Tier Headers
A tier header captures information about tier adjustments against usage rates. For example, tier basis, application and aggregation.
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-basePriceMatrixes-item-post-request
Type: object
Show Source
Nested Schema : Matrix Dimensions
Type: array
Title: Matrix Dimensions
A matrix dimension is a condition with which you can drive price adjustments, discounts, and rate tables.
Show Source
Nested Schema : Matrix Rules
Type: array
Title: Matrix Rules
A matrix rule represents a condition based price adjustment, discount, rate table, and other features.
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-basePriceMatrixes-dimensions-item-post-request
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-basePriceMatrixes-rules-item-post-request
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-chargesDFF-item-post-request
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingMatrixes-item-post-request
Type: object
Show Source
Nested Schema : Matrix Dimensions
Type: array
Title: Matrix Dimensions
A matrix dimension is a condition with which you can drive price adjustments, discounts, and rate tables.
Show Source
Nested Schema : Matrix Rules
Type: array
Title: Matrix Rules
A matrix rule represents a condition based price adjustment, discount, rate table, and other features.
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingMatrixes-dimensions-item-post-request
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingMatrixes-rules-item-post-request
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingTiers-item-post-request
Type: object
Show Source
Nested Schema : headerDFF
Type: array
Show Source
Nested Schema : Tier Lines
Type: array
Title: Tier Lines
A tier line captures information about tier adjustments against usage rates. For example, minimum, maximum and adjustments.
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingTiers-headerDFF-item-post-request
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingTiers-lines-item-post-request
Type: object
Show Source
Nested Schema : linesDFF
Type: array
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingTiers-lines-linesDFF-item-post-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 : priceLists-items-item-response
Type: object
Show Source
Nested Schema : Price List Charges
Type: array
Title: Price List Charges
The Price List Charges resource manages the charges of items in a price list.
Show Source
Nested Schema : Price List Component Items
Type: array
Title: Price List Component Items
The Price List Component Items resource manages the component items in a price list.
Show Source
Nested Schema : Price List Covered Items
Type: array
Title: Price List Covered Items
The Price List Covered Items resource manages the covered items in a price list.
Show Source
Nested Schema : itemsDFF
Type: array
Show Source
Nested Schema : Rate Plans
Type: array
Title: Rate Plans
The Rate Plans resource manages the rate plans. This resource isn't currently used.
Show Source
Nested Schema : priceLists-items-charges-item-response
Type: object
Show Source
Nested Schema : chargesDFF
Type: array
Show Source
Nested Schema : Pricing Matrixes
Type: array
Title: Pricing Matrixes
A pricing matrix represents a way to manage price adjustments, discounts, rate tables, and other matrix features.
Show Source
Nested Schema : Tier Headers
Type: array
Title: Tier Headers
A tier header captures information about tier adjustments against usage rates. For example, tier basis, application and aggregation.
Show Source
Nested Schema : priceLists-items-charges-chargesDFF-item-response
Type: object
Show Source
Nested Schema : priceLists-items-charges-pricingMatrixes-item-response
Type: object
Show Source
Nested Schema : Matrix Dimensions
Type: array
Title: Matrix Dimensions
A matrix dimension is a condition with which you can drive price adjustments, discounts, and rate tables.
Show Source
Nested Schema : Matrix Rules
Type: array
Title: Matrix Rules
A matrix rule represents a condition based price adjustment, discount, rate table, and other features.
Show Source
Nested Schema : priceLists-items-charges-pricingMatrixes-dimensions-item-response
Type: object
Show Source
Nested Schema : priceLists-items-charges-pricingMatrixes-rules-item-response
Type: object
Show Source
Nested Schema : priceLists-items-charges-pricingTiers-item-response
Type: object
Show Source
Nested Schema : headerDFF
Type: array
Show Source
Nested Schema : Tier Lines
Type: array
Title: Tier Lines
A tier line captures information about tier adjustments against usage rates. For example, minimum, maximum and adjustments.
Show Source
Nested Schema : priceLists-items-charges-pricingTiers-headerDFF-item-response
Type: object
Show Source
Nested Schema : priceLists-items-charges-pricingTiers-lines-item-response
Type: object
Show Source
Nested Schema : linesDFF
Type: array
Show Source
Nested Schema : priceLists-items-charges-pricingTiers-lines-linesDFF-item-response
Type: object
Show Source
Nested Schema : priceLists-items-componentItems-item-response
Type: object
Show Source
Nested Schema : Price List Charges
Type: array
Title: Price List Charges
The Price List Charges resource manages the charges of items in a price list.
Show Source
Nested Schema : priceLists-items-componentItems-componentCharges-item-response
Type: object
Show Source
Nested Schema : chargesDFF
Type: array
Show Source
Nested Schema : priceLists-items-componentItems-componentCharges-chargesDFF-item-response
Type: object
Show Source
Nested Schema : priceLists-items-coveredItems-item-response
Type: object
Show Source
Nested Schema : Price List Charges
Type: array
Title: Price List Charges
The Price List Charges resource manages the charges of items in a price list.
Show Source
Nested Schema : priceLists-items-coveredItems-coveredCharges-item-response
Type: object
Show Source
Nested Schema : chargesDFF
Type: array
Show Source
Nested Schema : priceLists-items-coveredItems-coveredCharges-chargesDFF-item-response
Type: object
Show Source
Nested Schema : priceLists-items-itemsDFF-item-response
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-item-response
Type: object
Show Source
Nested Schema : Rate Plan Charges
Type: array
Title: Rate Plan Charges
A rate plan charge represents usage rate against which consumption would be rated. It also represents one time and recurring charges.
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-item-response
Type: object
Show Source
Nested Schema : Pricing Matrixes
Type: array
Title: Pricing Matrixes
A pricing matrix represents a way to manage price adjustments, discounts, rate tables, and other matrix features.
Show Source
Nested Schema : chargesDFF
Type: array
Show Source
Nested Schema : Pricing Matrixes
Type: array
Title: Pricing Matrixes
A pricing matrix represents a way to manage price adjustments, discounts, rate tables, and other matrix features.
Show Source
Nested Schema : Tier Headers
Type: array
Title: Tier Headers
A tier header captures information about tier adjustments against usage rates. For example, tier basis, application and aggregation.
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-basePriceMatrixes-item-response
Type: object
Show Source
Nested Schema : Matrix Dimensions
Type: array
Title: Matrix Dimensions
A matrix dimension is a condition with which you can drive price adjustments, discounts, and rate tables.
Show Source
Nested Schema : Matrix Rules
Type: array
Title: Matrix Rules
A matrix rule represents a condition based price adjustment, discount, rate table, and other features.
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-basePriceMatrixes-dimensions-item-response
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-basePriceMatrixes-rules-item-response
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-chargesDFF-item-response
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingMatrixes-item-response
Type: object
Show Source
Nested Schema : Matrix Dimensions
Type: array
Title: Matrix Dimensions
A matrix dimension is a condition with which you can drive price adjustments, discounts, and rate tables.
Show Source
Nested Schema : Matrix Rules
Type: array
Title: Matrix Rules
A matrix rule represents a condition based price adjustment, discount, rate table, and other features.
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingMatrixes-dimensions-item-response
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingMatrixes-rules-item-response
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingTiers-item-response
Type: object
Show Source
Nested Schema : headerDFF
Type: array
Show Source
Nested Schema : Tier Lines
Type: array
Title: Tier Lines
A tier line captures information about tier adjustments against usage rates. For example, minimum, maximum and adjustments.
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingTiers-headerDFF-item-response
Type: object
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingTiers-lines-item-response
Type: object
Show Source
Nested Schema : linesDFF
Type: array
Show Source
Nested Schema : priceLists-items-ratePlans-ratePlanCharges-pricingTiers-lines-linesDFF-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to create items in a price list.

Example cURL Command

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

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/priceLists/PriceListId/child/items"

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 creates.

{ 
 "Item" : "AS54888",
 "ItemLevel" : "Item",
 "LineType" : "Buy",
 "PricingUOM" : "Each"
}

Example Response Body

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

{
    "PriceListId": 300100149278040,
    "PriceListItemId": 300100149278281,
    "Item": "AS54888",
    "InventoryItemId": 149,
    "ItemDescription": "Standard Desktop",
    "PricingUOM": "Each",
    "PricingUOMCode": "Ea",
    "LineType": "Buy",
    "LineTypeCode": "ORA_BUY",
    "PrimaryPricingUOM": "Y",
    "ServiceDurationPeriod": null,
    "ServiceDurationPeriodCode": null,
    "ServiceDuration": null,
    "ItemLevelCode": "ITEM",
    "ItemLevel": "Item",
    "CreationDate": "2018-05-18T11:04:44.001+00:00",
    "CreatedBy": "PRICING_MGR_OPERATIONS",
    "LastUpdateDate": "2018-05-18T11:04:44.139+00:00",
    "LastUpdatedBy": "PRICING_MGR_OPERATIONS"
}
Back to Top