POST api/Patient/PatientMediaConsent
Request Information
URI Parameters
None.
Body Parameters
PatientMediaConsentViewModelName | Description | Type | Additional information |
---|---|---|---|
PatientID | integer |
None. |
|
IsMediaConsentAccepted | boolean |
None. |
|
IsMediaConsentAuthorized | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "PatientID": 1, "IsMediaConsentAccepted": true, "IsMediaConsentAuthorized": true }
application/xml, text/xml
Sample:
<PatientMediaConsentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consensus.Ortho.Services.ViewModels.PatientsViewModels"> <IsMediaConsentAccepted>true</IsMediaConsentAccepted> <IsMediaConsentAuthorized>true</IsMediaConsentAuthorized> <PatientID>1</PatientID> </PatientMediaConsentViewModel>
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>