POST api/agentlistingsite
Request Information
URI Parameters
None.
Body Parameters
AgentListingSiteInputModelName | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
None. |
|
listingId | string |
None. |
|
templateId | string |
None. |
|
stockDomain | string |
None. |
|
customDomain | string |
None. |
|
slug | string |
None. |
|
templateCustomizations | Object |
None. |
|
listingCustomizations | Object |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "15f6ea7a-695c-4698-b124-d4e4c08a755f", "listingId": "sample string 1", "templateId": "sample string 2", "stockDomain": "sample string 3", "customDomain": "sample string 4", "slug": "sample string 5", "templateCustomizations": {}, "listingCustomizations": {} }
text/html
Sample:
{"id":"15f6ea7a-695c-4698-b124-d4e4c08a755f","listingId":"sample string 1","templateId":"sample string 2","stockDomain":"sample string 3","customDomain":"sample string 4","slug":"sample string 5","templateCustomizations":{},"listingCustomizations":{}}
application/xml, text/xml
Sample:
<AgentListingSiteInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services"> <AgentId>8</AgentId> <ChargeId>sample string 9</ChargeId> <CustomDomain>sample string 4</CustomDomain> <Id>15f6ea7a-695c-4698-b124-d4e4c08a755f</Id> <ListingCustomizations /> <ListingId>sample string 1</ListingId> <Slug>sample string 5</Slug> <StockDomain>sample string 3</StockDomain> <TemplateCustomizations /> <TemplateId>sample string 2</TemplateId> </AgentListingSiteInputModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.