POST api/Visit

Request Information

URI Parameters

None.

Body Parameters

Visit
NameDescriptionTypeAdditional information
Deleted

boolean

None.

Type

string

String length: inclusive between 0 and 50

ClientId

string

Required

String length: inclusive between 0 and 50

ClientPmsId

string

Required

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

DateEntered

date

None.

EnteredByResourceId

string

String length: inclusive between 0 and 50

CheckInDate

date

None.

CheckOutDate

date

None.

Reason

string

String length: inclusive between 0 and 1024

IsFinalized

boolean

None.

SiteId

string

Required

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",
  "ClientId": "sample string 2",
  "ClientPmsId": "sample string 3",
  "PatientId": "sample string 4",
  "PatientPmsId": "sample string 5",
  "DateEntered": "2025-12-16T00:52:11.6149413+00:00",
  "EnteredByResourceId": "sample string 6",
  "CheckInDate": "2025-12-16T00:52:11.6149413+00:00",
  "CheckOutDate": "2025-12-16T00:52:11.6149413+00:00",
  "Reason": "sample string 7",
  "IsFinalized": true,
  "SiteId": "sample string 8",
  "ApiCreateDate": "2025-12-16T00:52:11.6149413+00:00",
  "ApiLastChangeDate": "2025-12-16T00:52:11.6149413+00:00",
  "CheckSum": 10,
  "RowKey": 11,
  "Id": "sample string 12",
  "SyncId": "sample string 13",
  "SubscriberId": "sample string 14"
}

application/xml, text/xml

Sample:
<Visit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PVExDataModel">
  <ApiCreateDate>2025-12-16T00:52:11.6149413+00:00</ApiCreateDate>
  <ApiLastChangeDate>2025-12-16T00:52:11.6149413+00:00</ApiLastChangeDate>
  <CheckInDate>2025-12-16T00:52:11.6149413+00:00</CheckInDate>
  <CheckOutDate>2025-12-16T00:52:11.6149413+00:00</CheckOutDate>
  <CheckSum>10</CheckSum>
  <ClientId>sample string 2</ClientId>
  <ClientPmsId>sample string 3</ClientPmsId>
  <DateEntered>2025-12-16T00:52:11.6149413+00:00</DateEntered>
  <Deleted>true</Deleted>
  <EnteredByResourceId>sample string 6</EnteredByResourceId>
  <Id>sample string 12</Id>
  <IsFinalized>true</IsFinalized>
  <PatientId>sample string 4</PatientId>
  <PatientPmsId>sample string 5</PatientPmsId>
  <Reason>sample string 7</Reason>
  <RowKey>11</RowKey>
  <SiteId>sample string 8</SiteId>
  <SubscriberId>sample string 14</SubscriberId>
  <SyncId>sample string 13</SyncId>
  <Type>sample string 1</Type>
</Visit>

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 'Visit'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.