POST api/ClientPatientRelationshipBatch

Request Information

URI Parameters

None.

Body Parameters

Collection of ClientPatientRelationship
NameDescriptionTypeAdditional information
Deleted

boolean

None.

TypeValue

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

IsPrimary

boolean

None.

Percentage

decimal number

None.

StartDate

date

None.

EndDate

date

None.

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,
    "TypeValue": "sample string 1",
    "ClientId": "sample string 2",
    "ClientPmsId": "sample string 3",
    "PatientId": "sample string 4",
    "PatientPmsId": "sample string 5",
    "IsPrimary": true,
    "Percentage": 1.0,
    "StartDate": "2025-12-16T00:51:40.2660227+00:00",
    "EndDate": "2025-12-16T00:51:40.2660227+00:00",
    "ApiCreateDate": "2025-12-16T00:51:40.2660227+00:00",
    "ApiLastChangeDate": "2025-12-16T00:51:40.2660227+00:00",
    "CheckSum": 7,
    "RowKey": 8,
    "Id": "sample string 9",
    "SyncId": "sample string 10",
    "SubscriberId": "sample string 11"
  },
  {
    "Deleted": true,
    "TypeValue": "sample string 1",
    "ClientId": "sample string 2",
    "ClientPmsId": "sample string 3",
    "PatientId": "sample string 4",
    "PatientPmsId": "sample string 5",
    "IsPrimary": true,
    "Percentage": 1.0,
    "StartDate": "2025-12-16T00:51:40.2660227+00:00",
    "EndDate": "2025-12-16T00:51:40.2660227+00:00",
    "ApiCreateDate": "2025-12-16T00:51:40.2660227+00:00",
    "ApiLastChangeDate": "2025-12-16T00:51:40.2660227+00:00",
    "CheckSum": 7,
    "RowKey": 8,
    "Id": "sample string 9",
    "SyncId": "sample string 10",
    "SubscriberId": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfClientPatientRelationship xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PVExDataModel">
  <ClientPatientRelationship>
    <ApiCreateDate>2025-12-16T00:51:40.2660227+00:00</ApiCreateDate>
    <ApiLastChangeDate>2025-12-16T00:51:40.2660227+00:00</ApiLastChangeDate>
    <CheckSum>7</CheckSum>
    <ClientId>sample string 2</ClientId>
    <ClientPmsId>sample string 3</ClientPmsId>
    <Deleted>true</Deleted>
    <EndDate>2025-12-16T00:51:40.2660227+00:00</EndDate>
    <Id>sample string 9</Id>
    <IsPrimary>true</IsPrimary>
    <PatientId>sample string 4</PatientId>
    <PatientPmsId>sample string 5</PatientPmsId>
    <Percentage>1</Percentage>
    <RowKey>8</RowKey>
    <StartDate>2025-12-16T00:51:40.2660227+00:00</StartDate>
    <SubscriberId>sample string 11</SubscriberId>
    <SyncId>sample string 10</SyncId>
    <Type>sample string 1</Type>
  </ClientPatientRelationship>
  <ClientPatientRelationship>
    <ApiCreateDate>2025-12-16T00:51:40.2660227+00:00</ApiCreateDate>
    <ApiLastChangeDate>2025-12-16T00:51:40.2660227+00:00</ApiLastChangeDate>
    <CheckSum>7</CheckSum>
    <ClientId>sample string 2</ClientId>
    <ClientPmsId>sample string 3</ClientPmsId>
    <Deleted>true</Deleted>
    <EndDate>2025-12-16T00:51:40.2660227+00:00</EndDate>
    <Id>sample string 9</Id>
    <IsPrimary>true</IsPrimary>
    <PatientId>sample string 4</PatientId>
    <PatientPmsId>sample string 5</PatientPmsId>
    <Percentage>1</Percentage>
    <RowKey>8</RowKey>
    <StartDate>2025-12-16T00:51:40.2660227+00:00</StartDate>
    <SubscriberId>sample string 11</SubscriberId>
    <SyncId>sample string 10</SyncId>
    <Type>sample string 1</Type>
  </ClientPatientRelationship>
</ArrayOfClientPatientRelationship>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.