GET eco/sites/{siteId}/permittypes

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PermitType
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

integer

None.

Name

string

None.

OrganisationId

integer

None.

StatusId

integer

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-02-22T00:00:30.0226737+02:00",
    "modifiedBy": 8,
    "name": "sample string 9",
    "organisationId": 10,
    "statusId": 11
  },
  {
    "baseCost": 1.0,
    "baseUsers": 2,
    "daysValid": 3,
    "description": "sample string 4",
    "extraCost": 5.0,
    "id": 6,
    "modified": "2024-02-22T00:00:30.0226737+02:00",
    "modifiedBy": 8,
    "name": "sample string 9",
    "organisationId": 10,
    "statusId": 11
  }
]

application/xml, text/xml

Sample:
<ArrayOfPermitType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Ecotourism">
  <PermitType>
    <BaseCost>1</BaseCost>
    <BaseUsers>2</BaseUsers>
    <DaysValid>3</DaysValid>
    <Description>sample string 4</Description>
    <ExtraCost>5</ExtraCost>
    <Id>6</Id>
    <Modified>2024-02-22T00:00:30.0226737+02:00</Modified>
    <ModifiedBy>8</ModifiedBy>
    <Name>sample string 9</Name>
    <OrganisationId>10</OrganisationId>
    <StatusId>11</StatusId>
  </PermitType>
  <PermitType>
    <BaseCost>1</BaseCost>
    <BaseUsers>2</BaseUsers>
    <DaysValid>3</DaysValid>
    <Description>sample string 4</Description>
    <ExtraCost>5</ExtraCost>
    <Id>6</Id>
    <Modified>2024-02-22T00:00:30.0226737+02:00</Modified>
    <ModifiedBy>8</ModifiedBy>
    <Name>sample string 9</Name>
    <OrganisationId>10</OrganisationId>
    <StatusId>11</StatusId>
  </PermitType>
</ArrayOfPermitType>