SendToCRM
Click here for a complete list of operations.
Complaint_Save
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 /SendToCRM.asmx HTTP/1.1
Host: ws.jainaindia.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/Complaint_Save"
<?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>
<Complaint_Save xmlns="http://tempuri.org/">
<SALUTATION>string</SALUTATION>
<LAST_NAME>string</LAST_NAME>
<FIRST_NAME>string</FIRST_NAME>
<MOBILE>string</MOBILE>
<PINCODE>string</PINCODE>
<CITY>string</CITY>
<LOCALITY>string</LOCALITY>
<LANDMARK>string</LANDMARK>
<ADDRESS>string</ADDRESS>
<MODEL>string</MODEL>
<SERIAL_NO>string</SERIAL_NO>
<PURCHASE_DATE>string</PURCHASE_DATE>
<CALL_TYPE>string</CALL_TYPE>
<CALL_BY>string</CALL_BY>
<ACCESS_CODE>string</ACCESS_CODE>
<Alternate_No>string</Alternate_No>
</Complaint_Save>
</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>
<Complaint_SaveResponse xmlns="http://tempuri.org/">
<Complaint_SaveResult>
<Status>string</Status>
<SAPKey>string</SAPKey>
<Error>string</Error>
</Complaint_SaveResult>
</Complaint_SaveResponse>
</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 /SendToCRM.asmx HTTP/1.1
Host: ws.jainaindia.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>
<Complaint_Save xmlns="http://tempuri.org/">
<SALUTATION>string</SALUTATION>
<LAST_NAME>string</LAST_NAME>
<FIRST_NAME>string</FIRST_NAME>
<MOBILE>string</MOBILE>
<PINCODE>string</PINCODE>
<CITY>string</CITY>
<LOCALITY>string</LOCALITY>
<LANDMARK>string</LANDMARK>
<ADDRESS>string</ADDRESS>
<MODEL>string</MODEL>
<SERIAL_NO>string</SERIAL_NO>
<PURCHASE_DATE>string</PURCHASE_DATE>
<CALL_TYPE>string</CALL_TYPE>
<CALL_BY>string</CALL_BY>
<ACCESS_CODE>string</ACCESS_CODE>
<Alternate_No>string</Alternate_No>
</Complaint_Save>
</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>
<Complaint_SaveResponse xmlns="http://tempuri.org/">
<Complaint_SaveResult>
<Status>string</Status>
<SAPKey>string</SAPKey>
<Error>string</Error>
</Complaint_SaveResult>
</Complaint_SaveResponse>
</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 /SendToCRM.asmx/Complaint_Save?SALUTATION=string&LAST_NAME=string&FIRST_NAME=string&MOBILE=string&PINCODE=string&CITY=string&LOCALITY=string&LANDMARK=string&ADDRESS=string&MODEL=string&SERIAL_NO=string&PURCHASE_DATE=string&CALL_TYPE=string&CALL_BY=string&ACCESS_CODE=string&Alternate_No=string HTTP/1.1 Host: ws.jainaindia.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ResponseMsg xmlns="http://tempuri.org/"> <Status>string</Status> <SAPKey>string</SAPKey> <Error>string</Error> </ResponseMsg>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /SendToCRM.asmx/Complaint_Save HTTP/1.1 Host: ws.jainaindia.com Content-Type: application/x-www-form-urlencoded Content-Length: length SALUTATION=string&LAST_NAME=string&FIRST_NAME=string&MOBILE=string&PINCODE=string&CITY=string&LOCALITY=string&LANDMARK=string&ADDRESS=string&MODEL=string&SERIAL_NO=string&PURCHASE_DATE=string&CALL_TYPE=string&CALL_BY=string&ACCESS_CODE=string&Alternate_No=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ResponseMsg xmlns="http://tempuri.org/"> <Status>string</Status> <SAPKey>string</SAPKey> <Error>string</Error> </ResponseMsg>