POST api/Referral/AddReferral

Request Information

URI Parameters

None.

Body Parameters

ReferralBySpecialityModel
NameDescriptionTypeAdditional information
RefereeKey

string

None.

ReferredKey

string

None.

ReferralRecipientKey

string

None.

ReferralTypeId

integer

None.

ReferralSourceId

integer

None.

CityId

integer

None.

AreaId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RefereeKey": "sample string 1",
  "ReferredKey": "sample string 2",
  "ReferralRecipientKey": "sample string 3",
  "ReferralTypeId": 4,
  "ReferralSourceId": 5,
  "CityId": 6,
  "AreaId": 7
}

application/xml, text/xml

Sample:
<ReferralBySpecialityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Referral.Models">
  <AreaId>7</AreaId>
  <CityId>6</CityId>
  <RefereeKey>sample string 1</RefereeKey>
  <ReferralRecipientKey>sample string 3</ReferralRecipientKey>
  <ReferralSourceId>5</ReferralSourceId>
  <ReferralTypeId>4</ReferralTypeId>
  <ReferredKey>sample string 2</ReferredKey>
</ReferralBySpecialityModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.