webvmiws
Click here for a complete list of operations.
GetItemPrice
Get the price for a single item.
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /webvmiws.asmx HTTP/1.1 Host: vmiws.marfas.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://localhost/webservice/GetItemPrice" <?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:Body> <GetItemPrice xmlns="http://localhost/webservice/"> <IWSLogin>string</IWSLogin> <IWSPassword>string</IWSPassword> <item>string</item> <location>string</location> <customer>string</customer> <group>string</group> <level>string</level> <quantity>string</quantity> <priceUM>string</priceUM> <decimalPlaces>string</decimalPlaces> </GetItemPrice> </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:Body> <GetItemPriceResponse xmlns="http://localhost/webservice/"> <GetItemPriceResult> <price>decimal</price> <priceUM>string</priceUM> <success>boolean</success> <ErrorMsg>string</ErrorMsg> </GetItemPriceResult> </GetItemPriceResponse> </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 /webvmiws.asmx HTTP/1.1 Host: vmiws.marfas.com 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:Body> <GetItemPrice xmlns="http://localhost/webservice/"> <IWSLogin>string</IWSLogin> <IWSPassword>string</IWSPassword> <item>string</item> <location>string</location> <customer>string</customer> <group>string</group> <level>string</level> <quantity>string</quantity> <priceUM>string</priceUM> <decimalPlaces>string</decimalPlaces> </GetItemPrice> </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:Body> <GetItemPriceResponse xmlns="http://localhost/webservice/"> <GetItemPriceResult> <price>decimal</price> <priceUM>string</priceUM> <success>boolean</success> <ErrorMsg>string</ErrorMsg> </GetItemPriceResult> </GetItemPriceResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /webvmiws.asmx/GetItemPrice?IWSLogin=string&IWSPassword=string&item=string&location=string&customer=string&group=string&level=string&quantity=string&priceUM=string&decimalPlaces=string HTTP/1.1 Host: vmiws.marfas.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <mGetItemPrice xmlns="http://localhost/webservice/"> <price>decimal</price> <priceUM>string</priceUM> <success>boolean</success> <ErrorMsg>string</ErrorMsg> </mGetItemPrice>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /webvmiws.asmx/GetItemPrice HTTP/1.1 Host: vmiws.marfas.com Content-Type: application/x-www-form-urlencoded Content-Length: length IWSLogin=string&IWSPassword=string&item=string&location=string&customer=string&group=string&level=string&quantity=string&priceUM=string&decimalPlaces=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <mGetItemPrice xmlns="http://localhost/webservice/"> <price>decimal</price> <priceUM>string</priceUM> <success>boolean</success> <ErrorMsg>string</ErrorMsg> </mGetItemPrice>