CMSWebService
Click here for a complete list of operations.
LoginbyUserId
Login User for given company.
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/LoginbyUserId"
<?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>
<LoginbyUserId xmlns="http://microsoft.com/webservices/">
<UserId>string</UserId>
</LoginbyUserId>
</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>
<LoginbyUserIdResponse xmlns="http://microsoft.com/webservices/">
<LoginbyUserIdResult>
<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>
</LoginbyUserIdResult>
</LoginbyUserIdResponse>
</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>
<LoginbyUserId xmlns="http://microsoft.com/webservices/">
<UserId>string</UserId>
</LoginbyUserId>
</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>
<LoginbyUserIdResponse xmlns="http://microsoft.com/webservices/">
<LoginbyUserIdResult>
<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>
</LoginbyUserIdResult>
</LoginbyUserIdResponse>
</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/LoginbyUserId?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/LoginbyUserId HTTP/1.1 Host: proservice4d2.imarketvend.com Content-Type: application/x-www-form-urlencoded Content-Length: length 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>