POST api/Resort/activeinactiveresort

Request Information

URI Parameters

None.

Body Parameters

Resort
NameDescriptionTypeAdditional information
ResortId

integer

None.

ResortName

string

None.

VendorId

integer

None.

ShortDescription

string

None.

LongDescription

string

None.

IsChildOf

integer

None.

Address

string

None.

City

string

None.

StateId

integer

None.

StateName

string

None.

Zipcode

integer

None.

CountryId

integer

None.

CityId

integer

None.

CountryName

string

None.

PolicyAdditionalInfo

string

None.

Coordinate

string

None.

IsApproved

boolean

None.

ResortPriority

integer

None.

VendorResortIdentifier

string

None.

ResortAdditionalInfoes

Collection of ResortAdditionalInfo

None.

ResortAmenities

Collection of ResortAmenity

None.

ResortCommissions

Collection of ResortCommission

None.

ResortContacts

Collection of ResortContact

None.

ResortExperiences

Collection of ResortExperience

None.

ResortFees

Collection of ResortFee

None.

ResortPolicies

Collection of ResortPolicy

None.

ResortRestrictions

Collection of ResortRestriction

None.

ResortSeasons

Collection of ResortSeason

None.

ResortTaxes

Collection of ResortTax

None.

ResortTaxFees

Collection of ResortTaxFee

None.

ResortTaxStatic

Collection of ResortTaxStatic

None.

ResortActivities

Collection of ResortActivity

None.

RoomList

Collection of Room

None.

EventList

Collection of Event

None.

ActivityList

Collection of Activity

None.

ResortFloors

Collection of ResortFloor

None.

ResortImages

Collection of ResortImage

None.

VendorList

Collection of Vendor

None.

AmenityList

Collection of AmenityMaster

None.

ExperienceList

Collection of ExperienceMaster

None.

PolicyMasterList

Collection of PolicyMaster

None.

FeeMasterList

Collection of FeeMaster

None.

TaxHeaderMasterList

Collection of TaxHeaderMaster

None.

RestrictionMasterList

Collection of RestrictionMaster

None.

CreatedDate

date

None.

ModifiedDate

date

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Resort' with type 'SRG.Core.Resort'. Path 'RoomList[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Resort' with type 'SRG.Core.Resort'. Path 'RoomList[0]'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected for property 'Resort' with type 'SRG.Core.Resort'. Path 'RoomList[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'SRG.Core.Room' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'SRG.Core.Room' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.