POST api/BookingTemplates/Edit/PaymentTerms?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
UpdatePaymentTermsBindingModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
|
PaymentPercentage | decimal number |
None. |
|
DueDate | date |
None. |
|
Description | string |
String length: inclusive between 0 and 100 |
|
IsLockGuest | boolean |
Required |
|
Sequence | integer |
None. |
|
IntervalDays | integer |
None. |
|
IsAfterBookingBased | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "PaymentPercentage": 1.0, "DueDate": "2025-06-26T13:58:04.0651465+00:00", "Description": "sample string 3", "IsLockGuest": true, "Sequence": 1, "IntervalDays": 1, "IsAfterBookingBased": true }
application/xml, text/xml
Sample:
<UpdatePaymentTermsBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Description>sample string 3</Description> <DueDate>2025-06-26T13:58:04.0651465+00:00</DueDate> <Id>1</Id> <IntervalDays>1</IntervalDays> <IsAfterBookingBased>true</IsAfterBookingBased> <IsLockGuest>true</IsLockGuest> <PaymentPercentage>1</PaymentPercentage> <Sequence>1</Sequence> </UpdatePaymentTermsBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.