Service Url: POST /distributionOrderHeaders
Parameters: None
Query Parameters: None
Request Body:
ListDistributionOrderHeadersRequest
sourceLocationId -String
statusesList – List<String>
distributionOrderId -String
Response Body:
ListDistributionOrderHeadersResponse
distributionOrderHeaderListElementsList – List<IDistributionOrderHeaderListElement> → The list of Distribution Order Headers
Remarks: Supports both application/xml,application/json media-types
Example Request:
http://localhost:8080/WebRestApi/rest/v1.1/inventoryManagement/distributionOrderHeaders
{
"sourceLocationId" : "0001",
"statusesList" : [ "COMPLETED", "DISPATCHED", "RECEIVED" ]
}
Example Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:listDistributionOrderHeadersResponse 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:distributionOrderHeadersList>
<ns2:distributionOrderHeaderListElement>
<ns2:status>RECEIVED</ns2:status>
<ns2:createdDate>2021-05-19T09:42:01+05:30</ns2:createdDate>
<ns2:createdAtLocationId>estatemanager</ns2:createdAtLocationId>
<ns2:currencyId>GBP</ns2:currencyId>
<ns2:reason>
<ns2:reasonId>IST04</ns2:reasonId>
<ns2:regionId groupHierarchyId="All" groupTypeId="region">All</ns2:regionId>
</ns2:reason>
<ns2:notes></ns2:notes>
<ns2:deliveryInstructions></ns2:deliveryInstructions>
<ns2:distributionOrderId>DO005201</ns2:distributionOrderId>
<ns2:sourceLocationId>0001</ns2:sourceLocationId>
<ns2:destinationLocationId>0003</ns2:destinationLocationId>
</ns2:distributionOrderHeaderListElement>
<ns2:distributionOrderHeaderListElement>
<ns2:status>DISPATCHED</ns2:status>
<ns2:createdDate/>
<ns2:createdAtLocationId>0001</ns2:createdAtLocationId>
<ns2:currencyId>GBP</ns2:currencyId>
<ns2:reason>
<ns2:reasonId></ns2:reasonId>
<ns2:regionId groupHierarchyId="" groupTypeId="region"></ns2:regionId>
</ns2:reason>
<ns2:notes></ns2:notes>
<ns2:deliveryInstructions></ns2:deliveryInstructions>
<ns2:distributionOrderId>DO003066</ns2:distributionOrderId>
<ns2:sourceLocationId>0001</ns2:sourceLocationId>
<ns2:destinationLocationId>0003</ns2:destinationLocationId>
</ns2:distributionOrderHeaderListElement>
</ns2:distributionOrderHeadersList>
</ns2:listDistributionOrderHeadersResponse>