Fetch Device:
Headers
Response Body Parameters
Parameters | Parameter description(with examples) | Data type |
status | Status of API failed or success | string |
statusDesc | Description of status | string |
deviceCount | Number of device fetched | string |
tid | Serial number of the device | string |
model | Device model | string |
manufacture | Manufacture name of device | string |
admin_name | Admin name | string |
admin_id | ID of the admin | string |
username | Username | string |
mid | Merchant ID | string |
status | Status of device | string |
is_default | Default Value | string |
qr_string | QR String | string |
created_date | Created date of inventory | string |
updated_date | Updated date of inventory | string |
language | Language | string |
mqtt_details | Mqtt details | string |
mqtt_topic_txn | mqtt topic transaction | string |
mqtt_topic_mic | mqtt topic mic | string |
ota_url | Ota URL | string |
sim_name | Sim card name | string |
sim_no | Sim number | string |
is_dynamicqr | Value will be true is the device allow dynamic qr otherwise false | string |
sim_imei | IMEI number of sim | string |
sim_status | Status of sim card | string |
ota_version | Ota version | string |
is_pos | Value will be true if the device is a pos device otherwise false | string |
ota_schedule_id | Schedule id of ota | string |
is_soundbox | Value will be true if the device is a soundbox device otherwise false | string |
Sample Response Body
SUCCESS:
FAILED: