POST api/CampgroundOccupancyData

Request Information

URI Parameters

None.

Body Parameters

CampgroundOccupancyDataViewModel
NameDescriptionTypeAdditional information
id

integer

None.

productId

integer

None.

reportDate

date

None.

licenseNumber

string

None.

campgroundTypeId

byte

None.

starClassRating

byte

None.

daysOpen

byte

None.

seasonalAvailable

integer

None.

shortTermAvailable

integer

None.

seasonalSold

integer

None.

shortTermSold

integer

None.

totalGuests

integer

None.

nsTents

integer

None.

canTents

integer

None.

usTents

integer

None.

intTents

integer

None.

nsRvs

integer

None.

canRvs

integer

None.

usRvs

integer

None.

intRvs

integer

None.

nsCabins

integer

None.

canCabins

integer

None.

usCabins

integer

None.

intCabins

integer

None.

lastModifiedBy

integer

None.

lastModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "productId": 2,
  "reportDate": "2017-10-17T13:45:49.20316-03:00",
  "licenseNumber": "sample string 4",
  "campgroundTypeId": 64,
  "starClassRating": 64,
  "daysOpen": 64,
  "seasonalAvailable": 6,
  "shortTermAvailable": 7,
  "seasonalSold": 1,
  "shortTermSold": 1,
  "totalGuests": 1,
  "nsTents": 1,
  "canTents": 1,
  "usTents": 1,
  "intTents": 1,
  "nsRvs": 1,
  "canRvs": 1,
  "usRvs": 1,
  "intRvs": 1,
  "nsCabins": 1,
  "canCabins": 1,
  "usCabins": 1,
  "intCabins": 1,
  "lastModifiedBy": 1,
  "lastModifiedDate": "2017-10-17T13:45:49.20316-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.