ESHRAM MOBILE UPDATE
Base Endpoint URL
https://api.devilapi.online/service_api/v1/eshram/mobile_update.php
Parameters Payload
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | REQUIRED | ENTER_KEY |
| uid | number | REQUIRED | ENTER_UIDNO |
| dob | string | REQUIRED | ENTER_DOB |
| mobile | string | REQUIRED | ENTER_MOBILE |
PHP Integration Code
curl_request.php
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://api.devilapi.online/service_api/v1/eshram/mobile_update.php?api_key=&uid=&dob=&mobile=', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', CURLOPT_POSTFIELDS => { "api_key": "", "uid": "", "dob": "", "mobile": "" } )); $response = curl_exec($curl); curl_close($curl); echo $response;
Example Response Payload
200 OK
{
"status": "success",
"message": "Mobile Updated Successfully",
"fee": 70,
"sms_sent": true,
"data": {
"uid_no": "********",
"uan_no": "********",
"name": "*********",
"old_mobile": "*********",
"new_mobile": "************"
}
}
Bearer Token Authentication
All API requests require active authentication tokens sent inside HTTP Bearer headers.