POST student/signin
Request Information
URI Parameters
None.
Body Parameters
SignInDto| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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": "4236a7f2-e629-4cc8-86b4-d1a07812bfce",
"PersonId": "c644d700-9834-489b-92e7-8594f127adec"
}
}
text/html
Sample:
{"Status":true,"Code":2,"Message":"sample string 3","Data":{"StudentToken":"sample string 1","UserId":"4236a7f2-e629-4cc8-86b4-d1a07812bfce","PersonId":"c644d700-9834-489b-92e7-8594f127adec"}}
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>c644d700-9834-489b-92e7-8594f127adec</PersonId>
<StudentToken>sample string 1</StudentToken>
<UserId>4236a7f2-e629-4cc8-86b4-d1a07812bfce</UserId>
</Data>
<Message>sample string 3</Message>
<Status>true</Status>
</APIResponseDTOOfLogInResponseDtoiuyp4j9u>