Update an exception
patch
/fscmRestApi/resources/11.13.18.05/shippingExceptions/{ShippingExceptionId}
Request
Path Parameters
-
ShippingExceptionId(required): integer(int64)
Value that uniquely identifies the shipping exception.
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-
DFF: array
Flexfields for Shipping Exceptions
Title:
Flexfields for Shipping ExceptionsThe Flexfields for Shipping Exceptions manages details about shipping exceptions. -
Status: string
Maximum Length:
80Status of the shipping exception.
Nested Schema : Flexfields for Shipping Exceptions
Type:
arrayTitle:
Flexfields for Shipping ExceptionsThe Flexfields for Shipping Exceptions manages details about shipping exceptions.
Show Source
Nested Schema : shippingExceptions-DFF-item-patch-request
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for shipping exceptions. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context display value for shipping exceptions. -
ExceptionId: integer
(int64)
Value that uniquely identifies the shipping exception.
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 : shippingExceptions-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the shipping exception. -
CreationDate: string
(date-time)
Read Only:
trueDate when the shipping exception was created. -
DFF: array
Flexfields for Shipping Exceptions
Title:
Flexfields for Shipping ExceptionsThe Flexfields for Shipping Exceptions manages details about shipping exceptions. -
ExceptionComments: string
Maximum Length:
2000Comments for the shipping exception. -
ExceptionDescription: string
Read Only:
trueMaximum Length:100Description of the shipping exception. -
Item: string
Read Only:
trueMaximum Length:300Value that uniquely identifies the inventory item. -
ItemDescription: string
Read Only:
trueMaximum Length:300Description of the inventory item. -
ItemId: integer
(int64)
Read Only:
trueValue that uniquely identifies the item. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate when the shipping exception was most recently updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the shipping exception. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
OrganizationCode: string
Read Only:
trueMaximum Length:18Abbreviation that identifies the inventory organization. -
OrganizationId: integer
Read Only:
trueValue that uniquely identifies the inventory organization. -
OrganizationName: string
Read Only:
trueMaximum Length:240Name of the inventory organization. -
PackingUnit: string
Maximum Length:
30Value that uniquely identifies the packing unit. -
PackingUnitId: integer
(int64)
Value that uniquely identifies the container used when packing the detail line.
-
Severity: string
Read Only:
trueMaximum Length:80Severity of the shipping exception. -
Shipment: string
Maximum Length:
30Name of the material shipment. -
ShipmentId: integer
(int64)
Value that uniquely identifies the shipment.
-
ShipmentLine: integer
(int64)
Value that uniquely identifies the shipment line.
-
ShippingException: string
Maximum Length:
80Display name of the shipping exception. -
ShippingExceptionCode: string
Maximum Length:
50Abbreviation that identifies the shipping exception. -
ShippingExceptionId: integer
(int64)
Read Only:
trueValue that uniquely identifies the shipping exception. -
SourceOrder: string
Read Only:
trueMaximum Length:150Number that identifies the source order header. -
SourceOrderFulfillmentLine: string
Read Only:
trueMaximum Length:150Number that identifies the source order fulfillment line within the source order line. -
SourceOrderFulfillmentLineId: integer
Read Only:
trueValue that uniquely identifies the source order fulfillment line. -
SourceOrderLine: string
Read Only:
trueMaximum Length:150Number that identifies the source order line within the source order header. -
SourceSystem: string
Read Only:
trueMaximum Length:80Name of the source application. -
SourceSystemId: integer
Read Only:
trueValue that uniquely identifies the source application. -
Status: string
Maximum Length:
80Status of the shipping exception.
Nested Schema : Flexfields for Shipping Exceptions
Type:
arrayTitle:
Flexfields for Shipping ExceptionsThe Flexfields for Shipping Exceptions manages details about shipping exceptions.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : shippingExceptions-DFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for shipping exceptions. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context display value for shipping exceptions. -
ExceptionId: integer
(int64)
Value that uniquely identifies the shipping exception.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
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.
Links
- DFF
-
Parameters:
- ShippingExceptionId:
$request.path.ShippingExceptionId
The Flexfields for Shipping Exceptions manages details about shipping exceptions. - ShippingExceptionId:
Examples
This example describes how to update an exception.
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/shippingExceptions/ShippingExceptionId"
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.
{
"ShippingExceptionCode" : "WSH_SR_ERROR",
"ShipmentId" : 2331592,
"Status": "Closed",
"DFF": [
{
"_Global1": "a2",
"_Global2": "b3"
}
]
}
Example Response Body
The following example includes the contents of the response body in JSON format:
{
"ShippingExceptionId": 300100168920390,
"ShippingExceptionCode": "WSH_SR_ERROR",
"ShippingException": "Shipment Request Error",
"Severity": "Error",
"Status": "Closed",
"ExceptionDescription": "Line has shipment request errors in shipment message interface.",
"ExceptionComments": "Testing DFF post",
"CreationDate": "2018-10-24T22:50:23+00:00",
"CreatedBy": "WHSE_MGR_M1",
"LastUpdateDate": "2018-12-03T16:08:37+00:00",
"LastUpdatedBy": "WHSE_MGR_M1",
"ShipmentId": 2331592,
"Shipment": "2331592",
"ShipmentLine": null,
"PackingUnitId": null,
"PackingUnit": null,
"ItemId": null,
"Item": nulll,
"OrganizationId": 207,
"OrganizationCode": "M1",
"OrganizationName": "Tall Manufacturing",
"SourceSystemId": null,
"SourceSystem": null,
"SourceOrder": null,
"SourceOrderLine": null,
"SourceOrderFulfillmentLine": null,
"SourceOrderFulfillmentLineId": null,
"ItemDescription":null
"DFF": [
{
"ExceptionId": 300100168920390,
"_Global1": "a2",
"_Global2": "b3",
"__FLEX_Context": null,
"__FLEX_Context_DisplayValue": null,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100168920390/child/DFF/300100168920390",
"name": "DFF",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000878"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100168920390/child/DFF/300100168920390",
"name": "DFF",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100168920390",
"name": "shippingExceptions",
"kind": "item"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100168920390/child/DFF/300100168920390/lov/LVVO___FLEX_Context",
"name": "LVVO___FLEX_Context",
"kind": "collection"
}
]
}
],
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100168920390",
"name": "shippingExceptions",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000878"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100168920390",
"name": "shippingExceptions",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100168920390/child/DFF",
"name": "DFF",
"kind": "collection"
}
]
}