PUT api/Orders/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

OrderDataTransferModel
NameDescriptionTypeAdditional information
Order_ID

integer

None.

cruise_ID

integer

None.

passengerType

string

None.

disabledTraveller

boolean

None.

contactNumber

string

None.

order_companyName

string

None.

order_salutation

string

None.

order_firstName

string

None.

order_lastName

string

None.

order_houseNumber

string

None.

order_street

string

None.

order_town

string

None.

order_county

string

None.

order_postcode

string

None.

order_country

string

None.

order_countryCode

string

None.

ship_salutation

string

None.

ship_firstName

string

None.

ship_lastName

string

None.

ship_houseNumber

string

None.

ship_street

string

None.

ship_town

string

None.

ship_county

string

None.

ship_postcode

string

None.

ship_country

string

None.

ship_countryCode

string

None.

ExternalUniqueIdentifier

globally unique identifier

None.

LastModifiedByUser

globally unique identifier

None.

LastModifiedDate

date

None.

CreationDate

date

None.

LastChangeCounter

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Order_ID": 1,
  "cruise_ID": 2,
  "passengerType": "sample string 3",
  "disabledTraveller": true,
  "contactNumber": "sample string 5",
  "order_companyName": "sample string 6",
  "order_salutation": "sample string 7",
  "order_firstName": "sample string 8",
  "order_lastName": "sample string 9",
  "order_houseNumber": "sample string 10",
  "order_street": "sample string 11",
  "order_town": "sample string 12",
  "order_county": "sample string 13",
  "order_postcode": "sample string 14",
  "order_country": "sample string 15",
  "order_countryCode": "sample string 16",
  "ship_salutation": "sample string 17",
  "ship_firstName": "sample string 18",
  "ship_lastName": "sample string 19",
  "ship_houseNumber": "sample string 20",
  "ship_street": "sample string 21",
  "ship_town": "sample string 22",
  "ship_county": "sample string 23",
  "ship_postcode": "sample string 24",
  "ship_country": "sample string 25",
  "ship_countryCode": "sample string 26",
  "ExternalUniqueIdentifier": "38f03fd9-00fd-46c3-ab4b-7172b24bb347",
  "LastModifiedByUser": "47a158b4-7878-4951-a380-e1fac71bf2b8",
  "LastModifiedDate": "2025-10-27T22:08:17.7504239",
  "CreationDate": "2025-10-27T22:08:17.7504239",
  "LastChangeCounter": 28
}

application/xml, text/xml

Sample:
<OrderDataTransferModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HandsetWebService.DataTransferModels">
  <CreationDate>2025-10-27T22:08:17.7504239+00:00</CreationDate>
  <ExternalUniqueIdentifier>38f03fd9-00fd-46c3-ab4b-7172b24bb347</ExternalUniqueIdentifier>
  <LastChangeCounter>28</LastChangeCounter>
  <LastModifiedByUser>47a158b4-7878-4951-a380-e1fac71bf2b8</LastModifiedByUser>
  <LastModifiedDate>2025-10-27T22:08:17.7504239+00:00</LastModifiedDate>
  <Order_ID>1</Order_ID>
  <contactNumber>sample string 5</contactNumber>
  <cruise_ID>2</cruise_ID>
  <disabledTraveller>true</disabledTraveller>
  <order_companyName>sample string 6</order_companyName>
  <order_country>sample string 15</order_country>
  <order_countryCode>sample string 16</order_countryCode>
  <order_county>sample string 13</order_county>
  <order_firstName>sample string 8</order_firstName>
  <order_houseNumber>sample string 10</order_houseNumber>
  <order_lastName>sample string 9</order_lastName>
  <order_postcode>sample string 14</order_postcode>
  <order_salutation>sample string 7</order_salutation>
  <order_street>sample string 11</order_street>
  <order_town>sample string 12</order_town>
  <passengerType>sample string 3</passengerType>
  <ship_country>sample string 25</ship_country>
  <ship_countryCode>sample string 26</ship_countryCode>
  <ship_county>sample string 23</ship_county>
  <ship_firstName>sample string 18</ship_firstName>
  <ship_houseNumber>sample string 20</ship_houseNumber>
  <ship_lastName>sample string 19</ship_lastName>
  <ship_postcode>sample string 24</ship_postcode>
  <ship_salutation>sample string 17</ship_salutation>
  <ship_street>sample string 21</ship_street>
  <ship_town>sample string 22</ship_town>
</OrderDataTransferModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.