Get one user's visa records
Get one user's visa records
GET /get-ee-visa
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Required
Description
customer_id
string
The unique Marco identifier for your company.
email
string
Email of the user
Parameter Example
{
"customer_id": "1",
"email": "[email protected]"
}Response
[
{
"id": 513,
"customer_id": 1,
"application_doc_list": [
{
"id": 26390,
"file_name": "get token-java code.txt",
"file_type": "txt",
"file_url": "https://marcopayroll-production.s3.ap-southeast-1.amazonaws.com/doc/35a80116-94ad-414c-8b3c-75fdd7cb51a0-1733291628265.txt?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR7OVYMK3MWXZDBXJ%2F20241204%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20241204T060439Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Signature=55d841cc761b8c998dd008915dcb003bc8070a042dfcae88ebe747ca48174426"
}
],
"approval_doc_list": [
{
"id": 26391,
"file_name": "add expense -java code.txt",
"file_type": "txt",
"file_url": "https://marcopayroll-production.s3.ap-southeast-1.amazonaws.com/doc/708d8ea8-78ca-4c99-a839-328abe1d62b2-1733291633289.txt?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR7OVYMK3MWXZDBXJ%2F20241204%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20241204T060439Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Signature=fbf88c3708ec5eae890188c1e20f04bec04874831c209e6f5b886fb13cec0de7"
}
],
"notes": "testing",
"status": "Application in Progress",
"request_date": "2024-12-03",
"visa_start_date": "2024-12-06",
"visa_expiring_date": "2025-12-05",
"visa_name": "work permit",
"user": 2232,
"platform_email": "[email protected]",
"visa_from_country": "AD",
"visa_country": "AF"
}
]{
"error": "Invalid request"
}Last updated