POST api/CampgroundOccupancyData

Request Information

URI Parameters

None.

Body Parameters

CampgroundOccupancyDataViewModel
NameDescriptionTypeAdditional information
id

integer

None.

productId

integer

None.

reportDate

date

None.

accommodationTypeId

byte

None.

starClassRating

byte

None.

daysOpen

byte

None.

unitsAvailable

integer

None.

totalUnitsSold

integer

None.

totalGuests

integer

None.

vacationPct

byte

None.

businessPct

byte

None.

conventionPct

byte

None.

motorcoachPct

byte

None.

otherPct

byte

None.

lastModifiedBy

integer

None.

lastModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "productId": 2,
  "reportDate": "2017-08-19T11:58:19.0491228-03:00",
  "accommodationTypeId": 64,
  "starClassRating": 64,
  "daysOpen": 64,
  "unitsAvailable": 5,
  "totalUnitsSold": 1,
  "totalGuests": 1,
  "vacationPct": 64,
  "businessPct": 64,
  "conventionPct": 64,
  "motorcoachPct": 64,
  "otherPct": 64,
  "lastModifiedBy": 1,
  "lastModifiedDate": "2017-08-19T11:58:19.0491228-03:00"
}

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.