POST api/Site

Request Information

URI Parameters

None.

Body Parameters

Site
NameDescriptionTypeAdditional information
Deleted

boolean

None.

PmsId

string

Required

String length: inclusive between 0 and 100

Name

string

String length: inclusive between 0 and 50

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,
  "PmsId": "sample string 1",
  "Name": "sample string 2",
  "ApiCreateDate": "2025-12-16T00:52:08.4999209+00:00",
  "ApiLastChangeDate": "2025-12-16T00:52:08.4999209+00:00",
  "CheckSum": 4,
  "RowKey": 5,
  "Id": "sample string 6",
  "SyncId": "sample string 7",
  "SubscriberId": "sample string 8"
}

application/xml, text/xml

Sample:
<Site xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PVExDataModel">
  <ApiCreateDate>2025-12-16T00:52:08.4999209+00:00</ApiCreateDate>
  <ApiLastChangeDate>2025-12-16T00:52:08.4999209+00:00</ApiLastChangeDate>
  <CheckSum>4</CheckSum>
  <Deleted>true</Deleted>
  <Id>sample string 6</Id>
  <Name>sample string 2</Name>
  <PmsId>sample string 1</PmsId>
  <RowKey>5</RowKey>
  <SubscriberId>sample string 8</SubscriberId>
  <SyncId>sample string 7</SyncId>
</Site>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.