GET adventures/activities/{id}/permittypes

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PermitTypeGET
NameDescriptionTypeAdditional information
BaseCost

decimal number

None.

BaseUsers

integer

None.

DaysValid

integer

None.

Description

string

None.

ExtraCost

decimal number

None.

Id

integer

None.

Modified

date

None.

ModifiedBy

UserBasicGET

None.

Name

string

None.

Organisation

OrganisationBasicGET

None.

Status

Status

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "baseCost": 1.0,
    "baseUsers": 2,
    "daysValid": 3,
    "description": "sample string 4",
    "extraCost": 5.0,
    "id": 6,
    "modified": "2024-09-07T14:47:14.9256896+00:00",
    "modifiedBy": null,
    "name": "sample string 8",
    "organisation": null,
    "status": {
      "id": 1,
      "name": "sample string 2"
    }
  },
  {
    "baseCost": 1.0,
    "baseUsers": 2,
    "daysValid": 3,
    "description": "sample string 4",
    "extraCost": 5.0,
    "id": 6,
    "modified": "2024-09-07T14:47:14.9256896+00:00",
    "modifiedBy": null,
    "name": "sample string 8",
    "organisation": null,
    "status": {
      "id": 1,
      "name": "sample string 2"
    }
  }
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'myPortalApi.Models.Admin.UserBasicGET' 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 'myPortalApi.Models.Admin.UserBasicGET' 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.