POST api/MedicalHistory

Request Information

URI Parameters

None.

Body Parameters

MedicalHistory
NameDescriptionTypeAdditional information
Deleted

boolean

None.

Type

string

String length: inclusive between 0 and 50

PatientId

string

Required

String length: inclusive between 0 and 50

PatientPmsId

string

Required

String length: inclusive between 0 and 50

HistoryDate

date

None.

ShortDescription

string

String length: inclusive between 0 and 255

Details

string

String length: inclusive between 0 and 500

Comments

string

String length: inclusive between 0 and 1024

ResourceId

string

String length: inclusive between 0 and 50

ResourceName

string

String length: inclusive between 0 and 50

TemplateId

string

String length: inclusive between 0 and 50

IsPending

boolean

None.

SiteId

string

String length: inclusive between 0 and 50

ApiCreateDate

date

Required

ApiLastChangeDate

date

None.

CheckSum

integer

None.

RowKey

integer

Required

Id

string

Required

String length: inclusive between 0 and 50

SyncId

string

Required

String length: inclusive between 0 and 50

SubscriberId

string

Required

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "Deleted": true,
  "Type": "sample string 1",
  "PatientId": "sample string 2",
  "PatientPmsId": "sample string 3",
  "HistoryDate": "2025-12-16T00:52:04.8257984+00:00",
  "ShortDescription": "sample string 5",
  "Details": "sample string 6",
  "Comments": "sample string 7",
  "ResourceId": "sample string 8",
  "ResourceName": "sample string 9",
  "TemplateId": "sample string 10",
  "IsPending": true,
  "SiteId": "sample string 11",
  "ApiCreateDate": "2025-12-16T00:52:04.8257984+00:00",
  "ApiLastChangeDate": "2025-12-16T00:52:04.8257984+00:00",
  "CheckSum": 13,
  "RowKey": 14,
  "Id": "sample string 15",
  "SyncId": "sample string 16",
  "SubscriberId": "sample string 17"
}

application/xml, text/xml

Sample:
<MedicalHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PVExDataModel">
  <ApiCreateDate>2025-12-16T00:52:04.8257984+00:00</ApiCreateDate>
  <ApiLastChangeDate>2025-12-16T00:52:04.8257984+00:00</ApiLastChangeDate>
  <CheckSum>13</CheckSum>
  <Comments>sample string 7</Comments>
  <Deleted>true</Deleted>
  <Details>sample string 6</Details>
  <HistoryDate>2025-12-16T00:52:04.8257984+00:00</HistoryDate>
  <Id>sample string 15</Id>
  <IsPending>true</IsPending>
  <PatientId>sample string 2</PatientId>
  <PatientPmsId>sample string 3</PatientPmsId>
  <ResourceId>sample string 8</ResourceId>
  <ResourceName>sample string 9</ResourceName>
  <RowKey>14</RowKey>
  <ShortDescription>sample string 5</ShortDescription>
  <SiteId>sample string 11</SiteId>
  <SubscriberId>sample string 17</SubscriberId>
  <SyncId>sample string 16</SyncId>
  <TemplateId>sample string 10</TemplateId>
  <Type>sample string 1</Type>
</MedicalHistory>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MedicalHistory'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.