PUT adventures/permittypes

Request Information

URI Parameters

None.

Body Parameters

PermitTypePUT
NameDescriptionTypeAdditional information
BaseCost

decimal number

None.

BaseUsers

integer

None.

DaysValid

integer

None.

Description

string

None.

ExtraCost

decimal number

None.

Id

integer

None.

ModifiedBy

string

None.

Name

string

None.

StatusId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "baseCost": 1.0,
  "baseUsers": 1,
  "daysValid": 1,
  "description": "sample string 1",
  "extraCost": 1.0,
  "id": 2,
  "modifiedBy": "sample string 3",
  "name": "sample string 4",
  "statusId": 1
}

application/xml, text/xml

Sample:
<PermitTypePUT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myPortalApi.Models.Adventures">
  <BaseCost>1</BaseCost>
  <BaseUsers>1</BaseUsers>
  <DaysValid>1</DaysValid>
  <Description>sample string 1</Description>
  <ExtraCost>1</ExtraCost>
  <Id>2</Id>
  <ModifiedBy>sample string 3</ModifiedBy>
  <Name>sample string 4</Name>
  <StatusId>1</StatusId>
</PermitTypePUT>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PermitTypePUT'.

Response Information

Resource Description

None.