POST api/ReferralSourceBatch

Request Information

URI Parameters

None.

Body Parameters

Collection of ReferralSource
NameDescriptionTypeAdditional information
Deleted

boolean

None.

LastName

string

String length: inclusive between 0 and 50

FullName

string

String length: inclusive between 0 and 50

PatientReferralSourceId

string

String length: inclusive between 0 and 50

SiteId

string

Required

String length: inclusive between 0 and 50

Type

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,
    "LastName": "sample string 1",
    "FullName": "sample string 2",
    "PatientReferralSourceId": "sample string 3",
    "SiteId": "sample string 4",
    "Type": "sample string 5",
    "ApiCreateDate": "2025-12-16T00:51:52.7936686+00:00",
    "ApiLastChangeDate": "2025-12-16T00:51:52.7936686+00:00",
    "CheckSum": 7,
    "RowKey": 8,
    "Id": "sample string 9",
    "SyncId": "sample string 10",
    "SubscriberId": "sample string 11"
  },
  {
    "Deleted": true,
    "LastName": "sample string 1",
    "FullName": "sample string 2",
    "PatientReferralSourceId": "sample string 3",
    "SiteId": "sample string 4",
    "Type": "sample string 5",
    "ApiCreateDate": "2025-12-16T00:51:52.7936686+00:00",
    "ApiLastChangeDate": "2025-12-16T00:51:52.7936686+00:00",
    "CheckSum": 7,
    "RowKey": 8,
    "Id": "sample string 9",
    "SyncId": "sample string 10",
    "SubscriberId": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfReferralSource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PVExDataModel">
  <ReferralSource>
    <ApiCreateDate>2025-12-16T00:51:52.7936686+00:00</ApiCreateDate>
    <ApiLastChangeDate>2025-12-16T00:51:52.7936686+00:00</ApiLastChangeDate>
    <CheckSum>7</CheckSum>
    <Deleted>true</Deleted>
    <FullName>sample string 2</FullName>
    <Id>sample string 9</Id>
    <LastName>sample string 1</LastName>
    <PatientReferralSourceId>sample string 3</PatientReferralSourceId>
    <RowKey>8</RowKey>
    <SiteId>sample string 4</SiteId>
    <SubscriberId>sample string 11</SubscriberId>
    <SyncId>sample string 10</SyncId>
    <Type>sample string 5</Type>
  </ReferralSource>
  <ReferralSource>
    <ApiCreateDate>2025-12-16T00:51:52.7936686+00:00</ApiCreateDate>
    <ApiLastChangeDate>2025-12-16T00:51:52.7936686+00:00</ApiLastChangeDate>
    <CheckSum>7</CheckSum>
    <Deleted>true</Deleted>
    <FullName>sample string 2</FullName>
    <Id>sample string 9</Id>
    <LastName>sample string 1</LastName>
    <PatientReferralSourceId>sample string 3</PatientReferralSourceId>
    <RowKey>8</RowKey>
    <SiteId>sample string 4</SiteId>
    <SubscriberId>sample string 11</SubscriberId>
    <SyncId>sample string 10</SyncId>
    <Type>sample string 5</Type>
  </ReferralSource>
</ArrayOfReferralSource>

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.