POST api/securecomm/GetSecureMessageDetails?PatientId={PatientId}&UserName={UserName}&MessageId={MessageId}&DataBaseIdentifier={DataBaseIdentifier}&PracticeUrl={PracticeUrl}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PatientId

integer

Required

UserName

string

Required

MessageId

integer

Required

DataBaseIdentifier

string

Required

PracticeUrl

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SecureMessageDetailsForEditor
NameDescriptionTypeAdditional information
MessageId

integer

None.

Message

string

None.

Subject

string

None.

MessageDate

date

None.

ReceiverID

string

None.

SenderID

string

None.

Type

string

None.

ReadStatus

boolean

None.

TypeID

integer

None.

EmailContentID

integer

None.

Status

string

None.

PMDSecureSendDept

string

None.

PMDSecureSendDeptID

integer

None.

PrimaryEmail

string

None.

PharmacyId

integer

None.

hidemessage

boolean

None.

EmailForward

boolean

None.

EmailReply

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MessageId": 1,
    "Message": "sample string 2",
    "Subject": "sample string 3",
    "MessageDate": "2025-07-16T13:17:37.1723835-07:00",
    "ReceiverID": "sample string 5",
    "SenderID": "sample string 6",
    "Type": "sample string 7",
    "ReadStatus": true,
    "TypeID": 9,
    "EmailContentID": 10,
    "Status": "sample string 11",
    "PMDSecureSendDept": "sample string 12",
    "PMDSecureSendDeptID": 13,
    "PrimaryEmail": "sample string 14",
    "PharmacyId": 15,
    "hidemessage": true,
    "EmailForward": true,
    "EmailReply": true,
    "ErrorMessage": "sample string 19"
  },
  {
    "MessageId": 1,
    "Message": "sample string 2",
    "Subject": "sample string 3",
    "MessageDate": "2025-07-16T13:17:37.1723835-07:00",
    "ReceiverID": "sample string 5",
    "SenderID": "sample string 6",
    "Type": "sample string 7",
    "ReadStatus": true,
    "TypeID": 9,
    "EmailContentID": 10,
    "Status": "sample string 11",
    "PMDSecureSendDept": "sample string 12",
    "PMDSecureSendDeptID": 13,
    "PrimaryEmail": "sample string 14",
    "PharmacyId": 15,
    "hidemessage": true,
    "EmailForward": true,
    "EmailReply": true,
    "ErrorMessage": "sample string 19"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSecureMessageDetailsForEditor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMDRestApi.Models">
  <SecureMessageDetailsForEditor>
    <EmailContentID>10</EmailContentID>
    <EmailForward>true</EmailForward>
    <EmailReply>true</EmailReply>
    <ErrorMessage>sample string 19</ErrorMessage>
    <Message>sample string 2</Message>
    <MessageDate>2025-07-16T13:17:37.1723835-07:00</MessageDate>
    <MessageId>1</MessageId>
    <PMDSecureSendDept>sample string 12</PMDSecureSendDept>
    <PMDSecureSendDeptID>13</PMDSecureSendDeptID>
    <PharmacyId>15</PharmacyId>
    <PrimaryEmail>sample string 14</PrimaryEmail>
    <ReadStatus>true</ReadStatus>
    <ReceiverID>sample string 5</ReceiverID>
    <SenderID>sample string 6</SenderID>
    <Status>sample string 11</Status>
    <Subject>sample string 3</Subject>
    <Type>sample string 7</Type>
    <TypeID>9</TypeID>
    <hidemessage>true</hidemessage>
  </SecureMessageDetailsForEditor>
  <SecureMessageDetailsForEditor>
    <EmailContentID>10</EmailContentID>
    <EmailForward>true</EmailForward>
    <EmailReply>true</EmailReply>
    <ErrorMessage>sample string 19</ErrorMessage>
    <Message>sample string 2</Message>
    <MessageDate>2025-07-16T13:17:37.1723835-07:00</MessageDate>
    <MessageId>1</MessageId>
    <PMDSecureSendDept>sample string 12</PMDSecureSendDept>
    <PMDSecureSendDeptID>13</PMDSecureSendDeptID>
    <PharmacyId>15</PharmacyId>
    <PrimaryEmail>sample string 14</PrimaryEmail>
    <ReadStatus>true</ReadStatus>
    <ReceiverID>sample string 5</ReceiverID>
    <SenderID>sample string 6</SenderID>
    <Status>sample string 11</Status>
    <Subject>sample string 3</Subject>
    <Type>sample string 7</Type>
    <TypeID>9</TypeID>
    <hidemessage>true</hidemessage>
  </SecureMessageDetailsForEditor>
</ArrayOfSecureMessageDetailsForEditor>