api issue fixed #18
@ -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,
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
@ -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,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user