Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Structure

Excerpt


FieldTypeRequiredDescription
idintfalseReservation Holder Id.
profileIdintfalseProfile Id.
documentNumberintfalseUnique identifier for the ProductDocument (Id, Passport...) number.
prefixNamestringfalsePrefix name of the holder.
givenNamestringfalsemiddleNameName 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.
stringstateProvCodeStringfalseCode of the stateProv. ISO 3166-2

postalCode

stringfalse

country

CountryPostal 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

Code Block
languagepowershell
themeDJango
{
	"id": 15,
	"profileId": 25,
	"documentNumber": null"111222333L",
	"prefixName": "Mrs",
	"givenName": "Kathryn",
	"middleNamesecondSurName": "Léonie",
	"surName": "Jordan",
	"street": null,
	"city": null,
	"stateProvstateProvName": "Barcelona",
	"stateProvCode": "ES-B",
	"postalCode": null,
	"countryCode": "ES",
	"postalCodeemail": null,
	"countryphoneNumber": "+34 678505050",
	"language": {
		"id": 1651,
		"code": "ES",
		"name": "Spanish"
	},
	"documentType": {
    	"id": 1,
    	"createdDate": "PAN2018-04-12T18:13:50.710Z",
    	"code": "1",
    	"name": "PANAMAVisa"
	}
}