GET eco/activities

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ActivitySummary
NameDescriptionTypeAdditional information
ActivityType

ActivityType

None.

Days

integer

None.

Description

string

None.

FeaturedImageUrl

string

None.

ID

integer

None.

Location

Location

None.

Difficulty

ActivityDifficulty

None.

Site

ActivitySite

None.

StartPoint

Coordinates

None.

Name

string

None.

Tags

string

None.

StartDate

date

None.

AvailableSpaces

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "activityType": {
      "description": "sample string 1",
      "iconUrl": "sample string 2",
      "id": 3,
      "selectedIconUrl": "sample string 4",
      "name": "sample string 5",
      "unselectedIconUrl": "sample string 6"
    },
    "days": 1,
    "description": "sample string 2",
    "featuredImageUrl": "sample string 3",
    "id": 4,
    "location": {
      "coordinates": null,
      "id": 1,
      "name": "sample string 2",
      "description": "sample string 3",
      "parentID": 4
    },
    "difficulty": {
      "description": "sample string 1",
      "iconUrl": "sample string 2",
      "id": 3,
      "name": "sample string 4",
      "selectedIconUrl": "sample string 5",
      "unselectedIconUrl": "sample string 6"
    },
    "site": {
      "coordinates": null,
      "description": "sample string 1",
      "mapUrl": "sample string 2",
      "id": 3,
      "name": "sample string 4"
    },
    "startPoint": null,
    "name": "sample string 5",
    "tags": "sample string 6",
    "startDate": "2024-02-21T07:24:22.7377666+02:00",
    "availableSpaces": 7
  },
  {
    "activityType": {
      "description": "sample string 1",
      "iconUrl": "sample string 2",
      "id": 3,
      "selectedIconUrl": "sample string 4",
      "name": "sample string 5",
      "unselectedIconUrl": "sample string 6"
    },
    "days": 1,
    "description": "sample string 2",
    "featuredImageUrl": "sample string 3",
    "id": 4,
    "location": {
      "coordinates": null,
      "id": 1,
      "name": "sample string 2",
      "description": "sample string 3",
      "parentID": 4
    },
    "difficulty": {
      "description": "sample string 1",
      "iconUrl": "sample string 2",
      "id": 3,
      "name": "sample string 4",
      "selectedIconUrl": "sample string 5",
      "unselectedIconUrl": "sample string 6"
    },
    "site": {
      "coordinates": null,
      "description": "sample string 1",
      "mapUrl": "sample string 2",
      "id": 3,
      "name": "sample string 4"
    },
    "startPoint": null,
    "name": "sample string 5",
    "tags": "sample string 6",
    "startDate": "2024-02-21T07:24:22.7377666+02:00",
    "availableSpaces": 7
  }
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'MTO.Coordinates' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'MTO.Coordinates' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.