GET eco/permittypes/expanded

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PermitTypeExpanded
NameDescriptionTypeAdditional information
Organisation

PermitTypeOrganisation

None.

Status

Status

None.

SiteId

integer

None.

SiteName

string

None.

BaseCost

decimal number

None.

BaseUsers

integer

None.

DaysValid

integer

None.

Description

string

None.

ExtraCost

decimal number

None.

Id

integer

None.

Modified

date

None.

ModifiedBy

integer

None.

Name

string

None.

OrganisationId

integer

None.

StatusId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "organisation": null,
    "status": {
      "id": 1,
      "name": "sample string 2"
    },
    "siteId": 1,
    "siteName": "sample string 2",
    "baseCost": 3.0,
    "baseUsers": 4,
    "daysValid": 5,
    "description": "sample string 6",
    "extraCost": 7.0,
    "id": 8,
    "modified": "2024-07-27T09:25:43.4304353+02:00",
    "modifiedBy": 10,
    "name": "sample string 11",
    "organisationId": 12,
    "statusId": 13
  },
  {
    "organisation": null,
    "status": {
      "id": 1,
      "name": "sample string 2"
    },
    "siteId": 1,
    "siteName": "sample string 2",
    "baseCost": 3.0,
    "baseUsers": 4,
    "daysValid": 5,
    "description": "sample string 6",
    "extraCost": 7.0,
    "id": 8,
    "modified": "2024-07-27T09:25:43.4304353+02:00",
    "modifiedBy": 10,
    "name": "sample string 11",
    "organisationId": 12,
    "statusId": 13
  }
]

application/xml

Sample:

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