POST api/PatientCommunications

Marks the communication as read by patient.

Request Information

URI Parameters

None.

Body Parameters

Model used to mark communications as read.

CommunicationReadByPatientModel
NameDescriptionTypeAdditional information
CommunicationId

Unique ID of communication.

globally unique identifier

None.

ReadByPatientOnUtc

Date (in UTC) of communication is read.

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CommunicationId": "7cf34a8e-436e-4843-bd0f-8887245c3773",
  "ReadByPatientOnUtc": "2021-06-21T03:15:31.4592849-04:00"
}

application/xml, text/xml

Sample:
<CommunicationReadByPatientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.PatientCommunications">
  <CommunicationId>7cf34a8e-436e-4843-bd0f-8887245c3773</CommunicationId>
  <ReadByPatientOnUtc>2021-06-21T03:15:31.4592849-04:00</ReadByPatientOnUtc>
</CommunicationReadByPatientModel>

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