POST api/Patients/AddPatientsBySecurityCode
Request Information
URI Parameters
None.
Body Parameters
PatientPassDataName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
SecAnswer | string |
None. |
|
SecQuestion | string |
None. |
|
MobileOrEmail | string |
None. |
|
OldPassword | string |
None. |
|
SecCode | string |
None. |
|
TempCode | integer |
None. |
|
NewPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "SecAnswer": "sample string 2", "SecQuestion": "sample string 3", "MobileOrEmail": "sample string 4", "OldPassword": "sample string 5", "SecCode": "sample string 6", "TempCode": 7, "NewPassword": "sample string 8" }
application/xml, text/xml
Sample:
<PatientPassData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMedical.Controllers"> <Id>sample string 1</Id> <MobileOrEmail>sample string 4</MobileOrEmail> <NewPassword>sample string 8</NewPassword> <OldPassword>sample string 5</OldPassword> <SecAnswer>sample string 2</SecAnswer> <SecCode>sample string 6</SecCode> <SecQuestion>sample string 3</SecQuestion> <TempCode>7</TempCode> </PatientPassData>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.