Operation
Click here for a complete list of operations.
MaterialMasterOrder
To Insert Item Master
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /DTInterfaceWCFService/Operation.asmx HTTP/1.1 Host: poc.dt.ae Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/MaterialMasterOrder" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <RequestHeader xmlns="http://tempuri.org/"> <RequestedSystem>string</RequestedSystem> <RetryLimit>string</RetryLimit> <RequestedDate>string</RequestedDate> <TransactionID>string</TransactionID> </RequestHeader> <AuthHeader xmlns="http://tempuri.org/"> <InterfaceUserName>string</InterfaceUserName> <InterfacePassword>string</InterfacePassword> <InterfaceUniqueId>string</InterfaceUniqueId> </AuthHeader> </soap:Header> <soap:Body> <MaterialMasterOrder xmlns="http://tempuri.org/"> <materialMasterOrderRequestData> <ItemMasters> <ItemMaster> <SKU>string</SKU> <Description>string</Description> <HSCode>string</HSCode> <UPC>string</UPC> <SerialCount>string</SerialCount> <SerialLength>string</SerialLength> <ItemMasterDataDetails xsi:nil="true" /> </ItemMaster> <ItemMaster> <SKU>string</SKU> <Description>string</Description> <HSCode>string</HSCode> <UPC>string</UPC> <SerialCount>string</SerialCount> <SerialLength>string</SerialLength> <ItemMasterDataDetails xsi:nil="true" /> </ItemMaster> </ItemMasters> </materialMasterOrderRequestData> </MaterialMasterOrder> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <MaterialMasterOrderResponseHeader xmlns="http://tempuri.org/"> <TransactionID>string</TransactionID> </MaterialMasterOrderResponseHeader> </soap:Header> <soap:Body> <MaterialMasterOrderResponse xmlns="http://tempuri.org/"> <MaterialMasterOrderResult> <TransactionID>string</TransactionID> <Status>string</Status> <ErrorCode>string</ErrorCode> <ErrorDescription>string</ErrorDescription> </MaterialMasterOrderResult> </MaterialMasterOrderResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /DTInterfaceWCFService/Operation.asmx HTTP/1.1 Host: poc.dt.ae Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <RequestHeader xmlns="http://tempuri.org/"> <RequestedSystem>string</RequestedSystem> <RetryLimit>string</RetryLimit> <RequestedDate>string</RequestedDate> <TransactionID>string</TransactionID> </RequestHeader> <AuthHeader xmlns="http://tempuri.org/"> <InterfaceUserName>string</InterfaceUserName> <InterfacePassword>string</InterfacePassword> <InterfaceUniqueId>string</InterfaceUniqueId> </AuthHeader> </soap12:Header> <soap12:Body> <MaterialMasterOrder xmlns="http://tempuri.org/"> <materialMasterOrderRequestData> <ItemMasters> <ItemMaster> <SKU>string</SKU> <Description>string</Description> <HSCode>string</HSCode> <UPC>string</UPC> <SerialCount>string</SerialCount> <SerialLength>string</SerialLength> <ItemMasterDataDetails xsi:nil="true" /> </ItemMaster> <ItemMaster> <SKU>string</SKU> <Description>string</Description> <HSCode>string</HSCode> <UPC>string</UPC> <SerialCount>string</SerialCount> <SerialLength>string</SerialLength> <ItemMasterDataDetails xsi:nil="true" /> </ItemMaster> </ItemMasters> </materialMasterOrderRequestData> </MaterialMasterOrder> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <MaterialMasterOrderResponseHeader xmlns="http://tempuri.org/"> <TransactionID>string</TransactionID> </MaterialMasterOrderResponseHeader> </soap12:Header> <soap12:Body> <MaterialMasterOrderResponse xmlns="http://tempuri.org/"> <MaterialMasterOrderResult> <TransactionID>string</TransactionID> <Status>string</Status> <ErrorCode>string</ErrorCode> <ErrorDescription>string</ErrorDescription> </MaterialMasterOrderResult> </MaterialMasterOrderResponse> </soap12:Body> </soap12:Envelope>