Use this call to add guests to myRent with full preparation for Croatian eVisitor service
Add eVizitor
Get full details for one blog
Method: POST
Call: /guests/add_evizitor/{id}
{id} = User ID
- For additional fields please check eVisitor on:
Fields for POST body data
Rent_id | The ID of reservation from myRent |
Name_first | name of the guest |
Name_last | last name of the guest |
document_type | Check eVizitor |
document_number | Number of the document (like ID of passport or ID) |
gender | Use: “muški” or “ženski” |
residence_country | ISO country code |
residence_adress | Address of the guest (street and number) |
residence_city | Name of the city (like London, Paris, etc) |
birth_country | ISO country code |
citizenship | ISO country code |
birth_city | Name of city (like London, Paris, etc) |
arrival_organisation | Check eVizitor |
offered_service_type | Check eVizitor |
birth_date | Date format: yyyy-MM-dd |
tt_payment_category | Check eVizitor |
JSON Example
{
"rent_id" : 600665,
"name_first" : "api name",
"name_last" : "api last name",
"document_type" : "002",
"document_number" : "1231341",
"gender" : "muški",
"residence_country" : "hrv",
"residence_adress" : "ilica 1",
"residence_city" : "Zagreb",
"birth_country" : "hrv",
"citizenship" : "hrv",
"birth_city": "Zagreb",
"arrival_organisation" : "I",
"offered_service_type" : "noćenje",
"birth_date" : "2010-07-01",
"tt_payment_category" : "14"
}