Structure
Field | Type | Required | Description |
---|---|---|---|
id | true | ||
documentType | DocumentType | true | Type of document |
documentNumber | String | true | Identificative number of the document of the guest. |
givenName | String | true | Name of the guest. |
middleName | String | true | Middle name of the guest. |
surname | String | true | Surname (second name) of the guest. |
genderType | GenderType | true | Gender of the guest. |
birthDate | LocalDate | true | Birth date of the guest as is on the document. |
birthCountry | Country | true | Birth country of the guest as is on the document. |
birthPlace | String | Name of the city/town where the guest was born. | |
effectiveDate | LocalDate | true | Date when the document was created. |
expireDate | LocalDate | true | Date when the document expires. |
street | String | true | Street of the residence of the guest as is on the document. |
city | String | true | City of the guest as is on the document. |
stateProvName | String | State or province of the guest as is on the document. | |
stateProv | StateProv | ||
country | Country | Country of the guest as is on the document. | |
postalCode | String | CP of the guest as is on the document. | |
nationalityCountry | Country | Country of the nationality of the guest. | |
ocr | String | ||
String | |||
phoneNumber | String |
JSON representation
{ "id": 1, "documentType": { "id": 2, "code": "2", "name": "Passport" }, "documentNumber": "MNZLDtSw", "givenName": "Jeremy", "middleName": "Stéphanie", "surName": "Gardner", "genderType": { "id": 2, "createdDate": null, "modifiedDate": null, "createdUser": null, "modifiedUser": null, "code": "F", "name": "Female" }, "birthDate": "2018-04-12T18:13:50.710Z", "birthCountry": { "id": 231, "code": "VEN", "name": "VENEZUELA" }, "birthPlace": "Waterbury", "effectiveDate": "2018-04-12T18:13:50.710Z", "expireDate": "2018-04-12T18:13:50.710Z", "street": "03 Rusk Park", "city": "Waterbury", "stateProvName": "Connecticut", "stateProv": null, "country": { "id": 231, "code": "VEN", "name": "VENEZUELA" }, "postalCode": "6726", "nationalityCountry": { "id": 231, "code": "VEN", "name": "VENEZUELA" }, "ocr": null, "email": "phill8m@usnews.com", "phoneNumber": "1-(203)205-9014" }