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
NameDescriptionTypeAdditional 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": "f257c87b-d1ca-4f45-8ace-5e9132f1ccd0",
  "DoctorId": "1cce015b-8cc3-4f57-94c1-99b881a582e5",
  "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>1cce015b-8cc3-4f57-94c1-99b881a582e5</DoctorId>
  <Id>f257c87b-d1ca-4f45-8ace-5e9132f1ccd0</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

Object

None.

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/" />