POST api/cancellationreasons/manage

Request Information

URI Parameters

None.

Body Parameters

CancellationReason
NameDescriptionTypeAdditional information
Id

integer

None.

Description

string

None.

IsActive

boolean

None.

CancellationFeeType

FeeTypes

None.

MinMinutesBeforeEvent

integer

None.

CancellationFeeProdId

integer

None.

DiscountPercent

decimal number

None.

RequiresCustomMessage

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Description": "sample string 2",
  "IsActive": true,
  "CancellationFeeType": 0,
  "MinMinutesBeforeEvent": 4,
  "CancellationFeeProdId": 5,
  "DiscountPercent": 6.1,
  "RequiresCustomMessage": true
}

application/xml, text/xml

Sample:
<CancellationReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models">
  <CancellationFeeProdId>5</CancellationFeeProdId>
  <CancellationFeeType>NoFee</CancellationFeeType>
  <Description>sample string 2</Description>
  <DiscountPercent>6.1</DiscountPercent>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <MinMinutesBeforeEvent>4</MinMinutesBeforeEvent>
  <RequiresCustomMessage>true</RequiresCustomMessage>
</CancellationReason>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CancellationReason
NameDescriptionTypeAdditional information
Id

integer

None.

Description

string

None.

IsActive

boolean

None.

CancellationFeeType

FeeTypes

None.

MinMinutesBeforeEvent

integer

None.

CancellationFeeProdId

integer

None.

DiscountPercent

decimal number

None.

RequiresCustomMessage

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Description": "sample string 2",
  "IsActive": true,
  "CancellationFeeType": 0,
  "MinMinutesBeforeEvent": 4,
  "CancellationFeeProdId": 5,
  "DiscountPercent": 6.1,
  "RequiresCustomMessage": true
}

application/xml, text/xml

Sample:
<CancellationReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models">
  <CancellationFeeProdId>5</CancellationFeeProdId>
  <CancellationFeeType>NoFee</CancellationFeeType>
  <Description>sample string 2</Description>
  <DiscountPercent>6.1</DiscountPercent>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <MinMinutesBeforeEvent>4</MinMinutesBeforeEvent>
  <RequiresCustomMessage>true</RequiresCustomMessage>
</CancellationReason>