POST api/booking/CreateBookingPenalty

Request Information

URI Parameters

None.

Body Parameters

BookingPenaltyPost
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BookingPenaltyPost'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.