POST api/BookingTemplates/SupplementItemForTourPackage/Add
Request Information
URI Parameters
None.
Body Parameters
AddSupplementForBookingTemplateBindingModelName | Description | Type | Additional information |
---|---|---|---|
BookingTemplateId | integer |
Required |
|
Name | string |
Required String length: inclusive between 0 and 50 |
|
Description | string |
String length: inclusive between 0 and 500 |
|
IsMandatory | boolean |
Required |
|
UnitCost | decimal number |
Required |
|
CurrencyId | string |
Required |
|
UomId | string |
Required |
|
IsInfantCount | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "BookingTemplateId": 1, "Name": "sample string 2", "Description": "sample string 3", "IsMandatory": true, "UnitCost": 5.0, "CurrencyId": "sample string 6", "UomId": "sample string 7", "IsInfantCount": true }
application/xml, text/xml
Sample:
<AddSupplementForBookingTemplateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <BookingTemplateId>1</BookingTemplateId> <CurrencyId>sample string 6</CurrencyId> <Description>sample string 3</Description> <IsInfantCount>true</IsInfantCount> <IsMandatory>true</IsMandatory> <Name>sample string 2</Name> <UnitCost>5</UnitCost> <UomId>sample string 7</UomId> </AddSupplementForBookingTemplateBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.