Create an exception
post
/fscmRestApi/resources/11.13.18.05/shippingExceptions
Request
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.
-
Upsert-Mode:
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
- application/json
Root Schema : schema
Type:
Show Source
object
-
DFF: array
Flexfields for Shipping Exceptions
Title:
Flexfields for Shipping Exceptions
The Flexfields for Shipping Exceptions manages details about shipping exceptions. -
ExceptionComments(required): string
Maximum Length:
2000
Comments for the shipping exception. -
PackingUnit: string
Maximum Length:
30
Value that uniquely identifies the packing unit. -
PackingUnitId: integer
(int64)
Value that uniquely identifies the container used when packing the detail line.
-
Shipment: string
Maximum Length:
30
Name 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:
80
Display name of the shipping exception. -
ShippingExceptionCode: string
Maximum Length:
50
Abbreviation that identifies the shipping exception. -
Status: string
Maximum Length:
80
Status of the shipping exception.
Nested Schema : Flexfields for Shipping Exceptions
Type:
array
Title:
Flexfields for Shipping Exceptions
The Flexfields for Shipping Exceptions manages details about shipping exceptions.
Show Source
Nested Schema : shippingExceptions-DFF-item-post-request
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for shipping exceptions. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive 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:
true
Maximum Length:64
User who created the shipping exception. -
CreationDate: string
(date-time)
Read Only:
true
Date when the shipping exception was created. -
DFF: array
Flexfields for Shipping Exceptions
Title:
Flexfields for Shipping Exceptions
The Flexfields for Shipping Exceptions manages details about shipping exceptions. -
ExceptionComments: string
Maximum Length:
2000
Comments for the shipping exception. -
ExceptionDescription: string
Read Only:
true
Maximum Length:100
Description of the shipping exception. -
Item: string
Read Only:
true
Maximum Length:300
Value that uniquely identifies the inventory item. -
ItemDescription: string
Read Only:
true
Maximum Length:300
Description of the inventory item. -
ItemId: integer
(int64)
Read Only:
true
Value that uniquely identifies the item. -
LastUpdateDate: string
(date-time)
Read Only:
true
Date when the shipping exception was most recently updated. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who most recently updated the shipping exception. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
OrganizationCode: string
Read Only:
true
Maximum Length:18
Abbreviation that identifies the inventory organization. -
OrganizationId: integer
Read Only:
true
Value that uniquely identifies the inventory organization. -
OrganizationName: string
Read Only:
true
Maximum Length:240
Name of the inventory organization. -
PackingUnit: string
Maximum Length:
30
Value 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:
true
Maximum Length:80
Severity of the shipping exception. -
Shipment: string
Maximum Length:
30
Name 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:
80
Display name of the shipping exception. -
ShippingExceptionCode: string
Maximum Length:
50
Abbreviation that identifies the shipping exception. -
ShippingExceptionId: integer
(int64)
Read Only:
true
Value that uniquely identifies the shipping exception. -
SourceOrder: string
Read Only:
true
Maximum Length:150
Number that identifies the source order header. -
SourceOrderFulfillmentLine: string
Read Only:
true
Maximum Length:150
Number that identifies the source order fulfillment line within the source order line. -
SourceOrderFulfillmentLineId: integer
Read Only:
true
Value that uniquely identifies the source order fulfillment line. -
SourceOrderLine: string
Read Only:
true
Maximum Length:150
Number that identifies the source order line within the source order header. -
SourceSystem: string
Read Only:
true
Maximum Length:80
Name of the source application. -
SourceSystemId: integer
Read Only:
true
Value that uniquely identifies the source application. -
Status: string
Maximum Length:
80
Status of the shipping exception.
Nested Schema : Flexfields for Shipping Exceptions
Type:
array
Title:
Flexfields for Shipping Exceptions
The Flexfields for Shipping Exceptions manages details about shipping exceptions.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : shippingExceptions-DFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for shipping exceptions. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for shipping exceptions. -
ExceptionId: integer
(int64)
Value that uniquely identifies the shipping exception.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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 create an exception.
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/shippingExceptions"
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.
{ "ShippingExceptionCode" : "WSH_SR_ERROR", "ExceptionComments" : "Testing DFF post", "ShipmentId" : 2331592, "DFF": [ { "_Global1": "a2", "_Global2": "b3" } ] }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "ShippingExceptionId": 300100169058931, "ShippingExceptionCode": "WSH_SR_ERROR", "ShippingException": "Shipment Request Error", "Severity": "Error", "Status": "Open", "ExceptionDescription": "Line has shipment request errors in shipment message interface.", "ExceptionComments": "Testing DFF post", "CreationDate": "2018-12-03T15:59:23+00:00", "CreatedBy": "WHSE_MGR_M1", "LastUpdateDate": "2018-12-03T15:59:24.115+00:00", "LastUpdatedBy": "WHSE_MGR_M1", "ShipmentId": 2331592, "Shipment": "2331592", "ShipmentLine": null, "PackingUnitId": null, "PackingUnit": null, "ItemId": null, "Item" : null, "OrganizationId": 207, "OrganizationCode": "M1", "OrganizationName": "Tall Manufacturing", "SourceSystemId": null, "SourceSystem": null, "SourceOrder": null, "SourceOrderLine": null, "SourceOrderFulfillmentLine": null, "SourceOrderFulfillmentLineId": null, "ItemDescription" : null, "DFF": [ { "ExceptionId": 300100169058931, "_Global1": "a2", "_Global2": "b3", "__FLEX_Context": null, "__FLEX_Context_DisplayValue": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100169058931/child/DFF/300100169058931", "name": "DFF", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100169058931/child/DFF/300100169058931", "name": "DFF", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100169058931", "name": "shippingExceptions", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100169058931/child/DFF/300100169058931/lov/LVVO___FLEX_Context", "name": "LVVO___FLEX_Context", "kind": "collection" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100169058931", "name": "shippingExceptions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100169058931", "name": "shippingExceptions", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/shippingExceptions/300100169058931/child/DFF", "name": "DFF", "kind": "collection" } ] }