PUT api/user/detail
Creates or updates booking-ready customer details for the current authenticated user.
Request Information
URI Parameters
None.
Body Parameters
UpdateUserDetailRequestDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Salutation | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Telephone | string |
None. |
|
| HouseNumber | string |
None. |
|
| Street | string |
None. |
|
| Town | string |
None. |
|
| County | string |
None. |
|
| Postcode | string |
None. |
|
| Country | string |
None. |
|
| CountryCode | string |
None. |
|
| SeparateBillingAddress | boolean |
None. |
|
| ShipSalutation | string |
None. |
|
| ShipFirstName | string |
None. |
|
| ShipLastName | string |
None. |
|
| ShipHouseNumber | string |
None. |
|
| ShipStreet | string |
None. |
|
| ShipTown | string |
None. |
|
| ShipCounty | string |
None. |
|
| ShipPostcode | string |
None. |
|
| ShipCountry | string |
None. |
|
| ShipCountryCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"salutation": "sample string 1",
"firstName": "sample string 2",
"lastName": "sample string 3",
"telephone": "sample string 4",
"houseNumber": "sample string 5",
"street": "sample string 6",
"town": "sample string 7",
"county": "sample string 8",
"postcode": "sample string 9",
"country": "sample string 10",
"countryCode": "sample string 11",
"separateBillingAddress": true,
"shipSalutation": "sample string 13",
"shipFirstName": "sample string 14",
"shipLastName": "sample string 15",
"shipHouseNumber": "sample string 16",
"shipStreet": "sample string 17",
"shipTown": "sample string 18",
"shipCounty": "sample string 19",
"shipPostcode": "sample string 20",
"shipCountry": "sample string 21",
"shipCountryCode": "sample string 22"
}
application/xml, text/xml
Sample:
<UpdateUserDetailRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CruiseParking.Website.API.Models"> <Country>sample string 10</Country> <CountryCode>sample string 11</CountryCode> <County>sample string 8</County> <FirstName>sample string 2</FirstName> <HouseNumber>sample string 5</HouseNumber> <LastName>sample string 3</LastName> <Postcode>sample string 9</Postcode> <Salutation>sample string 1</Salutation> <SeparateBillingAddress>true</SeparateBillingAddress> <ShipCountry>sample string 21</ShipCountry> <ShipCountryCode>sample string 22</ShipCountryCode> <ShipCounty>sample string 19</ShipCounty> <ShipFirstName>sample string 14</ShipFirstName> <ShipHouseNumber>sample string 16</ShipHouseNumber> <ShipLastName>sample string 15</ShipLastName> <ShipPostcode>sample string 20</ShipPostcode> <ShipSalutation>sample string 13</ShipSalutation> <ShipStreet>sample string 17</ShipStreet> <ShipTown>sample string 18</ShipTown> <Street>sample string 6</Street> <Telephone>sample string 4</Telephone> <Town>sample string 7</Town> </UpdateUserDetailRequestDTO>
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.