Update one product exclusion
patch
/fscmRestApi/resources/11.13.18.05/channelCustomerPrograms/{ProgramId}/child/productRules/{ProgramLineId}/child/exclusions/{ExclusionId}
Request
Path Parameters
-
ExclusionId(required): integer(int64)
Value that uniquely identifies the product rule exclusion.
-
ProgramId(required): integer(int64)
Value that uniquely identifies the customer program.
-
ProgramLineId(required): integer
Value that uniquely identifies the product rule. It is a primary key that the application generates when it creates the product rule.
Header Parameters
-
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
Catalog: string
Maximum Length:
255Name of the catalog of the category selected for the product rule. -
CatalogCode: string
Maximum Length:
255Abbreviation that identifies the catalog of the category selected for the product rule. -
CategoryCode: string
Maximum Length:
820Abbreviation that identifies the category. -
Item: string
Maximum Length:
255Name of the item in the inventory. -
ItemId: string
Maximum Length:
240Value that uniquely identifies the item in the inventory. -
LineLevel: string
Maximum Length:
255Level at which exclusions are defined. A list of accepted values is defined in the lookup ORA_CJM_CUST_PROG_ITEM_LEVEL. -
LineLevelCode: string
Maximum Length:
30Abbreviation that identifies the level at which exclusions are defined. -
ProgramLineId: integer
(int64)
Value that uniquely identifies the product rule.
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 : channelCustomerPrograms-productRules-exclusions-item-response
Type:
Show Source
object-
Catalog: string
Maximum Length:
255Name of the catalog of the category selected for the product rule. -
CatalogCode: string
Maximum Length:
255Abbreviation that identifies the catalog of the category selected for the product rule. -
Category: string
Read Only:
trueMaximum Length:255Name of the category. -
CategoryCode: string
Maximum Length:
820Abbreviation that identifies the category. -
CategoryDescription: string
Read Only:
trueMaximum Length:255Description of the category. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
ExclusionId: integer
(int64)
Value that uniquely identifies the product rule exclusion.
-
Item: string
Maximum Length:
255Name of the item in the inventory. -
ItemDescription: string
Read Only:
trueMaximum Length:255Description of the item in the inventory. -
ItemId: string
Maximum Length:
240Value that uniquely identifies the item in the inventory. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32Login details of the last user who updated the record. -
LineLevel: string
Maximum Length:
255Level at which exclusions are defined. A list of accepted values is defined in the lookup ORA_CJM_CUST_PROG_ITEM_LEVEL. -
LineLevelCode: string
Maximum Length:
30Abbreviation that identifies the level at which exclusions are defined. -
LineNumber: number
Number that identifies the exclusion line.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ProgramLineId: integer
(int64)
Value that uniquely identifies the product rule.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
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.