POST api/PatientEducationMaterial
Updates the status (viewed or not) of the patient education material.
Request Information
URI Parameters
None.
Body Parameters
Model use to get patient education material.
PatientEducationMaterialModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Unique ID of the patient education material (Read only). |
globally unique identifier |
None. |
| DoctorId |
Unique ID of the doctor. |
globally unique identifier |
None. |
| Name |
Name of the education material. |
string |
None. |
| Type |
Type of patient education material. Possible values : Document, Link and Videos. |
string |
None. |
| Active |
Indicates that patient education material is active or not. |
boolean |
None. |
| URL |
URL of the patient education material. |
string |
None. |
| DateAddedUtc |
The date when the patient education material was added. |
string |
None. |
| DoctorFullName |
Full name of the doctor |
string |
None. |
| Viewed |
Indicates if patient education material is viewed or not. |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "bc89eb8e-31dd-47f9-b95e-e70912cca23d",
"DoctorId": "4d7a6b76-0c30-443a-b042-a41630f7ae2b",
"Name": "sample string 1",
"Type": "sample string 2",
"Active": true,
"URL": "sample string 4",
"DateAddedUtc": "sample string 5",
"DoctorFullName": "sample string 6",
"Viewed": true
}
application/xml, text/xml
Sample:
<PatientEducationMaterialModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.PatientEducationMaterials"> <Active>true</Active> <DateAddedUtc>sample string 5</DateAddedUtc> <DoctorFullName>sample string 6</DoctorFullName> <DoctorId>4d7a6b76-0c30-443a-b042-a41630f7ae2b</DoctorId> <Id>bc89eb8e-31dd-47f9-b95e-e70912cca23d</Id> <Name>sample string 1</Name> <Type>sample string 2</Type> <URL>sample string 4</URL> <Viewed>true</Viewed> </PatientEducationMaterialModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />