GET adventures/permittypes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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-11-28T06:48:48.2664309+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.