POST api/ActionService/TestLogin

Documentation for 'TestLogin'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "AccessToken": "sample string 1",
  "name": "sample string 1"
}

application/xml, text/xml

Sample:
<TestLoginRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Login">
  <AccessToken xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">sample string 1</AccessToken>
  <name>sample string 1</name>
</TestLoginRequest>

application/x-www-form-urlencoded

Sample:

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

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>