POST adventures/packagetypes
Request Information
URI Parameters
None.
Body Parameters
PackageTypePOSTName | Description | Type | Additional information |
---|---|---|---|
ActivityId | integer |
None. |
|
BaseCost | decimal number |
None. |
|
BaseUsers | integer |
None. |
|
Core | boolean |
None. |
|
Description | string |
None. |
|
ExtraCost | decimal number |
None. |
|
ModifiedBy | string |
None. |
|
Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "activityId": 1, "baseCost": 2.0, "baseUsers": 3, "core": true, "description": "sample string 5", "extraCost": 6.0, "modifiedBy": "sample string 7", "name": "sample string 8" }
application/xml, text/xml
Sample:
<PackageTypePOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myPortalApi.Models.Adventures"> <ActivityId>1</ActivityId> <BaseCost>2</BaseCost> <BaseUsers>3</BaseUsers> <Core>true</Core> <Description>sample string 5</Description> <ExtraCost>6</ExtraCost> <ModifiedBy>sample string 7</ModifiedBy> <Name>sample string 8</Name> </PackageTypePOST>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.