POST student/signin

Request Information

URI Parameters

None.

Body Parameters

SignInDto
NameDescriptionTypeAdditional information
UserName

string

None.

Password

string

None.

DeviceToken

string

None.

PlatformId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "DeviceToken": "sample string 3",
  "PlatformId": "sample string 4"
}

text/html

Sample:
{"UserName":"sample string 1","Password":"sample string 2","DeviceToken":"sample string 3","PlatformId":"sample string 4"}

application/xml, text/xml

Sample:
<SignInDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.Dtos.StudentPlatforms">
  <DeviceToken>sample string 3</DeviceToken>
  <Password>sample string 2</Password>
  <PlatformId>sample string 4</PlatformId>
  <UserName>sample string 1</UserName>
</SignInDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponseDTOOfLogInResponseDto
NameDescriptionTypeAdditional information
Status

boolean

None.

Code

integer

None.

Message

string

None.

Data

LogInResponseDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Code": 2,
  "Message": "sample string 3",
  "Data": {
    "StudentToken": "sample string 1",
    "UserId": "368a21f6-c7c4-4be9-a360-d316c268ae74",
    "PersonId": "ea9282da-7f09-47c5-b20f-141d90bc4c54"
  }
}

text/html

Sample:
{"Status":true,"Code":2,"Message":"sample string 3","Data":{"StudentToken":"sample string 1","UserId":"368a21f6-c7c4-4be9-a360-d316c268ae74","PersonId":"ea9282da-7f09-47c5-b20f-141d90bc4c54"}}

application/xml, text/xml

Sample:
<APIResponseDTOOfLogInResponseDtoiuyp4j9u xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.Dtos">
  <Code>2</Code>
  <Data>
    <PersonId>ea9282da-7f09-47c5-b20f-141d90bc4c54</PersonId>
    <StudentToken>sample string 1</StudentToken>
    <UserId>368a21f6-c7c4-4be9-a360-d316c268ae74</UserId>
  </Data>
  <Message>sample string 3</Message>
  <Status>true</Status>
</APIResponseDTOOfLogInResponseDtoiuyp4j9u>