Compare commits

...

2 Commits

Author SHA1 Message Date
f4f6928432 Merge pull request 'api issue fixed' (#18) from mohan into master
Reviewed-on: #18
2026-06-24 12:03:45 +00:00
0319b470e6 api issue fixed 2026-06-24 17:30:09 +05:30
3 changed files with 46 additions and 0 deletions

View File

@ -64,6 +64,8 @@ public function getProfile(Request $request)
'employer' => $profile->emirates_id_employer,
'issue_place' => $profile->emirates_id_issue_place,
'occupation' => $profile->emirates_id_occupation,
'card_number' => $profile->emirates_id_card_number,
'gender' => $profile->emirates_id_gender,
],
];
@ -301,6 +303,8 @@ public function updateProfile(Request $request)
'employer' => $profile->emirates_id_employer,
'issue_place' => $profile->emirates_id_issue_place,
'occupation' => $profile->emirates_id_occupation,
'card_number' => $profile->emirates_id_card_number,
'gender' => $profile->emirates_id_gender,
],
];

View File

@ -346,6 +346,8 @@ private function buildSponsorResponse(Sponsor $sponsor): array
'employer' => $sponsor->emirates_id_employer,
'issue_place' => $sponsor->emirates_id_issue_place,
'occupation' => $sponsor->emirates_id_occupation,
'card_number' => $sponsor->emirates_id_card_number,
'gender' => $sponsor->emirates_id_gender,
];
}

View File

@ -188,6 +188,14 @@
"occupation": {
"type": "string",
"example": "Manager"
},
"card_number": {
"type": "string",
"example": "151023946"
},
"gender": {
"type": "string",
"example": "M"
}
}
},
@ -883,6 +891,14 @@
"occupation": {
"type": "string",
"example": "Manager"
},
"card_number": {
"type": "string",
"example": "151023946"
},
"gender": {
"type": "string",
"example": "M"
}
}
}
@ -3354,6 +3370,14 @@
"occupation": {
"type": "string",
"example": "Manager"
},
"card_number": {
"type": "string",
"example": "151023946"
},
"gender": {
"type": "string",
"example": "M"
}
}
},
@ -4331,6 +4355,14 @@
"occupation": {
"type": "string",
"example": "Manager"
},
"card_number": {
"type": "string",
"example": "151023946"
},
"gender": {
"type": "string",
"example": "M"
}
}
}
@ -4590,6 +4622,14 @@
"occupation": {
"type": "string",
"example": "Manager"
},
"card_number": {
"type": "string",
"example": "151023946"
},
"gender": {
"type": "string",
"example": "M"
}
}
}