PhoneCheck API to Get Device Info
Description: Phonecheck API to get device information and application results performed by testers using the Phonecheck software.
This API will only return data from devices processed under the account holder. This is not an API that provides data from other accounts or without the connection of the device to the Phonecheck software.
URL: https://clientapiv2.phonecheck.com/cloud/cloudDB/GetDeviceInfo (US)
URL: https://eu-clientapiv2.phonecheck.com/cloudDB/GetDeviceInfo (EU)
Method: POST
Data Parameters | Value | Description |
---|---|---|
Apikey | 9cdbc7a1-1b9c-44ae-a98085104c71ea3e | Create an Authentication API Key for clientapiv2.phonecheck.com |
Username | Kai2 | Any |
IMEI | 356117092892035 | IMEI, IMEI2, Serial, LPN, or Custom1 can be used for this parameter to query the API call |
History | 1 | Parameter to get the processing history of the given IMEI, Serial, LPN, or Custom1 (Optional) |
TimeStampFormat | 24 | Parameter to get 24-hour time format against |
Error Response:
Code | Content |
---|---|
Status: 400 Bad Request | “Post Data is missing” |
Status: 400 Bad Request | “Username is missing from post data” |
Status: 404 Not Found | { |
Status: 401 Unauthorized | ApiKey Invalid - Contact Admin at <a href='http://www.phonecheck.com/contact/'PhoneCheck> Contact Support</a> |
Status: 401 Unauthorized | Unauthorized User - Contact Admin at <a href='http://www.phonecheck.com/contact/ '>Phonecheck Contact Support</a> |
Postman Sample:
Successful Response - Status: 200 OK
{
"Erased": "Yes",
"Type": "iOS Secure Restore",
"StartTime": "2023-04-12 13:30:39",
"EndTime": "2023-04-12 13:41:12",
"RestoreCode": "",
"erasedNotes": null,
"erasedSD": null,
"VendorName": "Vendor Name",
"InvoiceNo": "Invoice",
"StationID": "phonecheck26000",
"isCloudTransaction": "0",
"BoxNo": "Box No",
"QTY": "QTY",
"Working": "No",
"Passed": "",
"Failed": "Face ID",
"Pending": "",
"TransactionID": "1",
"master_id": "XXXXX",
"WareHouse": "Testiminetoday",
"MasterName": "Phonecheck",
"Model": "iPhone 11 Pro Max",
"Memory": "64GB",
"IMEI": "353889108114589",
"Carrier": "",
"Serial": "FCLZV1QJN70A",
"UDID": "00008030-001E2D881EFA802k",
"LicenseIdentifier": "1E2D881EFA803E",
"DeviceLock": "Off",
"AppleID": "",
"Rooted": "Off",
"Color": "Gold",
"Grade": "A",
"Version": "16.4.1",
"OS": "iOS",
"Make": "Apple",
"Firmware": "4.01.02",
"Notes": "DULL",
"ESN": "",
"DeviceCreatedDate": "2023-04-12 13:30:58",
"DeviceUpdatedDate": "2023-04-12 13:46:19",
"BatteryPercentage": "14",
"BatteryCycle": "328",
"BatteryHealthPercentage": "90",
"BatteryDesignMaxCapacity": "3943",
"BatteryCurrentMaxCapacity": "3580",
"BatterySerial": "N/A",
"BatteryModel": "N/A",
"BatterySource": "BS01",
"UnlockStatus": "",
"TesterName": null,
"Cosmetics": "",
"BuildNo": "2.0.2",
"AppVersion": "3.0.611",
"ManualEntry": "No",
"ESNResponse": null,
"SimLockResponse": "",
"LPN": "",
"Custom1": "A2161",
"SKUCode": "",
"RegulatoryModelNumber": "A2161",
"CosmeticsFailed": "",
"CosmeticsPassed": "",
"CosmeticsPending": "",
"CosmeticsWorking": "",
"Network": "",
"Network1": "",
"Network2": "",
"SIM1MCC": "",
"SIM1MNC": "",
"SIM2MCC": "",
"SIM2MNC": "",
"SIM1Name": "",
"SIM2Name": "",
"IMEI2": "353889108066453",
"SimTechnology": "GSM/CDMA",
"BatteryTemperature": "32",
"AvgBatteryTemperature": null,
"MaxBatteryTemperature": null,
"MinBatteryTemperature": null,
"BatteryResistance": "0",
"MEID": "35388910811458",
"MEID2": "35388910806642",
"PESN": "8063597C",
"PESN2": "807C0A8E",
"SIMSERIAL": "",
"SIMSERIAL2": "",
"DecimalMEID": "089289755208459352",
"DecimalMEID2": "089289755208414786",
"SimErased": "No",
"MDM": "No",
"CountryOfOrigin": "US",
"BatteryDrainDuration": "",
"BatteryChargeStart": "",
"BatterChargeEnd": "",
"BatteryDrain": "",
"WifiMacAddress": "f8:4e:73:d8:b6:5e",
"SimHistory": null,
"iCloudInfo": "\n",
"BatteryDrainInfo": "",
"CompatibleSim": "",
"NotCompatibleSim": "",
"DeviceState": "Recovery Mode",
"BatteryDrainType": "",
"CocoCurrentCapacity": "3580",
"CocoDesignCapacity": "0",
"OEMBatteryHealth": "0.0",
"CocoBatteryHealth": "0.0",
"PortNumber": "4",
"startHeat": "",
"endHeat": "",
"ProductCode": "",
"device_shutdown": "",
"SimLock": "",
"BMic": "",
"VMic": "",
"FMic": "",
"DefectsCode": "",
"ManualFailure": "No",
"ErrorCode": "",
"ScreenTime": "",
"testerDeviceTime": "",
"gradePerformed": "0",
"isLabelPrint": "0",
"Knox": "",
"TestPlanName": "",
"CarrierLockResponse": null,
"Parts": null,
"Ram": null,
"IFT_Codes": null,
"GradingResults": null,
"grade_profile_id": null,
"grade_route_id": null,
"transaction_type": null,
"final_price": "0.0",
"deviceDisconnect": "2023-04-12 13:46:19",
"CreatedAPITimeStamp": null,
"UpdatedAPITimeStamp": null,
"EID": "89049032005008882600043829496331",
"eBayRefurbished": "Not Qualified",
"eBayRejection": "Not Tested, Failed Tests, Missing ESN, Missing OEM",
"amazonRenewed": null,
"amazonRenewedRejection": null,
"checkall": "00000000000",
"MDMResponse": "{\"dict\":\"CloudConfiguration \",\"dict1\":\"Status : Acknowledged \",\"dict2\":\"\"}",
"BatteryHealthGrade": null,
"androidCarrierId": null,
"swappaQualified": null,
"swappaRejection": null,
"backMarketQualified": null,
"backMarketRejection": null,
"start_battery_charge": null,
"end_battery_charge": null,
"total_battery_drain": null,
"ModelNo": "MWH12LL/A",
"PackageName": "",
"InitialCarrier": "N/A",
"CosmeticsSettings": [],
"A4Reports": "7558XXXX",
"CreatedTimeStamp": "2023-04-12T01:30:58.00+00:00",
"UpdatedTimeStamp": "2023-04-12T01:46:19.00+00:00",
"A4ReportLink": "https://cloudportal.phonecheck.com/cloud/reporting/A4-certificate/bHN6VmMyUlRHMmFZZjIvUFNwXXXXXXX",
"erasureReportLink": "https://cloudportal.phonecheck.com/cloud/reporting/erasure-report/bHN6VmMyUlRHMmFZZjIvUFNwcVXXXXXX",
"dhr_link": "https://historyreport.phonecheck.com/report-qr/36f9ae25-d936-11ed-aea7-02fccf0XXXXXX"
}
Sample Curl Call:
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "http://clientapiv2.phonecheck.com/cloud/cloudDB/getDeviceInfo/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"apiKey\"\r\n\r\nf95dfa02-83e7-46a5-8b99-2c555e35bd46\r\n-----WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"username\"\r\n\r\nparagon1\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContentDisposition: form-data; name=\"imei\"\r\n\r\nC79NJCJZG5MF\r\n-----WebKitFormBoundary7MA4YWxkTrZu0gW--",
CURLOPT_HTTPHEADER => array(
"Postman-Token: 32b0720e-9e1d-4ba0-b13c-62cd6b7d7d6a",
"cache-control: no-cache",
"content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}