POST api/v1/verify_login_data
Request Information
URI Parameters
None.
Body Parameters
studentverify| Name | Description | Type | Additional information |
|---|---|---|---|
| phone | string |
None. |
|
| otp | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"phone": "sample string 1",
"otp": "sample string 2"
}
application/xml, text/xml
Sample:
<studentverify xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <otp>sample string 2</otp> <phone>sample string 1</phone> </studentverify>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
verifyresult| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| message | string |
None. |
|
| error | string |
None. |
|
| user_id | integer |
None. |
|
| phone | string |
None. |
|
| name | string |
None. |
|
| string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"error": "sample string 3",
"user_id": 4,
"phone": "sample string 5",
"name": "sample string 6",
"email": "sample string 7"
}
application/xml, text/xml
Sample:
<verifyresult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <email>sample string 7</email> <error>sample string 3</error> <message>sample string 2</message> <name>sample string 6</name> <phone>sample string 5</phone> <status>true</status> <user_id>4</user_id> </verifyresult>