POST api/client/v{version}/login

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

ClientLoginRequest
NameDescriptionTypeAdditional information
username

string

None.

password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2"
}

text/html

Sample:
{"username":"sample string 1","password":"sample string 2"}

application/xml, text/xml

Sample:
<ClientLoginRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DispatchITV2.Models.Requests">
  <password>sample string 2</password>
  <username>sample string 1</username>
</ClientLoginRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ClientLoginRequest'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />