AppWebServices
Click here for a complete list of operations.
SaveTempBasket
Use this method to place an order.
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 /AppWebServices.asmx HTTP/1.1
Host: ukprodservices.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.eposanytime.co.uk/SaveTempBasket"
<?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>
<SaveTempBasket xmlns="http://www.eposanytime.co.uk">
<Basket>
<ID>int</ID>
<UserLogIn>string</UserLogIn>
<CustomerID>int</CustomerID>
<OrderType>string</OrderType>
<OrderStatus>string</OrderStatus>
<TotalAmount>decimal</TotalAmount>
<AmountReceived>decimal</AmountReceived>
<AmountDue>decimal</AmountDue>
<PayStatus>string</PayStatus>
<VoucherCode>string</VoucherCode>
<DiscountType>string</DiscountType>
<Discount>decimal</Discount>
<DeliveryCharge>decimal</DeliveryCharge>
<PaymentCharge>decimal</PaymentCharge>
<PaymentType>string</PaymentType>
<SpecialInstructions>string</SpecialInstructions>
<AddressID>int</AddressID>
<OrderDate>dateTime</OrderDate>
<SagePayStatus>string</SagePayStatus>
<ExpectedTime>string</ExpectedTime>
<VpsTxId>string</VpsTxId>
<TxAuthNo>string</TxAuthNo>
<BankAuthCode>string</BankAuthCode>
<Last4Digits>string</Last4Digits>
<CreatedOn>dateTime</CreatedOn>
<CreatedBy>string</CreatedBy>
<ChangedOn>dateTime</ChangedOn>
<ChangedBy>string</ChangedBy>
<Items>
<CsBasketItemTemp>
<ID>int</ID>
<BasketID>int</BasketID>
<UnitPrice>decimal</UnitPrice>
<Quantity>int</Quantity>
<SpecialRequest>string</SpecialRequest>
<ItemName>string</ItemName>
<Status>boolean</Status>
<Dressing>string</Dressing>
</CsBasketItemTemp>
<CsBasketItemTemp>
<ID>int</ID>
<BasketID>int</BasketID>
<UnitPrice>decimal</UnitPrice>
<Quantity>int</Quantity>
<SpecialRequest>string</SpecialRequest>
<ItemName>string</ItemName>
<Status>boolean</Status>
<Dressing>string</Dressing>
</CsBasketItemTemp>
</Items>
<CustomerAddress>string</CustomerAddress>
<CustomerName>string</CustomerName>
</Basket>
</SaveTempBasket>
</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>
<SaveTempBasketResponse xmlns="http://www.eposanytime.co.uk">
<SaveTempBasketResult>string</SaveTempBasketResult>
</SaveTempBasketResponse>
</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 /AppWebServices.asmx HTTP/1.1
Host: ukprodservices.net
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>
<SaveTempBasket xmlns="http://www.eposanytime.co.uk">
<Basket>
<ID>int</ID>
<UserLogIn>string</UserLogIn>
<CustomerID>int</CustomerID>
<OrderType>string</OrderType>
<OrderStatus>string</OrderStatus>
<TotalAmount>decimal</TotalAmount>
<AmountReceived>decimal</AmountReceived>
<AmountDue>decimal</AmountDue>
<PayStatus>string</PayStatus>
<VoucherCode>string</VoucherCode>
<DiscountType>string</DiscountType>
<Discount>decimal</Discount>
<DeliveryCharge>decimal</DeliveryCharge>
<PaymentCharge>decimal</PaymentCharge>
<PaymentType>string</PaymentType>
<SpecialInstructions>string</SpecialInstructions>
<AddressID>int</AddressID>
<OrderDate>dateTime</OrderDate>
<SagePayStatus>string</SagePayStatus>
<ExpectedTime>string</ExpectedTime>
<VpsTxId>string</VpsTxId>
<TxAuthNo>string</TxAuthNo>
<BankAuthCode>string</BankAuthCode>
<Last4Digits>string</Last4Digits>
<CreatedOn>dateTime</CreatedOn>
<CreatedBy>string</CreatedBy>
<ChangedOn>dateTime</ChangedOn>
<ChangedBy>string</ChangedBy>
<Items>
<CsBasketItemTemp>
<ID>int</ID>
<BasketID>int</BasketID>
<UnitPrice>decimal</UnitPrice>
<Quantity>int</Quantity>
<SpecialRequest>string</SpecialRequest>
<ItemName>string</ItemName>
<Status>boolean</Status>
<Dressing>string</Dressing>
</CsBasketItemTemp>
<CsBasketItemTemp>
<ID>int</ID>
<BasketID>int</BasketID>
<UnitPrice>decimal</UnitPrice>
<Quantity>int</Quantity>
<SpecialRequest>string</SpecialRequest>
<ItemName>string</ItemName>
<Status>boolean</Status>
<Dressing>string</Dressing>
</CsBasketItemTemp>
</Items>
<CustomerAddress>string</CustomerAddress>
<CustomerName>string</CustomerName>
</Basket>
</SaveTempBasket>
</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>
<SaveTempBasketResponse xmlns="http://www.eposanytime.co.uk">
<SaveTempBasketResult>string</SaveTempBasketResult>
</SaveTempBasketResponse>
</soap12:Body>
</soap12:Envelope>