UP RATION TO ADHAR NO
Base Endpoint URL
https://api.devilapi.online/service_api/v1/ration/ration_to_uid_up.php
Parameters Payload
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | REQUIRED | enter_key |
| ration_no | number | REQUIRED | enter_Ration_no |
PHP Integration Code
curl_request.php
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://api.devilapi.online/service_api/v1/ration/ration_to_uid_up.php?api_key=&ration_no=', 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": "", "ration_no": "" } )); $response = curl_exec($curl); curl_close($curl); echo $response;
Example Response Payload
200 OK
{
"status": "success",
"message": "Uid Found Successfully",
"sms_sent": true,
"fee": 1,
"ration_no": "*************",
"data": {
"members": [
{
"srno": 1,
"Nameof_Family_Member_EN": "*************",
"Gender": "*************",
"Father_Name_EN": "*************",
"RELATION": "*************",
"DOB": "*************",
"UIDNo": "*************"
},
{
"srno": 2,
"Nameof_Family_Member_EN": "*************",
"Gender": "*************",
"Father_Name_EN": "*************",
"RELATION": "*************",
"DOB": "*************",
"UIDNo": "*************"
}
]
}
}
Bearer Token Authentication
All API requests require active authentication tokens sent inside HTTP Bearer headers.