POST api/shareproperty

Request Information

URI Parameters

None.

Body Parameters

SharePropertyEmail
NameDescriptionTypeAdditional information
AgentId

integer

None.

BuyerName

string

None.

BuyerEmail

string

None.

ShareName

string

None.

ShareEmail

string

None.

ShareMessage

string

None.

ID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AgentId": 1,
  "BuyerName": "sample string 2",
  "BuyerEmail": "sample string 3",
  "ShareName": "sample string 4",
  "ShareEmail": "sample string 5",
  "ShareMessage": "sample string 6",
  "ID": "sample string 7"
}

text/html

Sample:
{"AgentId":1,"BuyerName":"sample string 2","BuyerEmail":"sample string 3","ShareName":"sample string 4","ShareEmail":"sample string 5","ShareMessage":"sample string 6","ID":"sample string 7"}

application/xml, text/xml

Sample:
<SharePropertyEmail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Emails">
  <AgentId>1</AgentId>
  <BuyerEmail>sample string 3</BuyerEmail>
  <BuyerName>sample string 2</BuyerName>
  <ID>sample string 7</ID>
  <ShareEmail>sample string 5</ShareEmail>
  <ShareMessage>sample string 6</ShareMessage>
  <ShareName>sample string 4</ShareName>
</SharePropertyEmail>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.