Voucher
Click here for a complete list of operations.
Pionts_Exchange_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 /Voucher.asmx HTTP/1.1 Host: 124.133.55.38 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/Pionts_Exchange_Order" <?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> <Pionts_Exchange_Order xmlns="http://tempuri.org/"> <p_So_Header_Id>string</p_So_Header_Id> <p_Member_Id>string</p_Member_Id> <p_Recipient_Name>string</p_Recipient_Name> <p_Contact_Phone>string</p_Contact_Phone> <p_State_Id>int</p_State_Id> <p_City_Id>int</p_City_Id> <p_District_Id>int</p_District_Id> <p_Town_Id>int</p_Town_Id> <p_Addr>string</p_Addr> <p_Invoice_Title>string</p_Invoice_Title> <p_Zipcode>string</p_Zipcode> <p_Item_Str>string</p_Item_Str> <p_Points_Str>string</p_Points_Str> </Pionts_Exchange_Order> </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> <Pionts_Exchange_OrderResponse xmlns="http://tempuri.org/"> <Pionts_Exchange_OrderResult> <string>string</string> <string>string</string> </Pionts_Exchange_OrderResult> </Pionts_Exchange_OrderResponse> </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 /Voucher.asmx HTTP/1.1 Host: 124.133.55.38 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> <Pionts_Exchange_Order xmlns="http://tempuri.org/"> <p_So_Header_Id>string</p_So_Header_Id> <p_Member_Id>string</p_Member_Id> <p_Recipient_Name>string</p_Recipient_Name> <p_Contact_Phone>string</p_Contact_Phone> <p_State_Id>int</p_State_Id> <p_City_Id>int</p_City_Id> <p_District_Id>int</p_District_Id> <p_Town_Id>int</p_Town_Id> <p_Addr>string</p_Addr> <p_Invoice_Title>string</p_Invoice_Title> <p_Zipcode>string</p_Zipcode> <p_Item_Str>string</p_Item_Str> <p_Points_Str>string</p_Points_Str> </Pionts_Exchange_Order> </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> <Pionts_Exchange_OrderResponse xmlns="http://tempuri.org/"> <Pionts_Exchange_OrderResult> <string>string</string> <string>string</string> </Pionts_Exchange_OrderResult> </Pionts_Exchange_OrderResponse> </soap12:Body> </soap12:Envelope>