Update exception details of an item exception
patch
/fscmRestApi/resources/11.13.18.05/demandAndSupplyPlans/{PlanId}/child/ItemExceptions/{ItemExceptionsUniqID}
Request
Path Parameters
-
ItemExceptionsUniqID(required): string
This is the hash key of the attributes which make up the composite key--- PlanId and ExceptionDetailId ---for the Item Exceptions resource and used to uniquely identify an instance of Item Exceptions. The client should not generate the hash key value. Instead, the client should query on the Item Exceptions collection resource with a filter on the primary key values in order to navigate to a specific instance of Item Exceptions.
For example: ItemExceptions?q=PlanId=<value1>;ExceptionDetailId=<value2> -
PlanId(required): integer
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
-
Metadata-Context: string
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: string
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-
ActionTaken: integer
(int64)
Title:
Action TakenContains one of the following values: 1 or 2. If 1, then it indicates that an action is taken to resolve the exception. If 2, then no action is taken. Default value is 2. -
Notes: integer
(int64)
Title:
NotesContains information created or updated for an exception detail represented as notes.
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 : demandAndSupplyPlans-ItemExceptions-item-response
Type:
Show Source
object-
ActionTaken: integer
(int64)
Title:
Action TakenContains one of the following values: 1 or 2. If 1, then it indicates that an action is taken to resolve the exception. If 2, then no action is taken. Default value is 2. -
Category: string
Title:
CategoryRead Only:trueMaximum Length:4000Category of the item in the exception. the category is derived from the default product hierarchy or any product hierarchy of the item associated in the plan's dimension catalog. -
CurrencyCode: string
Title:
CurrencyRead Only:trueMaximum Length:4000Code for the currency of the demand's organization in the exception. -
DataSecurityEditAllowed: string
Read Only:
trueContains one of the following: yes or null. If yes, then the user has data security edit privileges. If null, then the user doesn't have data security edit privileges. -
DaysOfExcess: number
Title:
Days of ExcessRead Only:trueNumber of days of excess inventory calculated by the plan in an item with excess inventory exception. -
DaysOfShortage: number
Title:
Days of ShortageRead Only:trueNumber of days of shortage of supply for an item calculated by the plan in an items with a shortage exception. -
Exception: string
Title:
ExceptionRead Only:trueMaximum Length:34Name of an exception. -
ExceptionDetailId: integer
Read Only:
trueValue that uniquely identifies the item exception detail. -
ExceptionId: integer
Read Only:
trueNumber that uniquely identifies an exception. -
ExceptionQuantity: number
Title:
Exception QuantityRead Only:trueNumber that represents the quantity of supply in an item exception. This represents the shortage quantity in the item with a shortage exception, the quantity below safety sock in items below safety stock, the quantity of excess in item with excess inventory exception, and the expired quantity in items with expired lot exception. -
ExceptionStoreId: integer
(int64)
Read Only:
trueValue that uniquely identifies the item stored item exception. -
FromDate: string
(date)
Title:
From DateRead Only:trueEffective start date of an exception detail calculated by the plan. -
InventoryItemId: integer
Read Only:
trueValue that uniquely identifies the item in the exception. -
Item: string
Title:
ItemRead Only:trueMaximum Length:4000Name of the item in the exception. -
ItemDescription: string
Title:
Item DescriptionRead Only:trueMaximum Length:4000Description of the item in the demand in the exception. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate when the exception detail was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64Name of the user who last updated the exception detail. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Notes: integer
(int64)
Title:
NotesContains information created or updated for an exception detail represented as notes. -
Organization: string
Title:
OrganizationRead Only:trueMaximum Length:4000Name of the organization of an item for which an exception was calculated by the plan. -
OrganizationId: integer
Read Only:
trueValue that uniquely identifies the organization of an item in the exception -
PlanId: integer
Read Only:
trueValue that uniquely identifies the plan in which exception is generated. -
Planner: string
Title:
PlannerRead Only:trueMaximum Length:10Name of the planner associated with the item in the exception. -
PlannerDescription: string
Title:
Planner DescriptionRead Only:trueMaximum Length:4000Description of the planner associated with the item in the exception. -
ProjectedAvailableBalance: number
Title:
Projected Available BalanceRead Only:trueNumber that represents the projected available balance of the item in the exception. -
RowModified: string
Read Only:
trueText that identifies whether the row is new or modified. Valid values are yes or null. If yes, then the row is new or modified. If null, then the row isn't new or modified. -
SafetyStockTarget: number
Title:
Safety Stock TargetRead Only:trueNumber that represents the target level of the safety stock for an item in an organization in the exception. -
StoreKey: string
Read Only:
trueMaximum Length:240Name of the store key in the supply exception. -
ToDate: string
(date)
Title:
To DateRead Only:trueEffective end date of an exception detail calculated by the plan. -
ValueOfShortage: number
Title:
Value of ShortageRead Only:trueName that represents the value of the shortage quantity of supply for an item that's in an exception.
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.