Method Name | Summary |
---|---|
submitOrder | Use this method to submit the order. In case of success, the response will be returned and it will contain task ID, otherwise, response will display "Error” message" |
trackOrder | Use this method to track order. In case of success, the Response will contain GSX Report Result, otherwise, response will display "Error” message" |
widgetStatus | Use this method to check GSX account statistic. In case of success, the Response will return current status, count of day orders, available to order, and order queue. |
GET http://localhost/task/create?imei=IMEI&apikey=API_KEY&full_info=FULL_INFO&required[]=gsx&required[]=sold_to&required[]=cases
Input container/field | Type | Description |
---|---|---|
imei | string | Imei must be 15 digits |
apikey | string | Use your API_KEY |
full_info | boolean | Enter 1 OR 0 |
gsx [ ] | string | Occurrence: Required |
sold_to [ ] | string | Occurrence: Required |
cases [ ] | string | Occurrence: Required |
Success Response
{
"taskId": TASK_ID,
"required": [
"gsx",
"sold_to",
"cases"
]
}
Error Response
{
"error": "Imei can not be empty"
}
GET http://localhost/task?TASK_ID?getapikey=API_KEY
Success Response
"taskId": TASK_ID,
"status": "Success",
"required": [
"gsx",
"sold_to",
"cases"
],
"response": {
"model": "iPhone X",
"serial_number": "FK3VX2ETJCLH",
"full_model": "IPHONE X,GSM,64GB,SPACE GRAY",
"serial_not_found": false,
"fmi": false,
"sold_to": {
"Product Sold By": "TELIA SVERIGE AB",
"Coverage Status": "Out Of Warranty (No Coverage)",
"Estimated Purchase Date": "02/23/18",
"Purchased In": "Sweden",
"Loaner": "N"
},
"gsx": {
"Part Description": "iPhone X",
"Initial Activation Policy ID": "47",
"Serial Number": "FK3VX2ETJCLH",
"Initial Activation Policy": "Norway NetCom (TeliaSonera) Unlocked Policy",
"IMEI": "353047094952839",
"Last Applied Activation policy ID": "47",
"IMEI 2": "",
"Last Applied Activation Policy": "Norway NetCom (TeliaSonera) Unlocked Policy",
"MEID": "",
"Next Activation Policy ID": "47",
"CSN/CSN2/EID": "",
"Next Activation Policy": "Norway NetCom (TeliaSonera) Unlocked Policy",
"Bluetooth MAC Address": "",
"First Activation Date": "02/23/18",
"Wi-Fi Mac Address": "C83C85340AA1",
"Last Activation Date": "",
"Software Version": "12.3.1",
"Last Restore Date": "06/04/19",
"Software Build": "16F203",
"Unlock Date": "02/23/18",
"Carrier": "Vodafone CZ",
"Unlocked": "true",
"ICCID": "8942031014832751134",
"Unbricked": "",
"Carrier 2": "",
"ICCID 2": ""
},
"cases": {
"replacements": [
],
"cases": [
{
"id": "20000038770541",
"name": "Mikrofon nefunguje podle očekávání",
"created_at": "1549794368"
}
]
}
}
}
Error Response
{
"error": "Imei can not be empty"
}
GET https://localhost/available
?apikey=API_KEY
Success Response
{
"all": 0,
"available": 0,
"wait": 0
}