POST api/Referral

Request Information

URI Parameters

None.

Body Parameters

Referral
NameDescriptionTypeAdditional information
Deleted

boolean

None.

ReferredId

string

Required

String length: inclusive between 0 and 50

ReferralSourceId

string

Required

String length: inclusive between 0 and 50

ReferralSourceParentId

string

String length: inclusive between 0 and 50

ReferredEntityType

string

Required

String length: inclusive between 0 and 15

EnteredDate

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,
  "ReferredId": "sample string 1",
  "ReferralSourceId": "sample string 2",
  "ReferralSourceParentId": "sample string 3",
  "ReferredEntityType": "sample string 4",
  "EnteredDate": "2025-12-16T00:52:15.3349768+00:00",
  "ApiCreateDate": "2025-12-16T00:52:15.3349768+00:00",
  "ApiLastChangeDate": "2025-12-16T00:52:15.3349768+00:00",
  "CheckSum": 6,
  "RowKey": 7,
  "Id": "sample string 8",
  "SyncId": "sample string 9",
  "SubscriberId": "sample string 10"
}

application/xml, text/xml

Sample:
<Referral xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PVExDataModel">
  <ApiCreateDate>2025-12-16T00:52:15.3349768+00:00</ApiCreateDate>
  <ApiLastChangeDate>2025-12-16T00:52:15.3349768+00:00</ApiLastChangeDate>
  <CheckSum>6</CheckSum>
  <Deleted>true</Deleted>
  <EnteredDate>2025-12-16T00:52:15.3349768+00:00</EnteredDate>
  <Id>sample string 8</Id>
  <ReferralSourceId>sample string 2</ReferralSourceId>
  <ReferralSourceParentId>sample string 3</ReferralSourceParentId>
  <ReferredEntityType>sample string 4</ReferredEntityType>
  <ReferredId>sample string 1</ReferredId>
  <RowKey>7</RowKey>
  <SubscriberId>sample string 10</SubscriberId>
  <SyncId>sample string 9</SyncId>
</Referral>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.