POST api/agentlistingsite/preview

Request Information

URI Parameters

None.

Body Parameters

AgentListingSitePreviewInputModel
NameDescriptionTypeAdditional information
agentId

integer

None.

listingId

string

None.

templateId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "agentId": 1,
  "listingId": "sample string 2",
  "templateId": "sample string 3"
}

text/html

Sample:
{"agentId":1,"listingId":"sample string 2","templateId":"sample string 3"}

application/xml, text/xml

Sample:
<AgentListingSitePreviewInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <AgentId>1</AgentId>
  <ListingId>sample string 2</ListingId>
  <TemplateId>sample string 3</TemplateId>
</AgentListingSitePreviewInputModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.