Example – Account
- GET /api/v2/account
- Returns account information for the present account.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | { "data": { "id": "jeff@ez-tech.com", # a comment "type": "accounts", "attributes": { "name": "EZ-TECH", "address1": "1704 Standish Ave", "address2": "", "city": "Woodsville", "state": "AK", "postal_code": "32118", "country": "United States", "phone": "706-242-2222", "email": "jeff@ez-tech.com", "website": "https://ez-tech.biz", "alerts_config": { "enabled": "1", "low_signal": { "enabled": "1", "threshold": "-100", "recipient_groups": [ "" ], "max_notifications_per_day": "daily", "email": "1", "sms": "0", "details": "Signal < -100 dBm" }, "missed_checkin": { "enabled": "1", "recipient_groups": [ "" ], "max_notifications_per_day": "every_checkin", "email": "1", "sms": "0", "details": "device fails to check in" }, "high_data_usage": { "enabled": "1", "recipient_groups": [ "" ], "max_notifications_per_day": "every_checkin", "email": "1", "sms": "0", "details": "data usage > threshold" }, "failed_actions": { "enabled": "1", "recipient_groups": [ "" ], "max_notifications_per_day": "every_checkin", "email": "1", "sms": "0", "details": "scheduled actions failed to execute" }, "device_reboot": { "enabled": "1", "recipient_groups": [ "" ], "max_notifications_per_day": "every_checkin", "email": "1", "sms": "0", "details": "device rebooted" }, "recipient_groups": { "1": { "name": "t" }, "2": { "name": "rr" } } }, "enabled": true, "confirmed": true } } } |