Login

The login service supplies an authentication token which can be used to obtain an access token through the authentication service. The access token is required to grant access to the specified service you would like to use.

Request

REST

URL: https://iqservice.stockbase-connect.com/services/login/

Headers


                        Username: Username of the user. (String)
                        Password: Password of the user. (String)
                    

SOAP 1.1

Headers


                        Content-Type: text/xml
                    

Text


                        <?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 xmlns="https://iqservice.divide.nl/">
                              <userName>string</userName>
                              <password>string</password>
                            </Login>
                          </soap:Body>
                        </soap:Envelope>
                    

SOAP 1.2

Headers


                        Response Status: 200
                        Content-Type: application/soap+xml
                    

Text


                        <?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>
                            <Stockbase xmlns="https://iqservice.divide.nl/">
                              <token>guid</token>
                              <service>string</service>
                            </Stockbase>
                          </soap12:Body>
                        </soap12:Envelope>
                    

Library (VB.NET)

Function: Login

Parameters


                        Username: Username of the user. (String)
                        Password: Password of the user. (String)
                    

Response

  • Success
  • CredentialsEmpty
  • CredentialsInvalid

Success


                        @LoginResponse {
                            Answer: Status code of the request,
                            Authentication token: [description],
                            Expiration date: [date],
                            Token type: [type]
                        }
                    

REST

Headers


                            Response Status: 200
                            Content-Type: text/html
                        

Text


                            <?xml version="1.0" encoding="utf-16"?>
                            <nl.divide.iq xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                                <answer>Success</answer>
                                <authentication_token>912bb42f-a4e4-44b8-ae8b-7326883f1d6c</authentication_token>
                                <expiration_date>2014-06-13T16:02:13.4230000</expiration_date>
                                <token_type>Authentication</token_type>
                            </nl.divide.iq>
                        

SOAP 1.1

Headers


                            Response Status: 200
                            Content-Type: text/xml
                        

Text


                            <?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>
                                <LoginResponse xmlns="https://iqservice.divide.nl/">
                                  <LoginResult>string</LoginResult>
                                </LoginResponse>
                              </soap:Body>
                            </soap:Envelope>
                        

SOAP 1.2

Headers


                            Response Status: 200
                            Content-Type: application/soap+xml
                        

Text


                            <?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>
                                    <StockbaseResponse xmlns="https://iqservice.divide.nl/">
                                      <StockbaseResult>string</StockbaseResult>
                                    </StockbaseResponse>
                                  </soap12:Body>
                                </soap12:Envelope>
                        

CredentialsEmpty

Headers


                    Response Status: 403
                    Content-Type: text/xml | application/json
                

Text


                    <?xml version="1.0" encoding="utf-16"?>
                    <nl.divide.iq xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <answer>LoginCredentialsEmpty</answer>
                    </nl.divide.iq>
                

CredentialsInvalid

Headers


                    Response Status: 403
                    Content-Type: text/xml | application/json
                

Text


                    <?xml version="1.0" encoding="utf-16"?>
                    <nl.divide.iq xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <answer>LoginCredentialsInvalid</answer>
                    </nl.divide.iq>