POST api/v1/verifyOTP
Request Information
URI Parameters
None.
Body Parameters
ModelVerifyOTP| Name | Description | Type | Additional information |
|---|---|---|---|
| mobile | string |
None. |
|
| otp | string |
None. |
|
| token | string |
None. |
|
| devicetype | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"mobile": "sample string 1",
"otp": "sample string 2",
"token": "sample string 3",
"devicetype": "sample string 4"
}
application/xml, text/xml
Sample:
<ModelVerifyOTP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CeliacDataBridge"> <devicetype>sample string 4</devicetype> <mobile>sample string 1</mobile> <otp>sample string 2</otp> <token>sample string 3</token> </ModelVerifyOTP>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ModelPatient| Name | Description | Type | Additional information |
|---|---|---|---|
| uid | integer |
None. |
|
| name | string |
None. |
|
| result | string |
None. |
|
| studyid | integer |
None. |
|
| studyname | string |
None. |
|
| age | integer |
None. |
|
| weight | integer |
None. |
|
| oilstatus | string |
None. |
|
| scode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"uid": 1,
"name": "sample string 2",
"result": "sample string 3",
"studyid": 4,
"studyname": "sample string 5",
"age": 6,
"weight": 7,
"oilstatus": "sample string 8",
"scode": "sample string 9"
}
application/xml, text/xml
Sample:
<ModelPatient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CeliacDataBridge"> <age>6</age> <name>sample string 2</name> <oilstatus>sample string 8</oilstatus> <result>sample string 3</result> <scode>sample string 9</scode> <studyid>4</studyid> <studyname>sample string 5</studyname> <uid>1</uid> <weight>7</weight> </ModelPatient>