CMSWebService


Click here for a complete list of operations.

Login_v3

Login User for given company.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
userName:
password:
UserId:

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/Login_v3"

<?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>
    <Login_v3 xmlns="http://microsoft.com/webservices/">
      <userName>string</userName>
      <password>string</password>
      <UserId>string</UserId>
    </Login_v3>
  </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>
    <Login_v3Response xmlns="http://microsoft.com/webservices/">
      <Login_v3Result>
        <UserId>string</UserId>
        <LoginStatus>string</LoginStatus>
        <UserTokenId>string</UserTokenId>
        <CompanyId>string</CompanyId>
        <SellerId>string</SellerId>
        <CompanyTokenId>string</CompanyTokenId>
        <Currency>string</Currency>
        <TimeZone>string</TimeZone>
        <StoreId>string</StoreId>
        <StoreName>string</StoreName>
        <StoreEmailId>string</StoreEmailId>
        <UserPIN>string</UserPIN>
        <QuotationTermsAndCondition>string</QuotationTermsAndCondition>
        <LangaugeId>string</LangaugeId>
        <LangaugeCode>string</LangaugeCode>
        <Language>string</Language>
        <UserName>string</UserName>
        <IswarehouseUser>string</IswarehouseUser>
        <DecimalNumber>string</DecimalNumber>
        <NumberDisplayFormatString>string</NumberDisplayFormatString>
        <NumberDisplayString>string</NumberDisplayString>
        <IsPaymentReceived>string</IsPaymentReceived>
        <IsSupportkeypad>string</IsSupportkeypad>
      </Login_v3Result>
    </Login_v3Response>
  </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>
    <Login_v3 xmlns="http://microsoft.com/webservices/">
      <userName>string</userName>
      <password>string</password>
      <UserId>string</UserId>
    </Login_v3>
  </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>
    <Login_v3Response xmlns="http://microsoft.com/webservices/">
      <Login_v3Result>
        <UserId>string</UserId>
        <LoginStatus>string</LoginStatus>
        <UserTokenId>string</UserTokenId>
        <CompanyId>string</CompanyId>
        <SellerId>string</SellerId>
        <CompanyTokenId>string</CompanyTokenId>
        <Currency>string</Currency>
        <TimeZone>string</TimeZone>
        <StoreId>string</StoreId>
        <StoreName>string</StoreName>
        <StoreEmailId>string</StoreEmailId>
        <UserPIN>string</UserPIN>
        <QuotationTermsAndCondition>string</QuotationTermsAndCondition>
        <LangaugeId>string</LangaugeId>
        <LangaugeCode>string</LangaugeCode>
        <Language>string</Language>
        <UserName>string</UserName>
        <IswarehouseUser>string</IswarehouseUser>
        <DecimalNumber>string</DecimalNumber>
        <NumberDisplayFormatString>string</NumberDisplayFormatString>
        <NumberDisplayString>string</NumberDisplayString>
        <IsPaymentReceived>string</IsPaymentReceived>
        <IsSupportkeypad>string</IsSupportkeypad>
      </Login_v3Result>
    </Login_v3Response>
  </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/Login_v3?userName=string&password=string&UserId=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"?>
<LoginUserv2 xmlns="http://microsoft.com/webservices/">
  <UserId>string</UserId>
  <LoginStatus>string</LoginStatus>
  <UserTokenId>string</UserTokenId>
  <CompanyId>string</CompanyId>
  <SellerId>string</SellerId>
  <CompanyTokenId>string</CompanyTokenId>
  <Currency>string</Currency>
  <TimeZone>string</TimeZone>
  <StoreId>string</StoreId>
  <StoreName>string</StoreName>
  <StoreEmailId>string</StoreEmailId>
  <UserPIN>string</UserPIN>
  <QuotationTermsAndCondition>string</QuotationTermsAndCondition>
  <LangaugeId>string</LangaugeId>
  <LangaugeCode>string</LangaugeCode>
  <Language>string</Language>
  <UserName>string</UserName>
  <IswarehouseUser>string</IswarehouseUser>
  <DecimalNumber>string</DecimalNumber>
  <NumberDisplayFormatString>string</NumberDisplayFormatString>
  <NumberDisplayString>string</NumberDisplayString>
  <IsPaymentReceived>string</IsPaymentReceived>
  <IsSupportkeypad>string</IsSupportkeypad>
</LoginUserv2>

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/Login_v3 HTTP/1.1
Host: proservice4d2.imarketvend.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

userName=string&password=string&UserId=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<LoginUserv2 xmlns="http://microsoft.com/webservices/">
  <UserId>string</UserId>
  <LoginStatus>string</LoginStatus>
  <UserTokenId>string</UserTokenId>
  <CompanyId>string</CompanyId>
  <SellerId>string</SellerId>
  <CompanyTokenId>string</CompanyTokenId>
  <Currency>string</Currency>
  <TimeZone>string</TimeZone>
  <StoreId>string</StoreId>
  <StoreName>string</StoreName>
  <StoreEmailId>string</StoreEmailId>
  <UserPIN>string</UserPIN>
  <QuotationTermsAndCondition>string</QuotationTermsAndCondition>
  <LangaugeId>string</LangaugeId>
  <LangaugeCode>string</LangaugeCode>
  <Language>string</Language>
  <UserName>string</UserName>
  <IswarehouseUser>string</IswarehouseUser>
  <DecimalNumber>string</DecimalNumber>
  <NumberDisplayFormatString>string</NumberDisplayFormatString>
  <NumberDisplayString>string</NumberDisplayString>
  <IsPaymentReceived>string</IsPaymentReceived>
  <IsSupportkeypad>string</IsSupportkeypad>
</LoginUserv2>