PUT adventures/packagetypes

Request Information

URI Parameters

None.

Body Parameters

PackageTypePUT
NameDescriptionTypeAdditional information
BaseCost

decimal number

None.

BaseUsers

integer

None.

Core

boolean

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,
  "core": true,
  "description": "sample string 1",
  "extraCost": 1.0,
  "id": 2,
  "modifiedBy": "sample string 3",
  "name": "sample string 4",
  "statusId": 1
}

application/xml, text/xml

Sample:
<PackageTypePUT 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>
  <Core>true</Core>
  <Description>sample string 1</Description>
  <ExtraCost>1</ExtraCost>
  <Id>2</Id>
  <ModifiedBy>sample string 3</ModifiedBy>
  <Name>sample string 4</Name>
  <StatusId>1</StatusId>
</PackageTypePUT>

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 'PackageTypePUT'.

Response Information

Resource Description

None.