POST api/BookingTemplates/GetIndividualPrice/AsSystemAdmin
Request Information
URI Parameters
None.
Body Parameters
SysAdminFixedPackageIndividualPriceName | Description | Type | Additional information |
---|---|---|---|
Cost | decimal number |
Required |
|
BaseMarginPercent | decimal number |
Required |
|
TourOperatorMarginPercent | decimal number |
Required |
|
AgentCommission | BookingCommissionBindingModel |
Required |
|
StaffCommission | BookingCommissionBindingModel |
Required |
Request Formats
application/json, text/json
Sample:
{ "Cost": 1.0, "BaseMarginPercent": 2.0, "TourOperatorMarginPercent": 3.0, "AgentCommission": { "Value": 1.0 }, "StaffCommission": { "Value": 1.0 } }
application/xml, text/xml
Sample:
<SysAdminFixedPackageIndividualPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <AgentCommission> <Value>1</Value> </AgentCommission> <StaffCommission> <Value>1</Value> </StaffCommission> <BaseMarginPercent>2</BaseMarginPercent> <Cost>1</Cost> <TourOperatorMarginPercent>3</TourOperatorMarginPercent> </SysAdminFixedPackageIndividualPrice>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
decimal numberResponse Formats
application/json, text/json
Sample:
1.0
application/xml, text/xml
Sample:
<decimal xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</decimal>