POST api/patient/sendNewMessage

Request Information

URI Parameters

None.

Requires Authorization!

Body Parameters

PatientMessageCreateViewModel
NameDescriptionTypeAdditional information
Title

string

Required

Details

string

Required

MedicalCenterID

integer

Required

MessageDocuments

Collection of MessageDocumentViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Details": "sample string 2",
  "MedicalCenterID": 3,
  "MessageDocuments": [
    {
      "DocumentName": "sample string 1",
      "DocumentPath": "sample string 2"
    },
    {
      "DocumentName": "sample string 1",
      "DocumentPath": "sample string 2"
    }
  ]
}

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Status

integer

None.

Response

Object

None.

Errors

Object

None.

Authorized

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Response": {},
  "Errors": {},
  "Authorized": true
}