POST api/user/bookings/{bookingId}/transfer-request
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingId | globally unique identifier |
Required |
Body Parameters
UserBookingTransferRequestDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| TargetCruiseId | integer |
None. |
|
| NewVoucherNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"targetCruiseId": 1,
"newVoucherNumber": "sample string 2"
}
application/xml, text/xml
Sample:
<UserBookingTransferRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CruiseParking.Website.API.Models"> <NewVoucherNumber>sample string 2</NewVoucherNumber> <TargetCruiseId>1</TargetCruiseId> </UserBookingTransferRequestDTO>
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.