Service
Click here for a complete list of operations.
OrderNow
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 /service.asmx HTTP/1.1
Host: web.yashrajsoftware.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/OrderNow"
<?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>
<OrderNow xmlns="http://tempuri.org/">
<BranchID>string</BranchID>
<RestaurantID>string</RestaurantID>
<LoginRegId>string</LoginRegId>
<LoginMobileNo>string</LoginMobileNo>
<Name>string</Name>
<EMail>string</EMail>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<PinCode>string</PinCode>
<State>string</State>
<Country>string</Country>
<AddressType>string</AddressType>
<PaymentMethod>string</PaymentMethod>
<DiscountCoupon>string</DiscountCoupon>
<DiscountPre>string</DiscountPre>
<DiscountAmount>string</DiscountAmount>
<SubTotal>string</SubTotal>
<GSTTax>string</GSTTax>
<Total>string</Total>
<OrderDistance>string</OrderDistance>
<ShippingCharge>string</ShippingCharge>
<IPAddress>string</IPAddress>
<ItemListJson>string</ItemListJson>
</OrderNow>
</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>
<OrderNowResponse xmlns="http://tempuri.org/" />
</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 /service.asmx HTTP/1.1
Host: web.yashrajsoftware.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>
<OrderNow xmlns="http://tempuri.org/">
<BranchID>string</BranchID>
<RestaurantID>string</RestaurantID>
<LoginRegId>string</LoginRegId>
<LoginMobileNo>string</LoginMobileNo>
<Name>string</Name>
<EMail>string</EMail>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<PinCode>string</PinCode>
<State>string</State>
<Country>string</Country>
<AddressType>string</AddressType>
<PaymentMethod>string</PaymentMethod>
<DiscountCoupon>string</DiscountCoupon>
<DiscountPre>string</DiscountPre>
<DiscountAmount>string</DiscountAmount>
<SubTotal>string</SubTotal>
<GSTTax>string</GSTTax>
<Total>string</Total>
<OrderDistance>string</OrderDistance>
<ShippingCharge>string</ShippingCharge>
<IPAddress>string</IPAddress>
<ItemListJson>string</ItemListJson>
</OrderNow>
</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>
<OrderNowResponse xmlns="http://tempuri.org/" />
</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 /service.asmx/OrderNow?BranchID=string&RestaurantID=string&LoginRegId=string&LoginMobileNo=string&Name=string&EMail=string&Address1=string&Address2=string&City=string&PinCode=string&State=string&Country=string&AddressType=string&PaymentMethod=string&DiscountCoupon=string&DiscountPre=string&DiscountAmount=string&SubTotal=string&GSTTax=string&Total=string&OrderDistance=string&ShippingCharge=string&IPAddress=string&ItemListJson=string HTTP/1.1 Host: web.yashrajsoftware.com
HTTP/1.1 200 OK
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /service.asmx/OrderNow HTTP/1.1 Host: web.yashrajsoftware.com Content-Type: application/x-www-form-urlencoded Content-Length: length BranchID=string&RestaurantID=string&LoginRegId=string&LoginMobileNo=string&Name=string&EMail=string&Address1=string&Address2=string&City=string&PinCode=string&State=string&Country=string&AddressType=string&PaymentMethod=string&DiscountCoupon=string&DiscountPre=string&DiscountAmount=string&SubTotal=string&GSTTax=string&Total=string&OrderDistance=string&ShippingCharge=string&IPAddress=string&ItemListJson=string
HTTP/1.1 200 OK