GET api/resorts/getmyresorts

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Comment": "sample string 3",
    "DateTo": "2017-08-24T06:52:46.3908842+00:00",
    "DateFrom": "2017-08-24T06:52:46.3908842+00:00",
    "ResortImage": "sample string 6",
    "ResortUsersId": 7,
    "Statistics": {
      "Total": 1,
      "Male": 2,
      "Female": 3,
      "Beginner": 4,
      "Intermediate": 5,
      "Advanced": 6
    }
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Comment": "sample string 3",
    "DateTo": "2017-08-24T06:52:46.3908842+00:00",
    "DateFrom": "2017-08-24T06:52:46.3908842+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:
<ArrayOfBasicCheckedInResort xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agency.Contra.SkiApp.Api.Models.Resort">
  <BasicCheckedInResort>
    <Comment>sample string 3</Comment>
    <DateFrom>2017-08-24T06:52:46.3908842+00:00</DateFrom>
    <DateTo>2017-08-24T06:52:46.3908842+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>
  <BasicCheckedInResort>
    <Comment>sample string 3</Comment>
    <DateFrom>2017-08-24T06:52:46.3908842+00:00</DateFrom>
    <DateTo>2017-08-24T06:52:46.3908842+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>
</ArrayOfBasicCheckedInResort>