Service Url: GET /scannedDispatchHeaders
Parameters: None
Query Parameters:
scannedId – String
Request Body: None
Response Body:
ListScannedInventoryDispatchHeadersResponse
inventoryDispatchHeaders – List<IKeyedListElement>
Remarks: Supports both application/xml,application/json media-types
Example Request:1http://localhost:8080/WebRestApi/rest/v1.1/inventoryManagement/scannedDispatchHeaders?scannedId=ID001827
Example Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:listScannedInventoryDispatchHeadersResponse xmlns:ns2="http://www.enactor.com/retail" xmlns:ns3="http://www.enactor.com/core" xmlns:ns4="http://www.enactor.com/orders" xmlns:ns5="http://www.enactor.com/crm" xmlns:ns6="http://docs.oasis-open.org/ns/bpel4people/ws-humantask/types/200803" xmlns:ns7="http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803" xmlns:ns8="http://www.enactor.com/retail/storedRetailTransaction/service" xmlns:ns9="http://docs.oasis-open.org/wsbpel/2.0/serviceref" xmlns:ns10="http://www.enactor.com/retail/storedRestaurantSaleTransaction/service" xmlns:ns11="http://www.enactor.com/addressLookup/service" xmlns:ns12="http://docs.oasis-open.org/ns/bpel4people/ws-humantask/api/200803" xmlns:ns13="http://www.enactor.com/crm/customerLoyalty/service" xmlns:ns14="http://www.enactor.com/retail/restaurantTableStatus/service" xmlns:ns15="http://www.enactor.com/tools">
<ns2:inventoryDispatchHeaders>
<ns2:ListElement xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns3:ListElement">
<ns3:key xsi:type="ns2:InventoryDispatchHeaderKey">ID001827</ns3:key>
<ns3:descriptionProperty>inventoryDispatchId</ns3:descriptionProperty>
<ns3:data>
<ns3:values>
<ns3:arrayObject xsi:type="ns3:String">0001</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:WrappedPrimitive">
<ns3:value xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:dateTime">2021-05-19T07:52:37+05:30</ns3:value>
</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String"></ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String">ID001827</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String">DO005197</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String">DISPATCHED</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:WrappedPrimitive">
<ns3:value xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:int">0</ns3:value>
</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:WrappedPrimitive">
<ns3:value xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:dateTime">2021-05-19T07:55:39+05:30</ns3:value>
</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String">LOCATION</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String">0003</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String">FULLY_DISPATCHED</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String"></ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String">0001</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String">IST04</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String">All</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String">All</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String">region</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String"></ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:String"></ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:WrappedPrimitive">
<ns3:value xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:int">1</ns3:value>
</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:WrappedPrimitive">
<ns3:value xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:long">5000</ns3:value>
</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:WrappedPrimitive">
<ns3:value xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:long">5000</ns3:value>
</ns3:arrayObject>
<ns3:arrayObject xsi:type="ns3:WrappedPrimitive">
<ns3:value xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:long">0</ns3:value>
</ns3:arrayObject>
</ns3:values>
</ns3:data>
<ns3:description>ID001827</ns3:description>
</ns2:ListElement>
</ns2:inventoryDispatchHeaders>
</ns2:listScannedInventoryDispatchHeadersResponse>
{
"inventoryDispatchHeaders": {
"pageSize": 0,
"currentOffset": 0,
"size": -1,
"list": [
{
"key": {
"@type": "inventoryDispatchHeaderKey",
"id": "ID001827"
},
"descriptionProperty": "inventoryDispatchId",
"data": {
"SUM(IDI:dispatchedCostBase)": 0,
"destinationLocation.locationId": "0003",
"SUM(IDI:dispatchedRetailExTaxBase)": 5000,
"distributionOrderKey.distributionOrderId": "DO005197",
"reasonKey.groupKey.groupHierarchyId": "All",
"sourceLocationKey.locationId": "0001",
"reasonKey.reasonId": "IST04",
"reasonKey.groupKey.groupId": "All",
"dispatchStatus": "FULLY_DISPATCHED",
"inventoryDispatchId": "ID001827",
"reasonKey.groupKey.groupTypeId": "region",
"totalDispatchedUnits": 0,
"createdDate.localDateTime": 1621390957000,
"destinationType": "LOCATION",
"dispatchedDate.localDateTime": 1621391139000,
"createdAtLocationKey.locationId": "0001",
"SUM(IDI:dispatchedQty)": 1,
"SUM(IDI:dispatchedRetailIncTaxBase)": 5000,
"status": "DISPATCHED"
}
}
]
}
}