CMSWebService
Click here for a complete list of operations.
InsertCustomerInfoV2
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: proservice4d2.imarketvend.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://microsoft.com/webservices/InsertCustomerInfoV2"
<?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>
<InsertCustomerInfoV2 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>
<FirstNameOtherlanguage>string</FirstNameOtherlanguage>
<LastNameOtherlanguage>string</LastNameOtherlanguage>
<AddressOtherlanguage>string</AddressOtherlanguage>
<CityOtherlanguage>string</CityOtherlanguage>
<StateOtherlanguage>string</StateOtherlanguage>
<refLanguageId>string</refLanguageId>
<IsSmsSubscription>string</IsSmsSubscription>
<companylandline>string</companylandline>
<DoNotEmail>string</DoNotEmail>
<Prefix>string</Prefix>
<refSalesManId>string</refSalesManId>
<beginningBalance>string</beginningBalance>
<IsCreditBalance>string</IsCreditBalance>
<BalanceDate>string</BalanceDate>
<trnNumber>string</trnNumber>
</InsertCustomerInfoV2>
</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>
<InsertCustomerInfoV2Response xmlns="http://microsoft.com/webservices/">
<InsertCustomerInfoV2Result>
<xsd:schema>schema</xsd:schema>xml</InsertCustomerInfoV2Result>
</InsertCustomerInfoV2Response>
</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: proservice4d2.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>
<InsertCustomerInfoV2 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>
<FirstNameOtherlanguage>string</FirstNameOtherlanguage>
<LastNameOtherlanguage>string</LastNameOtherlanguage>
<AddressOtherlanguage>string</AddressOtherlanguage>
<CityOtherlanguage>string</CityOtherlanguage>
<StateOtherlanguage>string</StateOtherlanguage>
<refLanguageId>string</refLanguageId>
<IsSmsSubscription>string</IsSmsSubscription>
<companylandline>string</companylandline>
<DoNotEmail>string</DoNotEmail>
<Prefix>string</Prefix>
<refSalesManId>string</refSalesManId>
<beginningBalance>string</beginningBalance>
<IsCreditBalance>string</IsCreditBalance>
<BalanceDate>string</BalanceDate>
<trnNumber>string</trnNumber>
</InsertCustomerInfoV2>
</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>
<InsertCustomerInfoV2Response xmlns="http://microsoft.com/webservices/">
<InsertCustomerInfoV2Result>
<xsd:schema>schema</xsd:schema>xml</InsertCustomerInfoV2Result>
</InsertCustomerInfoV2Response>
</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/InsertCustomerInfoV2?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&FirstNameOtherlanguage=string&LastNameOtherlanguage=string&AddressOtherlanguage=string&CityOtherlanguage=string&StateOtherlanguage=string&refLanguageId=string&IsSmsSubscription=string&companylandline=string&DoNotEmail=string&Prefix=string&refSalesManId=string&beginningBalance=string&IsCreditBalance=string&BalanceDate=string&trnNumber=string HTTP/1.1 Host: proservice4d2.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/InsertCustomerInfoV2 HTTP/1.1 Host: proservice4d2.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&FirstNameOtherlanguage=string&LastNameOtherlanguage=string&AddressOtherlanguage=string&CityOtherlanguage=string&StateOtherlanguage=string&refLanguageId=string&IsSmsSubscription=string&companylandline=string&DoNotEmail=string&Prefix=string&refSalesManId=string&beginningBalance=string&IsCreditBalance=string&BalanceDate=string&trnNumber=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>