POST api/v{version}/checkin/contactDetails/{bookingRef}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bookingRef

string

Required

version

The requested API version

string

Required

Default value is 1.0

Body Parameters

UpdateCustomerV1
NameDescriptionTypeAdditional information
username

string

None.

password

string

None.

newUsername

string

None.

mobile

PhoneNumber

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "newUsername": "sample string 3",
  "mobile": {
    "countryIsoCode": "sample string 1",
    "countryCode": "sample string 2",
    "phoneNumber": "sample string 3"
  }
}

text/javascript

Sample:
{"username":"sample string 1","password":"sample string 2","newUsername":"sample string 3","mobile":{"countryIsoCode":"sample string 1","countryCode":"sample string 2","phoneNumber":"sample string 3"}}

application/xml, text/xml

Sample:
<UpdateCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNITE.External.API.Support.SpringApp.V1">
  <Mobile xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNITE.External.API.Models">
    <d2p1:CountryCode>sample string 2</d2p1:CountryCode>
    <d2p1:CountryIsoCode>sample string 1</d2p1:CountryIsoCode>
    <d2p1:Number>sample string 3</d2p1:Number>
  </Mobile>
  <NewUsername>sample string 3</NewUsername>
  <Password>sample string 2</Password>
  <Username>sample string 1</Username>
</UpdateCustomer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseObjectOfObject
NameDescriptionTypeAdditional information
statusCode

integer

None.

errorMessage

string

None.

success

boolean

None.

result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "statusCode": 1,
  "errorMessage": "sample string 2",
  "success": true,
  "result": {}
}

text/javascript

Sample:
{"statusCode":1,"errorMessage":"sample string 2","success":true,"result":{}}

application/xml, text/xml

Sample:
<ResponseObjectOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNITE.External.API.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
  <Success>true</Success>
</ResponseObjectOfanyType>