CMSWebService
Click here for a complete list of operations.
InsertCustomerInfoV_1
Insert Customer
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 /CMSWebService.asmx HTTP/1.1
Host: posservicev21t24.imarketvend.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://microsoft.com/webservices/InsertCustomerInfoV_1"
<?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:Header>
<AuthSoapHd xmlns="http://microsoft.com/webservices/">
<strUserName>string</strUserName>
<strPassword>string</strPassword>
</AuthSoapHd>
</soap:Header>
<soap:Body>
<InsertCustomerInfoV_1 xmlns="http://microsoft.com/webservices/">
<companyId>string</companyId>
<tokenId>string</tokenId>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Email>string</Email>
<Phone>string</Phone>
<Address>string</Address>
<sellerId>string</sellerId>
<City>string</City>
<State>string</State>
<Country>string</Country>
<Zipcode>string</Zipcode>
<CreditLineAmount>string</CreditLineAmount>
<QrCode>string</QrCode>
<UserId>string</UserId>
<TypeId>string</TypeId>
<refEmiratesId>string</refEmiratesId>
<CompanyName>string</CompanyName>
<CreditPaymentDays>string</CreditPaymentDays>
<refCityId>string</refCityId>
<PostalCode>string</PostalCode>
<AlternatePhone>string</AlternatePhone>
<IsSMSSubscriber>string</IsSMSSubscriber>
<DoNotEmail>string</DoNotEmail>
<Prefix>string</Prefix>
<refSalesMan>string</refSalesMan>
<beginningBalance>string</beginningBalance>
<IsCreditBalance>string</IsCreditBalance>
<BalanceDate>string</BalanceDate>
<trnNumber>string</trnNumber>
<referredBy>string</referredBy>
</InsertCustomerInfoV_1>
</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>
<InsertCustomerInfoV_1Response xmlns="http://microsoft.com/webservices/">
<InsertCustomerInfoV_1Result>
<xsd:schema>schema</xsd:schema>xml</InsertCustomerInfoV_1Result>
</InsertCustomerInfoV_1Response>
</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 /CMSWebService.asmx HTTP/1.1
Host: posservicev21t24.imarketvend.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:Header>
<AuthSoapHd xmlns="http://microsoft.com/webservices/">
<strUserName>string</strUserName>
<strPassword>string</strPassword>
</AuthSoapHd>
</soap12:Header>
<soap12:Body>
<InsertCustomerInfoV_1 xmlns="http://microsoft.com/webservices/">
<companyId>string</companyId>
<tokenId>string</tokenId>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Email>string</Email>
<Phone>string</Phone>
<Address>string</Address>
<sellerId>string</sellerId>
<City>string</City>
<State>string</State>
<Country>string</Country>
<Zipcode>string</Zipcode>
<CreditLineAmount>string</CreditLineAmount>
<QrCode>string</QrCode>
<UserId>string</UserId>
<TypeId>string</TypeId>
<refEmiratesId>string</refEmiratesId>
<CompanyName>string</CompanyName>
<CreditPaymentDays>string</CreditPaymentDays>
<refCityId>string</refCityId>
<PostalCode>string</PostalCode>
<AlternatePhone>string</AlternatePhone>
<IsSMSSubscriber>string</IsSMSSubscriber>
<DoNotEmail>string</DoNotEmail>
<Prefix>string</Prefix>
<refSalesMan>string</refSalesMan>
<beginningBalance>string</beginningBalance>
<IsCreditBalance>string</IsCreditBalance>
<BalanceDate>string</BalanceDate>
<trnNumber>string</trnNumber>
<referredBy>string</referredBy>
</InsertCustomerInfoV_1>
</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>
<InsertCustomerInfoV_1Response xmlns="http://microsoft.com/webservices/">
<InsertCustomerInfoV_1Result>
<xsd:schema>schema</xsd:schema>xml</InsertCustomerInfoV_1Result>
</InsertCustomerInfoV_1Response>
</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 /CMSWebService.asmx/InsertCustomerInfoV_1?companyId=string&tokenId=string&FirstName=string&LastName=string&Email=string&Phone=string&Address=string&sellerId=string&City=string&State=string&Country=string&Zipcode=string&CreditLineAmount=string&QrCode=string&UserId=string&TypeId=string&refEmiratesId=string&CompanyName=string&CreditPaymentDays=string&refCityId=string&PostalCode=string&AlternatePhone=string&IsSMSSubscriber=string&DoNotEmail=string&Prefix=string&refSalesMan=string&beginningBalance=string&IsCreditBalance=string&BalanceDate=string&trnNumber=string&referredBy=string HTTP/1.1 Host: posservicev21t24.imarketvend.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <DataSet xmlns="http://microsoft.com/webservices/"> <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</DataSet>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /CMSWebService.asmx/InsertCustomerInfoV_1 HTTP/1.1 Host: posservicev21t24.imarketvend.com Content-Type: application/x-www-form-urlencoded Content-Length: length companyId=string&tokenId=string&FirstName=string&LastName=string&Email=string&Phone=string&Address=string&sellerId=string&City=string&State=string&Country=string&Zipcode=string&CreditLineAmount=string&QrCode=string&UserId=string&TypeId=string&refEmiratesId=string&CompanyName=string&CreditPaymentDays=string&refCityId=string&PostalCode=string&AlternatePhone=string&IsSMSSubscriber=string&DoNotEmail=string&Prefix=string&refSalesMan=string&beginningBalance=string&IsCreditBalance=string&BalanceDate=string&trnNumber=string&referredBy=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <DataSet xmlns="http://microsoft.com/webservices/"> <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</DataSet>