POST api/ActionService/Login
Documentation for 'Login'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| request | Documentation for 'request'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<LoginRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Login"> <Password>sample string 2</Password> <Username>sample string 1</Username> </LoginRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{
"status": "sample string 1",
"Message": {
"AccessToken": "sample string 1",
"UserId": 2,
"ConceptId": 3,
"PackageId": 4
}
}
application/xml, text/xml
Sample:
<ResponseBaseOfLoginResponseYW7EcDrF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">
<Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Login">
<d2p1:AccessToken>sample string 1</d2p1:AccessToken>
<d2p1:ConceptId>3</d2p1:ConceptId>
<d2p1:PackageId>4</d2p1:PackageId>
<d2p1:UserId>2</d2p1:UserId>
</Message>
<status>sample string 1</status>
</ResponseBaseOfLoginResponseYW7EcDrF>