ReservationHolder

Structure

FieldTypeRequiredDescription
idintfalseReservation Holder Id.
profileIdintfalseProfile Id.
documentNumberintfalseDocument (Id, Passport...) number.
prefixNamestringfalsePrefix name of the holder.
givenNamestringfalseName of the holder.

secondSurName

stringfalseSecond surname of the holder.

surName

stringfalseSurname of the holder.

street

stringfalseStreet of the address of the holder.

city

stringfalseCity of the holder.

stateProvName

stringfalseName of the stateProv.
stateProvCodeStringfalseCode of the stateProv. ISO 3166-2

postalCode

stringfalsePostal code of the address of the holder.

countryCode

StringfalseCountry of the address of the holder. ISO 3166-1 alpha-2

email

stringfalseEmail of the holder.

phoneNumber

stringfalseTelephone number to contact the holder.

language

LanguagefalseLanguage that is used by the holder.
documentTypeDocumentTypefalseType of document that the holder gave to register.

JSON representation

{
	"id": 15,
	"profileId": 25,
	"documentNumber": "111222333L",
	"prefixName": "Mrs",
	"givenName": "Kathryn",
	"secondSurName": "Léonie",
	"surName": "Jordan",
	"street": null,
	"city": null,
	"stateProvName": "Barcelona",
	"stateProvCode": "ES-B",
	"postalCode": null,
	"countryCode": "ES",
	"email": null,
	"phoneNumber": "+34 678505050",
	"language": {
		"id": 1,
		"code": "ES",
		"name": "Spanish"
	},
	"documentType": {
    	"id": 1,
    	"createdDate": "2018-04-12T18:13:50.710Z",
    	"code": "1",
    	"name": "Visa"
	}
}