PUT api/resorts/editcheckedinresort

Request Information

URI Parameters

None.

Body Parameters

BasicCheckedInResort
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Comment

string

None.

DateTo

date

None.

DateFrom

date

None.

ResortImage

string

None.

ResortUsersId

integer

None.

Statistics

ResortStatistics

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Comment": "sample string 3",
  "DateTo": "2017-08-22T22:36:36.3121113+00:00",
  "DateFrom": "2017-08-22T22:36:36.3121113+00:00",
  "ResortImage": "sample string 6",
  "ResortUsersId": 7,
  "Statistics": {
    "Total": 1,
    "Male": 2,
    "Female": 3,
    "Beginner": 4,
    "Intermediate": 5,
    "Advanced": 6
  }
}

application/xml, text/xml

Sample:
<BasicCheckedInResort xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agency.Contra.SkiApp.Api.Models.Resort">
  <Comment>sample string 3</Comment>
  <DateFrom>2017-08-22T22:36:36.3121113+00:00</DateFrom>
  <DateTo>2017-08-22T22:36:36.3121113+00:00</DateTo>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <ResortImage>sample string 6</ResortImage>
  <ResortUsersId>7</ResortUsersId>
  <Statistics>
    <Advanced>6</Advanced>
    <Beginner>4</Beginner>
    <Female>3</Female>
    <Intermediate>5</Intermediate>
    <Male>2</Male>
    <Total>1</Total>
  </Statistics>
</BasicCheckedInResort>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.