POST api/booking/CreateBookingPenalty
Request Information
URI Parameters
None.
Body Parameters
BookingPenaltyPost| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingId | integer |
None. |
|
| StatusStageId | integer |
None. |
|
| PenaltyAmount | decimal number |
None. |
|
| TransactionType | string |
None. |
|
| PenaltyCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookingId": 1,
"StatusStageId": 2,
"PenaltyAmount": 1.0,
"TransactionType": "sample string 3",
"PenaltyCount": 4
}
application/xml, text/xml
Sample:
<BookingPenaltyPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PostLibrary.Booking"> <BookingId>1</BookingId> <PenaltyAmount>1</PenaltyAmount> <PenaltyCount>4</PenaltyCount> <StatusStageId>2</StatusStageId> <TransactionType>sample string 3</TransactionType> </BookingPenaltyPost>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.