Upload a guest document
POST/documents
Some activities (a helicopter flight or a yacht, for example) need the guest's passport
or Emirates ID: requirements.personalInformation says which. Upload a picture of the
front and one of the back before the availability request, then send the two
documentIds in leadGuest.documentIds, front first.
The body is the picture itself, not JSON and not a form. JPEG or PNG, up to 5 MB, with a
Content-Type that matches it. Anything else is 400 INVALID_REQUEST; a larger picture is 413.
A document can only be used in your own requests, and can be reused for the same guest.
Request
Responses
- 201
- 400
- 401
- 403
- 413
- 429
Document stored.
A field is missing or wrong. The message names it. Fix the request.
No token, an expired token, or wrong credentials (UNAUTHORIZED). Get a new token.
Your account is suspended (PARTNER_DISABLED), whatever token you hold. Contact All Out.
The JSON body is larger than 100 KB, or a document picture is larger than 5 MB (INVALID_REQUEST).
Too many requests (RATE_LIMITED). Wait the seconds in the Retry-After header.
Response Headers
Seconds to wait.