POST api/v1/Patient/PatientConsent
Request Information
URI Parameters
None.
Body Parameters
PatientConsentViewModelName | Description | Type | Additional information |
---|---|---|---|
PatientID | integer |
None. |
|
Name | string |
None. |
|
IsConsentAccepted | boolean |
None. |
|
IsMediaConsentAccepted | boolean |
None. |
|
IsMediaConsentAuthorized | boolean |
None. |
|
IsTelemedicineConsentAccepted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "PatientID": 1, "Name": "sample string 2", "IsConsentAccepted": true, "IsMediaConsentAccepted": true, "IsMediaConsentAuthorized": true, "IsTelemedicineConsentAccepted": true }
application/xml, text/xml
Sample:
<PatientConsentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consensus.Ortho.Services.ViewModels.PatientsViewModels"> <IsConsentAccepted>true</IsConsentAccepted> <IsMediaConsentAccepted>true</IsMediaConsentAccepted> <IsMediaConsentAuthorized>true</IsMediaConsentAuthorized> <IsTelemedicineConsentAccepted>true</IsTelemedicineConsentAccepted> <Name>sample string 2</Name> <PatientID>1</PatientID> </PatientConsentViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ActionResultViewModelOfStringName | Description | Type | Additional information |
---|---|---|---|
StatusCode | integer |
None. |
|
Success | boolean |
None. |
|
Message | string |
None. |
|
Result | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "StatusCode": 1, "Success": true, "Message": "sample string 3", "Result": "sample string 4" }
application/xml, text/xml
Sample:
<ActionResultViewModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consensus.Ortho.Web.ViewModels.ResultViewModels"> <Message>sample string 3</Message> <Result>sample string 4</Result> <StatusCode>1</StatusCode> <Success>true</Success> </ActionResultViewModelOfstring>