GET api/Attraction?ParkID={ParkID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ParkID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GetAllAttractionsByParkID_Result
NameDescriptionTypeAdditional information
AttractionID

integer

None.

Name

string

None.

Introduction

string

None.

Length

decimal number

None.

Height

decimal number

None.

MinAge

decimal number

None.

AdultRequired

integer

None.

Duration

decimal number

None.

Coupons

integer

None.

Premiere

integer

None.

OpeningTime

date

None.

ClosingTime

date

None.

Maintenance

integer

None.

Manufacturer

string

None.

Occupants

integer

None.

MainImage

string

None.

ParkID

integer

None.

isActive

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AttractionID": 1,
    "Name": "sample string 2",
    "Introduction": "sample string 3",
    "Length": 1.0,
    "Height": 1.0,
    "MinAge": 1.0,
    "AdultRequired": 1,
    "Duration": 4.0,
    "Coupons": 5,
    "Premiere": 1,
    "OpeningTime": "2020-10-19T19:26:31.9573042-07:00",
    "ClosingTime": "2020-10-19T19:26:31.9573042-07:00",
    "Maintenance": 1,
    "Manufacturer": "sample string 6",
    "Occupants": 7,
    "MainImage": "sample string 8",
    "ParkID": 9,
    "isActive": 10
  },
  {
    "AttractionID": 1,
    "Name": "sample string 2",
    "Introduction": "sample string 3",
    "Length": 1.0,
    "Height": 1.0,
    "MinAge": 1.0,
    "AdultRequired": 1,
    "Duration": 4.0,
    "Coupons": 5,
    "Premiere": 1,
    "OpeningTime": "2020-10-19T19:26:31.9573042-07:00",
    "ClosingTime": "2020-10-19T19:26:31.9573042-07:00",
    "Maintenance": 1,
    "Manufacturer": "sample string 6",
    "Occupants": 7,
    "MainImage": "sample string 8",
    "ParkID": 9,
    "isActive": 10
  }
]