GET adventures/resourcegroups/{id}/resourcetypes

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ResourceTypeGET
NameDescriptionTypeAdditional information
Capacity

integer

None.

Description

string

None.

FillCapacity

boolean

None.

Id

integer

None.

Modified

date

None.

ModifiedBy

UserBasicGET

None.

Name

string

None.

ResourceGroups

Collection of ResourceGroupBasicGET

None.

Status

Status

None.

SiteId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "capacity": 1,
    "description": "sample string 2",
    "fillCapacity": true,
    "id": 4,
    "modified": "2024-09-08T02:54:22.9960589+00:00",
    "modifiedBy": null,
    "name": "sample string 6",
    "resourceGroups": [
      {
        "id": 1,
        "name": "sample string 2"
      },
      {
        "id": 1,
        "name": "sample string 2"
      }
    ],
    "status": {
      "id": 1,
      "name": "sample string 2"
    },
    "siteId": 7
  },
  {
    "capacity": 1,
    "description": "sample string 2",
    "fillCapacity": true,
    "id": 4,
    "modified": "2024-09-08T02:54:22.9960589+00:00",
    "modifiedBy": null,
    "name": "sample string 6",
    "resourceGroups": [
      {
        "id": 1,
        "name": "sample string 2"
      },
      {
        "id": 1,
        "name": "sample string 2"
      }
    ],
    "status": {
      "id": 1,
      "name": "sample string 2"
    },
    "siteId": 7
  }
]

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.