get user profile
Testing Env
https://testhr.vodoglobal.com
Testing Env
https://testhr.vodoglobal.com
GET
/api/v1/get-user-profile/{{user_id}}
Last modified:2025-03-26 12:40:51
Get User Profile
Request
GET {{url}}api/v1/get-user-profile/{{user_id}}
Response
{
"status": true,
"message": "",
"response": {
"color": null,
"profile": "",
"basic_info": {
"id": 0,
"uuid": "",
"name": "",
"user_name": "",
"cash_account_id": 0,
"name_ar": null,
"avatar": "",
"user_type_id": 0,
"status": "",
"email": "",
"business_id": "",
"branch_id": "",
"other_branches_id": "",
"assigned_business_id": null,
"email_verification_code": null,
"reset_code": null,
"inventory_audit_process_code": null,
"email_verified_at": null,
"occupation": null,
"phone": "",
"address": null,
"country_id": null,
"phone_country_id": null,
"phone_code": null,
"city": null,
"state": null,
"postcode": null,
"ecomm_user_id": null,
"currency_id": 0,
"created_at": "",
"updated_at": "",
"deleted_at": null,
"roles": [
{
"id": 0,
"uuid": "",
"name": "",
"name_ar": "",
"type": "",
"type_ar": "",
"view_type": "",
"user_type": null,
"business_id": "",
"image": null,
"create_cash_account": 0,
"created_at": "",
"updated_at": "",
"deleted_at": null,
"pivot": {
"user_id": 0,
"role_id": 0
}
}
],
"business": {
"id": 0,
"uuid": "",
"api_key": "",
"secure_key": "",
"name": "",
"name_en": "",
"user_id": 0,
"admin_template": "",
"status": "",
"active": "",
"supplier_chain": "",
"agent": "",
"plan_id": null,
"agent_id": null,
"plan_date": "",
"db_name": null,
"country_id": 0,
"city_id": "",
"state": "",
"address": "",
"expiration_date": "",
"company_size": null,
"created_at": "",
"updated_at": ""
},
"branch": {
"id": 0,
"uuid": "",
"business_id": 0,
"company_id": null,
"name": "",
"name_ar": "",
"vat_number": "",
"vat_number_check": "",
"phone": "",
"email": "",
"address": "",
"longitude": "",
"latitude": null,
"country_id": 0,
"city": "",
"state": null,
"district": null,
"status": 0,
"created_at": "",
"updated_at": ""
}
},
"profile_url": ""
}
}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://testhr.vodoglobal.com/api/v1/get-user-profile/' \
--header 'uuid: 630ca2f4885f8' \
--header 'secure_business_key: 4765066450c0bd66325.48403130' \
--header 'Accept: application/json'
Response Response Example
{
"status": true,
"message": "success",
"response": {
"color": null,
"profile": "599",
"basic_info": {
"id": 926,
"uuid": "199b7a19-5f3e-4fb6-8e2f-4e3401b477e4",
"name": "Marco",
"user_name": "Marco_1",
"cash_account_id": 99,
"name_ar": null,
"avatar": "https://testhr.vodoglobal.com/data/employee/profile/599/emp_profile_3331_2025-03-13-09:06:42.jpg",
"user_type_id": 4,
"status": "1",
"email": "yiyoxe1194@ronete.com",
"business_id": "259",
"branch_id": "2",
"other_branches_id": "1,25",
"assigned_business_id": null,
"email_verification_code": null,
"reset_code": null,
"inventory_audit_process_code": null,
"email_verified_at": null,
"occupation": null,
"phone": "+96633554466",
"address": null,
"country_id": null,
"phone_country_id": null,
"phone_code": null,
"city": null,
"state": null,
"postcode": null,
"ecomm_user_id": null,
"currency_id": 48,
"created_at": "2024-12-22T13:06:15.000000Z",
"updated_at": "2025-03-13T09:22:06.000000Z",
"deleted_at": null,
"roles": [
{
"id": 47,
"uuid": "a23ed325-9174-4cee-92d6-a2e980fe7bcb",
"name": "developer",
"name_ar": "مطور",
"type": "custom",
"type_ar": "خاص",
"view_type": "clients",
"user_type": null,
"business_id": "259",
"image": null,
"create_cash_account": 1,
"created_at": "2024-08-14T16:04:14.000000Z",
"updated_at": "2025-02-23T14:08:55.000000Z",
"deleted_at": null,
"pivot": {
"user_id": 926,
"role_id": 47
}
}
],
"business": {
"id": 259,
"uuid": "a36a88fa-8320-4dbd-a6db-1936ca8f3ccd",
"api_key": "5711266450c0bd66375.35222958",
"secure_key": "4765066450c0bd66325.48403130",
"name": "تجريبى فودو",
"name_en": "تجريبى فودو",
"user_id": 497,
"admin_template": "0",
"status": "1",
"active": "1",
"supplier_chain": "0",
"agent": "0",
"plan_id": null,
"agent_id": null,
"plan_date": "2024-05-15",
"db_name": null,
"country_id": 0,
"city_id": "3542",
"state": "184",
"address": "test address",
"expiration_date": "2025-05-15 22:24:59",
"company_size": null,
"created_at": "2024-05-15T07:24:59.000000Z",
"updated_at": "2025-02-24T08:33:45.000000Z"
},
"branch": {
"id": 2,
"uuid": "a4320f7b-42b4-4b26-af45-fdd594e3f318",
"business_id": 259,
"company_id": null,
"name": "Alyasmin",
"name_ar": "فرع الياسمين",
"vat_number": "12345",
"vat_number_check": "0",
"phone": "+9665147823",
"email": "city@vodoglobal.om",
"address": "عنوان الفرع",
"longitude": "25.1478566",
"latitude": null,
"country_id": 2,
"city": "22",
"state": null,
"district": null,
"status": 1,
"created_at": "2024-08-01T15:56:53.000000Z",
"updated_at": "2024-08-01T15:56:53.000000Z"
}
},
"profile_url": "https://testhr.vodoglobal.com/data/employee/profile/599/emp_profile_3331_2025-03-13-09:06:42.jpg"
}
}
Request
Header Params
uuid
string
required
Example:
{{uuid}}
secure_business_key
string
required
Example:
{{secure_business_key}}
Accept
string
required
Example:
application/json