Create flexfields
post
/fscmRestApi/resources/11.13.18.05/pickWaves/{BatchId}/child/DFF
Request
Path Parameters
-
BatchId(required): integer(int64)
Value that uniquely identifies the pick wave.
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
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield for context name for pick waves. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
-
BatchId: integer
(int64)
Value that uniquely identifies the pick wave.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context(required):
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(required):
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 : pickWaves-DFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield for context name for pick waves. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
-
BatchId: integer
(int64)
Value that uniquely identifies the pick wave.
-
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
- LVVO_V___FLEX_Context
-
Parameters:
- finder:
ValidValuesFinder%3BBind_ApplicationId%3D665%2CBind_DescriptiveFlexfieldCode%3DWSH_PICKING_BATCHES
The following properties are defined on the LOV link relation:- Source Attribute: __FLEX_Context_DisplayValue; Target Attribute: Name
- Display Attribute: Name, Description
- finder:
- LVVO___FLEX_Context
-
Parameters:
- finder:
ValidValuesFinder%3BBind_ApplicationId%3D665%2CBind_DescriptiveFlexfieldCode%3DWSH_PICKING_BATCHES
The following properties are defined on the LOV link relation:- Source Attribute: __FLEX_Context; Target Attribute: ContextCode
- Display Attribute: Name
- finder:
Examples
This example describes how to create flexfields.
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/pickWaves/BatchId/child/DFF"
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.
{ "SourceSystemName": "PIMDH", "BatchPrefix": "RESTL", "ReleaseRule": "M1 High Priority", "ShipFromOrganizationCode": "M1", "ReleaseSubinventory": "Stores", "ReleaseStatus": "Unreleased", "OrderType": "Sales order", "OrderNumber": "AAA_SO_32", "Customer": "Computer Service and Rentals", "PriorReservationsOnlyFlag": true, "FromScheduledShipDate": "2018-10-24T00:00:00+05:30", "ToScheduledShipDate": "2018-10-25T00:00:00+05:30", "FromRequestedDate": "2018-10-24T00:00:00+05:30", "ToRequestedDate": "2018-10-25T00:00:00+05:30", "CarrierPartyName": "Velog", "ModeOfTransport": "Air", "ServiceLevel": "Next day air", "IncludeAssignedLinesFlag": true, "TransportationShipment": "A123", "InitialDestinationId": 24256, "CatalogName": "Inventory", "CategoryName": "Flow Assembly", "ItemNumber": "AS54888", "PickFromSubinventory": "CYCSUB01", "PickFromLocator": "CYC1.1.1", "StagingSubinventory": "ABCSUB01", "StagingLocator": "ABC1.1.1", "ReleaseSequenceRule": "All Standard Orders", "PickSlipGroupingRule": "Departure, Delivery", "AutoPickConfirmFlag": true, "TradeComplianceMethod": "NONE", "ShipConfirmRule": "DOO-RT-AutoShipRule", "CreateShipmentsFlag": true, "ShipmentCreationCriteria": "Across orders", "AutomaticallyPackFlag": true, "DFF": [ { "pickWaveSeg1": "TestGSEg2", "__FLEX_Context": "PICK_WAVE_CONTEXT1", "context1Seg1": "TC1Seg1", "context1Seg2": "S" } ] }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "SourceSystemName": "PIMDH", "BatchPrefix": "RESTL", "BatchId": 5392109, "PickingBatchName": "RESTL-5392109", "ReleaseRuleId": 100000020219004, "ReleaseRule": "M1 High Priority", "ShipFromOrganizationId": 207, "ShipFromOrganizationCode": "M1", "ShipFromOrganizationName": null, "ReleaseSubinventory": "Stores", "ReleaseStatusCode": "E", "ReleaseStatus": "Unreleased", "OrderTypeCode": "SALES_ORDER", "OrderType": "Sales order", "OrderId": 408730, "OrderNumber": "AAA_SO_32", "CustomerId": 1006, "Customer": "Computer Service and Rentals", "ShipSetName": null, "DestinationTypeCode": "S", "DestinationType": "Ship to", "GeographyId": null, "Geography": null, "ShipToLocationId": null,, "ShipToNumber": null, "ShipToAddress1": null, "ShipToAddress2": null, "ShipToAddress3": null, "ShipToAddress4": null, "ShipToCity": null, "ShipToState": null, "ShipToCountry": null, "ShipToPostalCode": null, "ShipToRegion": null, "ShipToLocationCode": null, "ShipToLocation": null, "ZoneId": null, "Zone": null, "PriorReservationsOnlyFlag": "true", "FromScheduledShipDate": "2018-10-23T18:30:00+00:00", "ToScheduledShipDate": "2018-10-24T18:30:00+00:00", "FromRequestedDate": "2018-10-23T18:30:00+00:00", "ToRequestedDate": "2018-10-24T18:30:00+00:00", "CarrierPartyNumber": "21805", "CarrierPartyName": "Velog", "ModeOfTransportCode": "AIR", "ModeOfTransport": "Air", "ServiceLevelCode": "1DA", "ServiceLevel": "Next day air", "ShipMethodCode": "000001_Velog_A_1DA", "ShipMethod": "Velog-A123-Next day air", "ShipmentPriorityCode": null, "ShipmentPriority": null, "ShipmentId": null, "Shipment": null, "ShipmentLine": null, "PackingUnitId": null, "PackingUnit": null, "IncludeAssignedLinesFlag": "true", "TransportationShipment": "A123", "InitialDestinationId": 24256, "InitialDestinationAddress1": "Bandra Complex", "InitialDestinationAddress2": "Mumbai", "InitialDestinationAddress3": null, "InitialDestinationAddress4": null, "InitialDestinationCountry": "IN", "InitialDestinationCity": "Mumbai", "InitialDestinationPostalCode": null, "InitialDestinationState": "Maharastra", "InitialDestinationProvince": null, "InitialDestination": "Bandra Complex,Mumbai,MUMBAI,Maharastra,INDIA", "CatalogId": 1, "CatalogName": "Inventory", "CategoryId": 115, "CategoryName": "Flow Assembly", "InventoryItemId": 149, "ItemNumber": "AS54888", "ItemDescription": null, "PickFromSubinventory": "CYCSUB01", "PickFromLocatorId": 3136, "PickFromLocator": "CYC1.1.1", "StagingSubinventory": "ABCSUB01", "StagingLocatorId": 3134, "StagingLocator": "ABC1.1.1", "ReleaseSequenceRuleId": 1000, "ReleaseSequenceRule": "All Standard Orders", "PickSlipGroupingRuleId": 1201, "PickSlipGroupingRule": "Departure, Delivery", "AutoPickConfirmFlag": "true", "TradeComplianceMethod": "NONE", "ShipConfirmRuleId": 100000019815012, "ShipConfirmRule": "DOO-RT-AutoShipRule", "ActualShipDate": null, "CreateShipmentsFlag": "true", "ShipmentCreationCriteriaCode": "N", "ShipmentCreationCriteria": "Across orders", "AutomaticallyPackFlag": "true", "AppendShipmentsFlag": "false", "CreatedBy": "WHSE_MGR_M1", "CreationDate": "2018-11-12T12:59:24.016+00:00", "PickReleaseFlag": null, "ReleaseMode": null, "ReturnStatus": "S", "ReturnMessage": "The pick wave was created." }