GET eco/activities/my?id={id}&uid={uid}&fullName={fullName}&rsaid={rsaid}&email={email}&contactNo={contactNo}&emergencyNo={emergencyNo}&cardNo={cardNo}&plateNo={plateNo}&invoiceNo={invoiceNo}&activeOnly={activeOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Default value is 0

uid

string

None.

fullName

string

None.

rsaid

string

None.

email

string

None.

contactNo

string

None.

emergencyNo

string

None.

cardNo

string

None.

plateNo

string

None.

invoiceNo

integer

Default value is 0

activeOnly

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

MyProfileGET
NameDescriptionTypeAdditional information
Adventurer

Adventurer

None.

Bookings

Collection of MyBookingGET

None.

Permits

Collection of PermitGET

None.

Products

Collection of ProductGET

None.

Response Formats

application/json, text/json

Sample:
{
  "adventurer": {
    "contactNo": "sample string 1",
    "emailAddress": "sample string 2",
    "emergencyContactNo": "sample string 3",
    "fullName": "sample string 4",
    "id": 5,
    "rsaId": "sample string 6",
    "uid": "sample string 7"
  },
  "bookings": [
    {
      "activity": {
        "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-07-27T05:40:08.9684772+02:00",
        "availableSpaces": 7
      },
      "endDate": "2024-07-27T05:40:08.9684772+02:00",
      "id": 2,
      "pax": 3,
      "sessionType": "sample string 4",
      "startDate": "2024-07-27T05:40:08.9684772+02:00",
      "packages": [
        {
          "core": true,
          "description": "sample string 2",
          "id": 3,
          "name": "sample string 4",
          "trxCost": 5.0
        },
        {
          "core": true,
          "description": "sample string 2",
          "id": 3,
          "name": "sample string 4",
          "trxCost": 5.0
        }
      ]
    },
    {
      "activity": {
        "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-07-27T05:40:08.9684772+02:00",
        "availableSpaces": 7
      },
      "endDate": "2024-07-27T05:40:08.9684772+02:00",
      "id": 2,
      "pax": 3,
      "sessionType": "sample string 4",
      "startDate": "2024-07-27T05:40:08.9684772+02:00",
      "packages": [
        {
          "core": true,
          "description": "sample string 2",
          "id": 3,
          "name": "sample string 4",
          "trxCost": 5.0
        },
        {
          "core": true,
          "description": "sample string 2",
          "id": 3,
          "name": "sample string 4",
          "trxCost": 5.0
        }
      ]
    }
  ],
  "permits": [
    {
      "accessCards": [
        {
          "cardNo": "sample string 1",
          "id": 2
        },
        {
          "cardNo": "sample string 1",
          "id": 2
        }
      ],
      "bookingId": 1,
      "id": 2,
      "pax": 3,
      "adventurer": {
        "contactNo": "sample string 1",
        "emailAddress": "sample string 2",
        "emergencyContactNo": "sample string 3",
        "fullName": "sample string 4",
        "id": 5,
        "rsaId": "sample string 6",
        "uid": "sample string 7"
      },
      "permitType": {
        "baseCost": 1.0,
        "baseUsers": 2,
        "daysValid": 3,
        "description": "sample string 4",
        "extraCost": 5.0,
        "id": 6,
        "modified": "2024-07-27T05:40:08.9684772+02:00",
        "modifiedBy": 8,
        "name": "sample string 9",
        "organisationId": 10,
        "statusId": 11
      },
      "plates": [
        {
          "id": 1,
          "plateNo": "sample string 2"
        },
        {
          "id": 1,
          "plateNo": "sample string 2"
        }
      ],
      "status": "sample string 4",
      "validFrom": "2024-07-27T05:40:08.9684772+02:00",
      "validTo": "2024-07-27T05:40:08.9684772+02:00"
    },
    {
      "accessCards": [
        {
          "cardNo": "sample string 1",
          "id": 2
        },
        {
          "cardNo": "sample string 1",
          "id": 2
        }
      ],
      "bookingId": 1,
      "id": 2,
      "pax": 3,
      "adventurer": {
        "contactNo": "sample string 1",
        "emailAddress": "sample string 2",
        "emergencyContactNo": "sample string 3",
        "fullName": "sample string 4",
        "id": 5,
        "rsaId": "sample string 6",
        "uid": "sample string 7"
      },
      "permitType": {
        "baseCost": 1.0,
        "baseUsers": 2,
        "daysValid": 3,
        "description": "sample string 4",
        "extraCost": 5.0,
        "id": 6,
        "modified": "2024-07-27T05:40:08.9684772+02:00",
        "modifiedBy": 8,
        "name": "sample string 9",
        "organisationId": 10,
        "statusId": 11
      },
      "plates": [
        {
          "id": 1,
          "plateNo": "sample string 2"
        },
        {
          "id": 1,
          "plateNo": "sample string 2"
        }
      ],
      "status": "sample string 4",
      "validFrom": "2024-07-27T05:40:08.9684772+02:00",
      "validTo": "2024-07-27T05:40:08.9684772+02:00"
    }
  ],
  "products": [
    {
      "id": 1,
      "name": "sample string 2",
      "delivered": "2024-07-27T05:40:08.9684772+02:00",
      "statusId": 4,
      "qty": 5,
      "amount": 6.0,
      "featuredImage": "sample string 7"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "delivered": "2024-07-27T05:40:08.9684772+02:00",
      "statusId": 4,
      "qty": 5,
      "amount": 6.0,
      "featuredImage": "sample string 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.