Download OpenAPI specification:Download
Roambee APIs give access to the IOT platform and the management of devices and shipments.
apikey
.TLS 1.2
.Allowed HTTP methods | Functionality |
---|---|
GET | Retrieves a resource or list of resources |
PUT | Updates a resource |
POST | Creates a resource or list of resources |
DELETE | Deletes a resource |
Server Responses | |
---|---|
200 Ok | The request was succesful |
201 Created | Entity was created |
400 Bad Request | The request could not be understood or was missing required parameters |
401 Unauthorized | Authentication failed |
403 Forbidden | Access denied |
404 Not Found | Resource was not found |
500 Internal Server Error | Generic error when server has a malfunction |
Create a new shipment by passing values to the parameters.
apiKey required | string Key to authenticate |
It includes all details regarding the shipment and device attached to it.
name required | string Name of the shipment |
description | string Shipment description |
origin required | string Origin location name from the list of saved locations in your account. If location is not already saved, refer to example "Shipment when locations are not created on portal". |
destination required | string Destination location name from the list of saved locations in your account. If location is not already saved, refer to example "Shipment when locations are not created on portal". |
scheduled_departure required | number Unix Epoch Timestamp in seconds |
scheduled_arrival required | number Unix Epoch Timestamp in seconds |
isSingleBeeShipment | boolean There are two types of shipments. Sensor-based and non-sensor shipments. This field is mandatory while creating sensor based shipment. Set true -> To create a single bee shipment; If set false/or if not provided -> To create a multibee shipment. By default user will be eligible to create sensor based shipment. To enable non-sensor shipment creation feature, please contact Roambee admin. |
Array of objects There are two types of shipments. Sensor-based and non-sensor shipments. This field is mandatory while creating sensor based shipment. By default user will be eligible to create sensor based shipment. Give details about the bees attached to the shipment. User can either give bee name or imei. To enable non-sensor shipment creation feature, please contact Roambee admin. | |
Array of objects List of BLE devices on the shipment. Please mention device IMEI. This field is applicable for a sensor based shipment. | |
bleShipment | boolean true -> the shipment includes any beacon or asset; If set false/or if not provided -> BLE shipment will be not created. |
object Details about custom fields related to the shipment. For example, quick starting a shipment. | |
object It will include all fields which are mentioned in Admin > Account > Shipment Custom Fields. The name of the field should be the same as how it is saved in the account. These fields are the same that are mentioned under device configurations > global properties on the portal. Here are some sample fields. | |
Array of objects List of waypoints details. If waypoint location is already created on portal then only name is required as shown in example "Shipment with Single Waypoint(when waypoint location already exists on portal)" otherwise please refer to the following object. | |
Array of objects Details to configure ocean or air routes. | |
subscriptions | Array of objects User email id. User must be an existing user on portal, otherwise they will not be added. |
{- "name": "shipment1",
- "origin": "Ahmedabad RB office",
- "destination": "Sidi saiyed ahmedabad",
- "scheduled_departure": 1697003217,
- "scheduled_arrival": 1697048999,
- "isSingleBeeShipment": true,
- "bees": [
- {
- "bee_name": "MK acc bee 03"
}
]
}
{- "response": [
- {
- "account_id": 1245,
- "data": {
- "name": "shipment1",
- "description": null,
- "custom_fields": [ ],
- "custom_data": [
- {
- "label": "reportingIntervalDuration",
- "value": null,
- "datatype": null
}, - {
- "label": "set_device_setting_prf",
- "value": null,
- "datatype": null
}, - {
- "label": "reset_device_setting_prf",
- "value": null,
- "datatype": null
}, - {
- "label": "ble_setting",
- "value": null,
- "datatype": null
}, - {
- "label": "reportingIntervalForShipmentEndDuration",
- "value": null,
- "datatype": null
}, - {
- "label": "is_pharma_bee",
- "value": false,
- "datatype": null
}, - {
- "label": "_template",
- "value": null
}
], - "device_params": null,
- "tracking_type": "live",
- "oa_custom_fields": { }
}, - "parent_shipment": null,
- "uuid": "fa99c37d-8d86-4e53-8f53-ef44bb589873",
- "id": 272372
}
],
}
It will edit the existing shipment. Similar to create shipment, you need to pass JSON containing all the required parameters as well as the parameters whose values need to be updated.
uuid required | string <UUID> Shipment unique identifier |
apiKey required | string Key to authenticate |
It includes all details of the shipment.
name required | string Name for the shipment |
description | string Shipment description |
origin required | string Origin location name from the list of saved locations in your account. If there are any changes in the origin location, the configured route will be reset. |
destination required | string Destination location name from the list of saved locations in your account. If there are any changes in the destination location, the configured route will be reset. |
scheduled_departure required | number Unix Epoch Timestamp in seconds |
scheduled_arrival required | number Unix Epoch Timestamp in seconds |
isSingleBeeShipment | boolean There are two types of shipments. Sensor-based and non-sensor shipments. This field is mandatory while creating sensor based shipment. Set true -> For a single bee shipment; set false -> For a multibee shipment. By default user will be eligible to create sensor based shipment. To enable non-sensor shipment creation feature, please contact Roambee admin. |
Array of objects There are two types of shipments. Sensor-based and non-sensor shipments. This field is mandatory while creating sensor based shipment. By default user will be eligible to create sensor based shipment. Give details about the bees attached to the shipment. User can either give bee name or imei. To enable non-sensor shipment creation feature, please contact Roambee admin. A non-sensor shipment can be converted to sensor based by specifying bee/s while editing the shipment. | |
Array of objects List of BLE devices on the shipment. Please mention device IMEI. This field is applicable for a sensor based shipment. | |
bleShipment | boolean Set true -> the shipment includes any beacon or asset; If set false/or if not provided -> BLE shipment will be not created. |
object Details about custom fields related to the shipment. For example, quick start shipment. | |
shipment_properties | object It will include all fields which are mentioned in the account under Shipment Custom Fields. The name of the field should be the same as how it is saved in the account. These fields are the same that are mentioned under global properties of device configurations on the portal. Here are some sample fields. |
Array of objects List of waypoints details. If waypoint location is already created on portal then only name is required otherwise please refer to the following object. If there are any changes in the waypoint location, the configured route will be reset. | |
multi_model | Array of arrays Details to configure ocean or air routes. If there are any changes in the Multi-model Departure or Arrival ports, the configured route will be reset. |
subscriptions | Array of arrays User email ids |
{- "name": "Shipment",
- "description": "Edited description",
- "origin": "Ahmedabad RB office",
- "destination": "Pune",
- "scheduled_departure": 1707360993,
- "scheduled_arrival": 1707382593,
- "isSingleBeeShipment": false,
- "bees": [
- {
- "bee_name": "MK acc bee 03",
- "custom_fields": {
- "custom_field": "value"
}, - "device_params": {
- "high_temp_threshold": 70,
- "low_temp_threshold": 20,
- "pre_alert_temp_high_threshold": 40,
- "pre_alert_temp_low_threshold": 22
}, - "reportingIntervalDuration": 20,
- "reportingIntervalForShipmentEndDuration": 30,
- "triggerCommand": true
}, - {
- "bee_name": "MK acc bee 02",
- "custom_fields": {
- "custom_field": "value"
}, - "device_params": {
- "high_temp_threshold": 70,
- "low_temp_threshold": 20,
- "pre_alert_temp_high_threshold": 40,
- "pre_alert_temp_low_threshold": 22
}, - "reportingIntervalDuration": 20,
- "reportingIntervalForShipmentEndDuration": 30,
- "triggerCommand": true
}
]
}
{- "unallocatedBees": [ ],
- "response": {
- "id": 272969,
- "uuid": "b55caea9-a941-42b8-a202-3b8a20cc0a59",
- "data": {
- "name": "Shipment",
- "custom_fields": [
- {
- "label": "custom_field",
- "value": "value"
}
], - "custom_data": [
- {
- "label": "_template"
}
], - "tracking_type": "live",
- "oa_custom_fields": { },
- "isParent": true,
- "distance_travelled": 56656,
- "google_eta": [
- {
- "time": 1709715841016,
- "eta": 44297000
}
], - "roambee_eta": [
- {
- "time": 1709715841016,
- "eta": 44297000
}
], - "bee": [
- {
- "id": 754087,
- "uuid": "7662b946-f97a-4fa0-b99f-c2be1ad819c6",
- "bee_number": "MK acc bee 03",
- "imei": "7571336",
- "bee_name": "MK acc bee 03",
- "device_type": "BeeSense",
- "mobile_number": null,
- "sim_number": null,
- "created_date": 1696997540,
- "updated_date": 1709715838,
- "state": {
- "last_msg": {
- "uuid": "35b89826-442a-4679-8055-a464c7ae8497",
- "imei": "7571336",
- "created_date": 1708942475,
- "located": 1,
- "msg": {
- "uuid": "35b89826-442a-4679-8055-a464c7ae8497",
- "created_date": 1708942475000,
- "protocol": "TCP",
- "ipaddr": "::ffff:172.31.24.198",
- "port": 58851,
- "listener_hostname": "tcpserver-5657958659-85j5g",
- "listener_ip": "172.31.22.252",
- "listener_port": 30000,
- "payload": "+RBRES:VVDN,vvdn,7571336,20240226101435,3.78,30,0;PRF,120,NM;TOW,1,4,0404,0011,00a6,3537,23,0404,0011,00a6,954f,15,0404,0011,00a6,3536,12,0404,0011,00a6,954e,12;GPS,1,1,12,23.061267,72.5191615,210.100;TMP,1,0,10.5,30.6,9;TAM,3;PRS,1,0,900.00,999.00,922.00;HUM,1,0,10,20,22;AMB,1,0,10,99,30;TLT,1,0,10,90,50;ALT,1,0,100.00,500.50,3500;RST,102,200;SWT,0;BLE,S2,1,00A989,04198073004c0003dd0a0d,-65;DEV,1,B03001012,VVRMT,www,54.152.149.170,30003,52.42.128.90,30003,+918586083690,1,RB2G01V012;10000$",
- "sqsSent": 1708942476350,
- "ts1": 1708942476355,
- "imei": "7571336",
- "date": "20240226101435",
- "battery_voltage": "3.78",
- "battery": "30",
- "event_status": "0",
- "PRF": {
- "time_interval": "120",
- "device_mode": "NM"
}, - "TOW": {
- "control": "1",
- "status": "4",
- "mcc": "0404",
- "mnc": "0011",
- "lac": "00a6",
- "cid": "3537",
- "ss": "23",
- "mcc_1": "0404",
- "mnc_1": "0011",
- "lac_1": "00a6",
- "cid_1": "954f",
- "ss_1": "15",
- "mcc_2": "0404",
- "mnc_2": "0011",
- "lac_2": "00a6",
- "cid_2": "3536",
- "ss_2": "12",
- "mcc_3": "0404",
- "mnc_3": "0011",
- "lac_3": "00a6",
- "cid_3": "954e",
- "ss_3": "12"
}, - "GPS": {
- "control": "1",
- "status": "1",
- "satellite_view": "12",
- "latitude": "23.061267",
- "longitude": "72.5191615",
- "alt": "210.100"
}, - "TMP": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "10.5",
- "high_threshold_limit": "30.6",
- "measured_value": 9,
- "original_measured_value": "9"
}, - "TAM": {
- "control": "3"
}, - "PRS": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "900.00",
- "high_threshold_limit": "999.00",
- "measured_value": "922.00"
}, - "HUM": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "10",
- "high_threshold_limit": "20",
- "measured_value": "22"
}, - "AMB": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "10",
- "high_threshold_limit": "99",
- "measured_value": "30"
}, - "TLT": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "10",
- "high_threshold_limit": "90",
- "measured_value": "50"
}, - "ALT": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "100.00",
- "high_threshold_limit": "500.50",
- "measured_value": "3500"
}, - "RST": {
- "reset_code": "102",
- "err_code": "200"
}, - "SWT": {
- "control": "0"
}, - "BLE": {
- "device_mode": "S2",
- "data": [
- {
- "id": "00A989",
- "data": "04198073004c0003dd0a0d",
- "rssi": "-65",
- "beaconType": "04",
- "temperature": {
- "value": 25.5,
- "label": "25.5°C"
}, - "battery": 100,
- "light": {
- "value": 0
}, - "tamper": false,
- "humidity": {
- "value": 76,
- "label": "76% RH"
}, - "pressure": {
- "value": 989,
- "label": "989hPa"
}, - "battery_remaining_days": 546,
- "battery_remaining_percentage": 47,
- "broadcastInterval": null,
- "bleMsgUUID": "93ece412-ebbf-4084-8379-1dc12d50ea95"
}
], - "index": 1
}, - "DEV": {
- "control": "1",
- "version": "B03001012",
- "pswd": "VVRMT",
- "apn": "www",
- "pri_hostname": "54.152.149.170",
- "pri_port": "30003",
- "bkp_hostname": "52.42.128.90",
- "bkp_port": "30003",
- "sms": "+918586083690",
- "protocol": "1",
- "model_number": "RB2G01V012"
}, - "count_tail": "10000$",
- "isEventMessage": false,
- "MAJOR": "RBRES",
- "MINOR": "VVDN",
- "VERSION": "vvdn",
- "_contentNeverDuplicateSeed": "17089424763180.01207733987617754",
- "bee_uuid": "7662b946-f97a-4fa0-b99f-c2be1ad819c6",
- "bee_account_id": 1245,
- "bee_name": "MK acc bee 03",
- "latitude": "23.061267",
- "longitude": "72.5191615",
- "altitude": "210.100",
- "gps_time": "20240226101435",
- "geo": {
- "source": "message",
- "tech": "gps",
- "status": "ok",
- "reported_accuracy": "0",
- "accuracy": 10,
- "lat": "23.061267",
- "lng": "72.5191615",
- "gps_time": 1708942475000,
- "msg_source": "35b89826-442a-4679-8055-a464c7ae8497",
- "satellite_view": "12",
- "address": "3G69+FMP, Sola, Ahmedabad, Gujarat 380059, India",
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Calcutta"
}, - "snapped": true,
- "provider": "google"
}, - "temp": "9",
- "temperature": {
- "temp": 9,
- "original_temp": "9"
}, - "beezone_assignment_debug_data": {
- "7571336": {
- "reason": "Found in geofence of beezone : inven2. Assigning with this zone (Auto Mapping)"
}
}, - "is_backdated_message": false,
- "associatedAssetDetail": {
- "uuid": "d5842a6d-66b0-4aeb-9488-9d0eb58dd651"
}
}
}, - "created_date": 1708942475000,
- "geo": {
- "source": "message",
- "tech": "gps",
- "status": "ok",
- "reported_accuracy": "0",
- "accuracy": 10,
- "lat": "23.061267",
- "lng": "72.5191615",
- "gps_time": 1708942475000,
- "msg_source": "35b89826-442a-4679-8055-a464c7ae8497",
- "satellite_view": "12",
- "address": "3G69+FMP, Sola, Ahmedabad, Gujarat 380059, India",
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Calcutta"
}, - "snapped": true,
- "provider": "google"
}, - "communication": "NONTWK",
- "uuid": "35b89826-442a-4679-8055-a464c7ae8497",
- "from": "RBRES:VVDN",
- "ping_count": 0,
- "geo_timestamp": 1708942475000,
- "altitude": "210.100",
- "altitude_timestamp": 1708942475000,
- "battery": "30",
- "battery_timestamp": 1708942475000,
- "extra_values": [ ],
- "temperature": {
- "temp": 9,
- "original_temp": "9"
}, - "temperature_timestamp": 1708942475000,
- "PRS": "922.00",
- "PRS_timestamp": 1708942475000,
- "AMB": "30",
- "AMB_timestamp": 1708942475000,
- "TLT": "50",
- "TLT_timestamp": 1708942475000,
- "HUM": "22",
- "HUM_timestamp": 1708942475000,
- "TAM_timestamp": 1708942475000,
- "ALT": "3500",
- "ALT_timestamp": 1708942475000,
- "battery_remaining_percentage": 30,
- "battery_remaining_days": 1,
- "battery_state": "Normal",
- "direction": "N",
- "DEV": {
- "control": "1",
- "version": "B03001012",
- "pswd": "VVRMT",
- "apn": "www",
- "pri_hostname": "54.152.149.170",
- "pri_port": "30003",
- "bkp_hostname": "52.42.128.90",
- "bkp_port": "30003",
- "sms": "+918586083690",
- "protocol": "1",
- "model_number": "RB2G01V012"
}, - "DEV_timestamp": 1708942475000,
- "inHub": 38101,
- "hubName": "autoship_loc1"
}, - "active": 1,
- "account_id": 1245,
- "password": null,
- "carrier": null,
- "monitor_state": {
- "last_geo_alert": "MOVINGAGAIN",
- "last_geo_alert_ms": 1708942316000,
- "last_geo_stop_ms": 1708062840000,
- "last_battery_alert": "DRAINING",
- "last_battery_alert_ms": 1707997361001,
- "last_battery_alert_value": "30",
- "last_temperature_alert": "RISING",
- "last_temperature_alert_ms": 1708942128001,
- "last_temperature_alert_value": 9,
- "last_pressure_alert": "FLAT",
- "last_pressure_alert_ms": 1708942128001,
- "last_pressure_alert_value": "922.00",
- "last_humidity_alert": "FLAT",
- "last_humidity_alert_ms": 1708942128001,
- "last_humidity_alert_value": "22",
- "last_tiltShock_alert": "FLAT",
- "last_tiltShock_alert_ms": 1708942128001,
- "last_tiltShock_alert_value": "50",
- "last_ambient_alert": "NORMAL",
- "last_ambient_alert_ms": 1708942128001,
- "last_ambient_alert_value": "30",
- "last_tamper_alert": "SENSING_ARMED",
- "last_tamper_alert_ms": 1701240814000,
- "last_tamper_alert_value": "1",
- "last_altitude_alert": "FLAT",
- "last_altitude_alert_ms": 1708942128001,
- "last_altitude_alert_value": "3500",
- "last_seqnum_received": "10000",
- "last_geo_location": {
- "source": "message",
- "tech": "gps",
- "status": "ok",
- "reported_accuracy": "0",
- "accuracy": 10,
- "lat": "23.061267",
- "lng": "72.5191615",
- "gps_time": 1708942316000,
- "msg_source": "191798ae-2f72-4fe8-9888-e90907f03bff",
- "satellite_view": "12",
- "address": "3G69+FMP, Sola, Ahmedabad, Gujarat 380059, India",
- "snapped": true,
- "provider": "google",
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Calcutta"
}
}
}, - "data": {
- "device_mode": "NM",
- "enableBLE": true,
- "bleScanMode": "S2",
- "reportingInterval": 20,
- "stillstoppedDuration": "6:3",
- "device_setting_protocol": "SMS",
- "device_setting_serial_num": 753167
}, - "dev_src": "Roambee",
- "last_land_ping": 1708942475,
- "ping_frequency": 120,
- "last_ocean_ping": null,
- "last_air_ping": null,
- "last_lbs_ping": null,
- "fcm_token": null,
- "battery_type": "Li-ion",
- "recent_pings": null,
- "allowed_misses": null,
- "last_clear_timestamp": 1708942142,
- "custom_fields": "{}",
- "imsi": null,
- "device_member": null,
- "expired": 0,
- "_pivot_shipment_id": 272970,
- "_pivot_bee_id": 754087,
- "objectType": "Bee"
}
], - "last_sectional_distance": 8429,
- "distance_to_destination": 667063,
- "child_geo_tech_count": {
- "5168e36b-fef3-4319-b442-6578f93a2e05": {
- "gps": 10,
- "gsm": 0
}
}, - "terminated": {
- "who": "system",
- "reason": "During playback, device is reporting MOVING at Feb 15, 2024 8:56 AM +00:00, which is 7 days beyond the shipment expected arrival of Feb 8, 2024 8:56 AM +00:00. so terminating this shipment.",
- "timestmp": 1709715854
}, - "description": "Edited description"
}, - "account_id": 1245,
- "active": 0,
- "created_date": 1709715838,
- "updated_date": 1709715879,
- "terminated": 1,
- "op_data": null,
- "parent_shipment": null,
- "report": null,
- "aggregated_sensor_data": null,
- "multi_model": "[]",
- "custom_fields_v2": null
},
}
On passing the condition under the filter, it will return all shipment details based on the filter condition. Different supported operators are
$filter | string Examples:
Search condition. Few fields that you can filter on are
Refer examples for more details. Other than these fields, you can also use the fields that are in the response of the API. |
$size | number Examples:
This specifies result count. If not specified by default it will return 10 records. Maximum value can be 100. For more please use pagination. |
$offset | number Offset from start of records. Calculated as (desired_page_num - 1) * size |
$fields | string Examples:
Fetch the fields |
apiKey required | string Key to authenticate |
{- "offset": 0,
- "size": 1,
- "total": 34,
- "data": [
- {
- "shipment_id": 265763,
- "uuid": "d173c518-7a3b-461c-92dd-e583cd7b0bab",
- "data": "{\"name\":\"Shipment Name\",\"custom_fields\":[{\"label\":\"AWB\",\"value\":\"615-32102700\"}],\"custom_data\":[{\"label\":\"quick_start\",\"value\":\"1693470764\"},{\"label\":\"triggerCommand\",\"value\":\"true\"},{\"label\":\"_template\"}],\"device_params\":{\"high_temp_threshold\":null,\"low_temp_threshold\":null,\"pre_alert_temp_subs\":false,\"pre_alert_temp_check\":true,\"pre_alert_temp_high_threshold\":null,\"pre_alert_temp_low_threshold\":null,\"high_pressure_threshold\":null,\"low_pressure_threshold\":null,\"pre_alert_pressure_subs\":false,\"pre_alert_pressure_check\":true,\"pre_alert_pressure_high_threshold\":null,\"pre_alert_pressure_low_threshold\":null,\"high_humidity_threshold\":null,\"low_humidity_threshold\":null,\"pre_alert_humidity_subs\":false,\"pre_alert_humidity_check\":true,\"pre_alert_humidity_high_threshold\":null,\"pre_alert_humidity_low_threshold\":null,\"high_ambient_threshold\":5,\"low_ambient_threshold\":null,\"high_tiltshock_threshold\":null,\"low_tiltshock_threshold\":null,\"high_altitude_threshold\":null,\"low_altitude_threshold\":null,\"high_speed_threshold\":90000,\"low_speed_threshold\":0}}",
- "account_id": 1,
- "active": 1,
- "created_date": "20210908",
- "updated_date": 1631112243,
- "bee_name": "ORDERED-TEST-BEE-20210424080649-999921042408073494",
- "battery_days": 24,
- "temp": 30,
- "pressure": 500,
- "humidity": 500,
- "ambient": null,
- "tilt_shock": 20,
- "altitude": 20,
- "tamper": null,
- "shock": null,
- "bee_id": "ORDERED-TEST-BEE-20210424080649-9999210424080734",
- "bee_imei": "999921042408073494",
- "mobile_number": "7355650671",
- "last_known_location": "3B, Adwait Society, Ranip, Ahmedabad, Gujarat 382480, India",
- "last_known_geo": {
- "lat": "23.075598425010575",
- "lon": "72.58038804556043"
}, - "last_known_time": 1619231809000,
- "last_known_timestamp": 1619231809000,
- "account_name": "Roambee",
- "desti_location_uuid": "77a5e110-189d-48eb-9197-8c14a8683488",
- "orgi_location_uuid": "3e8ed563-db77-4571-b5e2-c58a69280e4b",
- "desti_location_name": "pune ",
- "orgi_location_name": "Ambala",
- "created_date_timestamp": 1631112242000,
- "in_transits": 0,
- "shipment_status": "not started",
- "actual_arrival": 0,
- "actual_departure": 0,
- "scheduled_arrival": 1632149972000,
- "scheduled_arrival_timestamp": 1632149972000,
- "scheduled_departure": 1632149132000,
- "scheduled_departure_timestamp": 1632149132000,
- "shipment_name": "Shipment Name",
- "shipment_type": "Regular",
- "isMultiModal": false,
- "beacon_enabled": 0,
- "ble_List": "N/A",
- "lock_enabled": 0,
- "custom_fields": {
- "awb": "615-32102700"
}, - "isParent": false,
- "custom_fields_v2": {
- "rcf_text_10": "615-32102700"
}
}
]
}
It will terminate the shipment.
uuid required | string <UUID> Shipment unique identifier |
apiKey required | string Key to authenticate |
It will terminate the shipment.
reason | string Give reason for termination |
{- "uuid": "723c09c3-fc17-4dad-9795-7214e4f0e5f6",
- "reason": "shipment complete"
}
{ }
It will return all details of that particular shipment in JSON format.
uuid required | string <UUID> Shipment unique identifier |
apiKey required | string Key to authenticate |
{- "name": "Test shipment",
- "active": 1,
- "parent_shipment": null,
- "use_dynamic_waypoints": null,
- "description": "nul",
- "scheduled_arrival": 1712660400,
- "scheduled_departure": 1712448000,
- "actual_arrival": 0,
- "actual_departure": 0,
- "origin": {
- "name": "TR03",
- "address": "7 EYLUL MAHALLESI PHILSA CADD 35860 TORBALI-IZMIR-TURKIYE",
- "radius": 4000,
- "hub": 1,
- "port": 0,
- "is_dynamic_waypoint": 0,
- "geo": {
- "address": "7 EYLUL MAHALLESI PHILSA CADD 35860 TORBALI-IZMIR-TURKIYE",
- "radius": 4000,
- "lat": 38.2571672,
- "lng": 27.3876347,
- "timezone": {
- "countryCode": "GMT+03:00",
- "tz": "+03:00",
- "timezoneId": "Europe/Istanbul"
}
}, - "shape": {
- "data": {
- "center": {
- "lat": 38.2571672,
- "lng": 27.3876347
}, - "radius": 4000
}, - "type": "circle"
}, - "createdBy": "378636bd-a7ab-49b6-81d0-55313f5e959b",
- "createdByName": "PMI Admin",
- "detailed_name": "TR",
- "mailing_address": "7 EYLUL MAHALLESI PHILSA CADD 35860 TORBALI-IZMIR-TURKIYE"
}, - "destination": {
- "name": "300356",
- "address": "TS Network Co.,Ltd, 6-15 Koyo-cho Nishi, Higashinada, 6580033, Kobe Hyogo, Japan",
- "radius": 4000,
- "hub": 0,
- "port": 0,
- "is_dynamic_waypoint": 0,
- "geo": {
- "address": "TS Network Co.,Ltd, 6-15 Koyo-cho Nishi, Higashinada, 6580033, Kobe Hyogo, Japan",
- "radius": 4000,
- "lat": 34.6825189,
- "lng": 135.2571678,
- "timezone": {
- "countryCode": "Japan Standard Time",
- "tz": "+09:00",
- "timezoneId": "Asia/Tokyo"
}
}, - "shape": {
- "data": {
- "center": {
- "lat": 34.6825189,
- "lng": 135.2571678
}, - "radius": 4000
}, - "type": "circle"
}, - "createdBy": "378636bd-a7ab-49b6-81d0-55313f5e959b",
- "createdByName": "PMI Admin",
- "detailed_name": "JP04"
}, - "waypoints": [ ],
- "subscriptions": [ ],
- "manual_start": null,
- "created_date": 1712237431,
- "flexi_start_rule": false,
- "gsm_start_rule": false,
- "tracking_type": "live",
- "shipment_properties": {
- "BOL Number": "BGD0114957",
- "Carrier": "",
- "Container Number": "TLLU2727546"
}, - "multi_modal_source": "multi_modal",
- "ocean_tracking_data": {
- "bol": "BGD0114957",
- "carrier_name": null,
- "container_number": "TLLU2727546",
- "port_of_loading": {
- "code": "MEBAR",
- "name": "BAR",
- "vessel_imo": "9348637",
- "actual_gatein_carrier": 1712055720,
- "predicted_gatein_carrier": 0,
- "actual_departure_carrier": 0,
- "predicted_departure_carrier": 1713250800,
- "actual_empty_container_pickup_carrier": 1711726920,
- "predicted_empty_container_pickup_carrier": 0,
- "actual_loading_carrier": 0,
- "predicted_loading_carrier": 0,
- "predicted_arrival_rb": 1712055720,
- "predicted_departure_rb": 1713250800
}, - "port_of_discharge": {
- "code": "JOAQJ",
- "name": "AQABA",
- "vessel_imo": "9248124",
- "actual_arrival_carrier": 0,
- "predicted_arrival_carrier": 1714734000,
- "actual_gateout_carrier": 0,
- "predicted_gateout_carrier": 0,
- "actual_empty_container_return_carrier": 0,
- "predicted_empty_container_return_carrier": 0,
- "actual_unloading_carrier": 0,
- "predicted_unloading_carrier": 0,
- "predicted_arrival_rb": 1714734000,
- "predicted_departure_rb": 1715205744
}, - "transshipment_port": [
- {
- "code": "MTMAR",
- "name": "MARSAXLOKK",
- "vessel_imo": "9248124",
- "actual_arrival_carrier": 0,
- "predicted_arrival_carrier": 1713420000,
- "actual_departure_carrier": 0,
- "predicted_departure_carrier": 1714248000,
- "actual_unloading_carrier": 0,
- "predicted_unloading_carrier": 0,
- "actual_loading_carrier": 0,
- "predicted_loading_carrier": 0,
- "predicted_arrival_rb": 1713420000,
- "predicted_departure_rb": 1714248000
}
]
}, - "account_id": 2001,
- "report": { },
- "custom_data": {
- "smartComplete": true,
- "completeDuration": "24:0",
- "_template": null,
- "isOA": 0,
- "flexi_start": {
- "start": false,
- "hours": 3
}, - "timebasedShipment": null,
- "omModeShipment": null,
- "expectedTravelTimePerDayHours": 0,
- "expectedTravelTimePerDayMins": 0,
- "expectedKMsPerHours": null,
- "rules": null,
- "stopDuration": "4:0",
- "duration": null
}, - "bees": [
- {
- "bee_uuid": "bea44faa-e849-4e65-8c54-a2eb00923526",
- "bee_name": "PMISIT005",
- "imei": "PMISIT005",
- "device_type": "BSMax",
- "device_params": null,
- "custom_fields": {
- "BOL Number": "BGD0114957",
- "Carrier": "",
- "Container Number": "TLLU2727546"
}, - "reportingIntervalDuration": null,
- "set_device_setting_prf": null,
- "reset_device_setting_prf": null,
- "ble_setting": null,
- "reportingIntervalForShipmentEndDuration": null,
- "is_pharma_bee": false
}
], - "geo_summary": {
- "distance_to_destination": 0,
- "distance_travelled": 0,
- "average_speed": null,
- "google_eta": [ ],
- "roambee_eta": [ ],
- "prediction_eta": [
- {
- "time": 1712866551857,
- "eta": 3314424000
}
], - "current_location": {
- "lat": null,
- "lng": null,
- "address": null
}, - "source_bee": "PMISIT005"
}, - "sensor_summary": { }
}
Mean Kinetic Temperature (MKT) is a single temperature that accounts for the cumulative effect of numerous temperature variations over a period of time. It returns a list of all MKT values with timestamps.
uuid required | string <UUID> Shipment unique identifier |
apiKey required | string Key to authenticate |
[- {
- "shipment_uuid": "1b885581-97ce-47a4-ab85-85434f6b30ab",
- "created_date": "2021-02-11T16:39:38.494Z",
- "mkt_history": [
- {
- "mkt": 12.2,
- "timestamp": 1613032588
}, - {
- "mkt": 12.2,
- "timestamp": 1613034587
}
]
}
]
It returns a list of all alerts for the shipment. Each item in the list contains all information pertaining to an alert. For example, bee state, short message, event, etc.
apiKey required | string Key to authenticate |
It returns a list of all alerts for the shipment. Each item in the list contains all information pertaining to an alert. For example, bee state, short message, event, etc.
sid required | string Shipment unique identifier |
{- "sid": "723c09c3-fc17-4dad-9795-7214e4f0e5f6"
}
[- {
- "event": "SHIPMENTSTART",
- "short_message": "Shipment has departed its origin",
- "reported_on": 1613062538,
- "address": "Vlastimila Pecha 10, 627 00 Brno-Černovice, Czechia",
- "data": {
- "at": {
- "address": "Vlastimila Pecha 10, 627 00 Brno-Černovice, Czechia",
- "radius": 9457.958305140317,
- "lat": 49.20488552548615,
- "lng": 16.59282915820313,
- "timezone": {
- "countryCode": "Central European Summer Time",
- "tz": "+02:00",
- "timezoneId": "Europe/Prague"
}
}, - "radius": 9457.958305140317,
- "scheduled": 1613030400000,
- "actual": 1613062539000,
- "mph": 27.2762,
- "bee_state": {
- "temperature": {
- "temp": 2.25,
- "original_temp": "2.25"
}, - "battery": "89",
- "uuid": "2ba7b8d1-a6f9-434d-a1b8-29a18930d5dd",
- "from": "RBRES:VVDN",
- "trimmed_version": "v1.3",
- "created_date": 1613062539000,
- "imei": "359804085134593",
- "altitude": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "-690.00",
- "high_threshold_limit": "6500.00",
- "measured_value": "-23.54"
}, - "battery_remaining_days": 20,
- "battery_remaining_percentage": 89,
- "battery_state": "Normal",
- "minor": "VVDN",
- "major": "RBRES",
- "account_uuid": "0917eda7-b53a-4649-9962-ca2c934d339a",
- "geo": {
- "source": "message",
- "tech": "gps",
- "status": "ok",
- "reported_accuracy": "0",
- "accuracy": 10,
- "lat": "51.53707",
- "lng": "13.91094",
- "gps_time": 1613062539000,
- "msg_source": "2ba7b8d1-a6f9-434d-a1b8-29a18930d5dd",
- "satellite_view": "16",
- "address": "Senftenberger Str. 29, 01998 Schipkau, Germany",
- "snapped": true,
- "provider": "google",
- "timezone": {
- "countryCode": "Central European Standard Time",
- "tz": "+01:00",
- "timezoneId": "Europe/Berlin"
}
}, - "geo_timestamp": 1613062539000,
- "battery_timestamp": 1613062539000,
- "temperature_timestamp": 1613062539000,
- "PRS": "1016.08",
- "PRS_timestamp": 1613062539000,
- "AMB": "0",
- "AMB_timestamp": 1613062539000,
- "TLT": "92.34",
- "TLT_timestamp": 1613062539000,
- "ALT": "-23.54",
- "ALT_timestamp": 1613062539000,
- "DEV": {
- "control": "3",
- "version": "B03001013",
- "pswd": "VVRMT",
- "apn": "iot.aer.net",
- "pri_hostname": "13.126.218.138",
- "pri_port": "30000",
- "bkp_hostname": "52.74.101.208",
- "bkp_port": "30000",
- "sms": "+15104013527",
- "protocol": "1",
- "model_number": "RB3AUTF500"
}, - "DEV_timestamp": 1613062539000,
- "HUM": "41",
- "HUM_timestamp": 1613062539000,
- "altitude_timestamp": 1613062539000,
- "SHK": {
- "shock_code": "5",
- "x": "-78",
- "y": "-77",
- "z": "-590"
}, - "SHK_timestamp": 1549621773000,
- "Weather": {
- "temperature": 7,
- "unit": "C",
- "weather": "Mostly Cloudy with Light Rain"
}, - "Weather_timestamp": 1576498400000,
- "pressure": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "700.00",
- "high_threshold_limit": "1050.00",
- "measured_value": "1016.08"
}, - "pressure_timestamp": 1613062539000,
- "humidity": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "30",
- "high_threshold_limit": "70",
- "measured_value": "41"
}, - "humidity_timestamp": 1613062539000,
- "tiltShock": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "45",
- "high_threshold_limit": "135",
- "measured_value": "92.34"
}, - "tiltShock_timestamp": 1613062539000,
- "ambient": {
- "control": "1",
- "status": "1",
- "low_threshold_limit": "10",
- "high_threshold_limit": "30",
- "measured_value": "0"
}, - "ambient_timestamp": 1613062539000,
- "tamper_timestamp": 1613062539000,
- "distance_timestamp": 1613062539000,
- "shock_timestamp": 1613062539000
}, - "shipment_data": {
- "name": "W 11/02-16/02 611576 WCZ>LLA ATC/** (Baltic Sea)",
- "origin": "Wistron InfoComm (Czech) s.r.o",
- "destination": "Facebook LLA",
- "device_imei": "359804085134593",
- "device_name": "RCR50744"
}
}
}, - {
- "event": "MOVING",
- "short_message": "359804085134593 is moving",
- "reported_on": 1613062539,
- "address": "Senftenberger Str. 29, 01998 Schipkau, Germany",
- "data": {
- "at": {
- "source": "message",
- "tech": "gps",
- "status": "ok",
- "reported_accuracy": "0",
- "accuracy": 10,
- "lat": "51.53707",
- "lng": "13.91094",
- "gps_time": 1613062539000,
- "msg_source": "2ba7b8d1-a6f9-434d-a1b8-29a18930d5dd",
- "satellite_view": "16",
- "address": "Senftenberger Str. 29, 01998 Schipkau, Germany",
- "snapped": true,
- "provider": "google",
- "timezone": {
- "countryCode": "Central European Standard Time",
- "tz": "+01:00",
- "timezoneId": "Europe/Berlin"
}
}, - "bee_state": {
- "temperature": {
- "temp": 2.25,
- "original_temp": "2.25"
}, - "battery": "89",
- "uuid": "2ba7b8d1-a6f9-434d-a1b8-29a18930d5dd",
- "from": "RBRES:VVDN",
- "trimmed_version": "v1.3",
- "created_date": 1613062539000,
- "imei": "359804085134593",
- "altitude": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "-690.00",
- "high_threshold_limit": "6500.00",
- "measured_value": "-23.54"
}, - "battery_remaining_days": 20,
- "battery_remaining_percentage": 89,
- "battery_state": "Normal",
- "minor": "VVDN",
- "major": "RBRES",
- "account_uuid": "0917eda7-b53a-4649-9962-ca2c934d339a",
- "geo": {
- "source": "message",
- "tech": "gps",
- "status": "ok",
- "reported_accuracy": "0",
- "accuracy": 10,
- "lat": "51.53707",
- "lng": "13.91094",
- "gps_time": 1613062539000,
- "msg_source": "2ba7b8d1-a6f9-434d-a1b8-29a18930d5dd",
- "satellite_view": "16",
- "address": "Senftenberger Str. 29, 01998 Schipkau, Germany",
- "snapped": true,
- "provider": "google",
- "timezone": {
- "countryCode": "Central European Standard Time",
- "tz": "+01:00",
- "timezoneId": "Europe/Berlin"
}
}, - "geo_timestamp": 1613062539000,
- "battery_timestamp": 1613062539000,
- "temperature_timestamp": 1613062539000,
- "PRS": "1016.08",
- "PRS_timestamp": 1613062539000,
- "AMB": "0",
- "AMB_timestamp": 1613062539000,
- "TLT": "92.34",
- "TLT_timestamp": 1613062539000,
- "ALT": "-23.54",
- "ALT_timestamp": 1613062539000,
- "DEV": {
- "control": "3",
- "version": "B03001013",
- "pswd": "VVRMT",
- "apn": "iot.aer.net",
- "pri_hostname": "13.126.218.138",
- "pri_port": "30000",
- "bkp_hostname": "52.74.101.208",
- "bkp_port": "30000",
- "sms": "+15104013527",
- "protocol": "1",
- "model_number": "RB3AUTF500"
}, - "DEV_timestamp": 1613062539000,
- "HUM": "41",
- "HUM_timestamp": 1613062539000,
- "altitude_timestamp": 1613062539000,
- "SHK": {
- "shock_code": "5",
- "x": "-78",
- "y": "-77",
- "z": "-590"
}, - "SHK_timestamp": 1549621773000,
- "Weather": {
- "temperature": 7,
- "unit": "C",
- "weather": "Mostly Cloudy with Light Rain"
}, - "Weather_timestamp": 1576498400000,
- "pressure": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "700.00",
- "high_threshold_limit": "1050.00",
- "measured_value": "1016.08"
}, - "pressure_timestamp": 1613062539000,
- "humidity": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "30",
- "high_threshold_limit": "70",
- "measured_value": "41"
}, - "humidity_timestamp": 1613062539000,
- "tiltShock": {
- "control": "1",
- "status": "0",
- "low_threshold_limit": "45",
- "high_threshold_limit": "135",
- "measured_value": "92.34"
}, - "tiltShock_timestamp": 1613062539000,
- "ambient": {
- "control": "1",
- "status": "1",
- "low_threshold_limit": "10",
- "high_threshold_limit": "30",
- "measured_value": "0"
}, - "ambient_timestamp": 1613062539000,
- "tamper_timestamp": 1613062539000,
- "distance_timestamp": 1613062539000,
- "shock_timestamp": 1613062539000
}, - "moving": true,
- "mph": 27.2762,
- "shipment_data": {
- "name": "W 11/02-16/02 611576 WCZ>LLA ATC/** (Baltic Sea)",
- "origin": "Wistron InfoComm (Czech) s.r.o",
- "destination": "Facebook LLA",
- "device_imei": "359804085134593",
- "device_name": "RCR50744",
- "distance_travelled": 422597,
- "distance_to_destination": 2109412
}
}
}
]
It will terminate the shipment.
sid required | string <UUID> Shipment unique identifier |
reason | string Give reason for termination |
email required | string User Email-id |
apiKey required | string Key to authenticate |
{ }
It will return all saved templates in your account.
apiKey required | string Key to authenticate |
[- {
- "name": "test template",
- "uuid": "76ffe052-c5c6-40df-9da8-06d9867cec56",
- "data": {
- "shipment_template_uuid": "_inplace_",
- "name": "test template",
- "description": "test template",
- "origin": {
- "name": "Fort, Mumbai",
- "address": "400001",
- "radius": 603.0616634991944,
- "hub": 0,
- "port": 0,
- "is_dynamic_waypoint": 0,
- "geo": {
- "address": "400001",
- "radius": 603.0616634991944,
- "lat": 18.929532,
- "lng": 72.825565,
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Kolkata"
}
}, - "shape": {
- "data": {
- "center": {
- "lat": 18.929532,
- "lng": 72.825565
}, - "radius": 603.0616634991944
}, - "type": "circle"
}, - "location_id": 30913
}, - "destination": {
- "name": "pune railway station",
- "address": "Pune Junction railway station, Agarkar Nagar, Pune, Maharashtra 411001, India",
- "radius": 4000,
- "hub": 1,
- "port": 0,
- "is_dynamic_waypoint": 0,
- "is_start_point": 0,
- "mailing_address": "Pune Junction railway station, Agarkar Nagar, Pune, Maharashtra 411001, India",
- "daily_report_time": null,
- "geo": {
- "address": "Pune Junction railway station, Agarkar Nagar, Pune, Maharashtra 411001, India",
- "radius": 4000,
- "lat": 18.5284242,
- "lng": 73.87386459999999,
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Calcutta"
}
}, - "shape": {
- "data": {
- "center": {
- "lat": 18.5284242,
- "lng": 73.87386459999999
}, - "radius": 4000
}, - "type": "circle"
}, - "location_id": 30328
}, - "waypoints": [ ],
- "use_dynamic_waypoints": false,
- "device_params": {
- "high_temp_threshold": null,
- "low_temp_threshold": null,
- "pre_alert_temp_subs": null,
- "pre_alert_temp_check": null,
- "pre_alert_temp_high_threshold": null,
- "pre_alert_temp_low_threshold": null,
- "high_pressure_threshold": null,
- "low_pressure_threshold": null,
- "pre_alert_pressure_subs": null,
- "pre_alert_pressure_check": null,
- "pre_alert_pressure_high_threshold": null,
- "pre_alert_pressure_low_threshold": null,
- "high_humidity_threshold": null,
- "low_humidity_threshold": null,
- "pre_alert_humidity_subs": null,
- "pre_alert_humidity_check": null,
- "pre_alert_humidity_high_threshold": null,
- "pre_alert_humidity_low_threshold": null,
- "high_ambient_threshold": null,
- "low_ambient_threshold": null,
- "high_tiltshock_threshold": null,
- "low_tiltshock_threshold": null,
- "high_altitude_threshold": null,
- "low_altitude_threshold": null,
- "high_speed_threshold": null,
- "low_speed_threshold": null
}, - "account_custom_fields": {
- "AssetFields": "",
- "Shipment #": "",
- "LP Number": "",
- "Carrier": "",
- "AWB": "",
- "DN": "",
- "Pallet number": "",
- "Test": ""
}, - "bees": [ ],
- "subscriptions": [ ],
- "expectedTravelTimePerDayHours": 0,
- "expectedTravelTimePerDayMins": 0,
- "expectedKMsPerHours": 0,
- "smartComplete": false,
- "stopDuration": "4:0",
- "completeDuration": "24:0",
- "custom_fields": [ ]
}, - "account_id": 1,
- "created_date": null,
- "updated_date": null,
- "custom_fields_v2": null,
- "account": {
- "id": 1,
- "uuid": "0924b7c5-b675-4c96-b840-6e2418bfba23",
- "name": "Roambee",
- "type": "roambee",
- "active": 1,
- "data": {
- "title": "Roambee Super User",
- "custom_shipment_fields": [ ],
- "custom_asset_fields": [ ],
- "category": [ ],
- "asset_threshold": { },
- "preference": {
- "livechat": false,
- "orderShipment": true,
- "trackweather": false,
- "customSender": "",
- "blockSms": false,
- "enablePush": false,
- "accountSysncData": { }
}, - "ble_bee_conflict_optimization": { },
- "audit_actions": "",
- "fls_setting": { },
- "admin_configuration": {
- "distance_cleanup": { }
}, - "enableOAPanel": false,
- "isGeoSnapping": "",
- "max_zone_limit": null,
- "landingPage": {
- "entity": "inventory",
- "page": "assets"
}, - "asset_configuration": {
- "do_not_reset_zone": false
}, - "sapAccountId": "",
- "sapUserName": "",
- "sapPassword": "",
- "sapBearer": "",
- "excludedSensors": [ ],
- "excludedSensorsRoles": [ ],
- "is_scf_migrated": true
}, - "created_date": 1406254624,
- "updated_date": 1630477499,
- "tags": "",
- "billing_contact": "",
- "billing_address": "",
- "country_code": "Ind",
- "contract_name": null,
- "contract": null,
- "inactivation_timestamp": null,
- "parent_account_id": 1,
- "path": "0924b7c5-b675-4c96-b840-6e2418bfba23",
- "auto_billing": 1,
- "auto_report_config": "{\"shipment\":false}",
- "reverse_pickup": 0,
- "sso_config": "{\"realm\":\"StagingRealm\",\"client_id\":\"staging-portal\",\"client_secret\":\"0e790b28-5369-4b05-9dde-2473feebd5ff\",\"scope\":\"profile\",\"authorization_endpoint\":\"https://sso.roambee.com/auth/realms/StagingRealm/protocol/openid-connect/auth\",\"token_endpoint\":\"https://sso.roambee.com/auth/realms/StagingRealm/protocol/openid-connect/token\",\"redirect_uri\":\"https://view-staging.roambee.com/services/auth/cb\",\"app_redirect_uri\": \"rbauth://ssoresponse\"}"
}
}
]
Returns a list of all messages for a given bee and for the mentioned duration.
bid required | string Unique identifier for the bee(IMEI number) |
start | number Unix Epoch Timestamp in seconds |
end | number Unix Epoch Timestamp in seconds |
days | number Give the number of days |
active | number Either 1 or 0 |
apiKey required | string Key to authenticate |
[- {
- "uuid": "33e7292f-1173-4c96-a60f-d5665f0d97ba",
- "imei": "99991009152416",
- "created_date": 1626665178,
- "msg": {
- "uuid": "33e7292f-1173-4c96-a60f-d5665f0d97ba",
- "created_date": 1626665178000,
- "protocol": "UDP",
- "ipaddr": "172.31.80.157",
- "port": 33089,
- "listener_hostname": "udpserver-staging-v099-9x8hn",
- "listener_ip": "172.31.89.166",
- "listener_port": 30003,
- "payload": "+RESP:AIRB,020202,99991009152416,5.5,0,0,1,1,,,,151.34364,-33.96763,20210719032618,,,,,,,20210719032618,39D7$",
- "sqsSent": 1626665195195,
- "ts1": 1626665195318,
- "messageGroupId": "99991009152416",
- "_contentNeverDuplicateSeed": "16266651951100.03720817185836389",
- "imei": "99991009152416",
- "name": "5.5",
- "report_id": "0",
- "report_type": "0",
- "number": "1",
- "gps_accuracy": "1",
- "speed": "",
- "azimuth": "",
- "altitude": "",
- "longitude": "151.34364",
- "latitude": "-33.96763",
- "gps_time": "20210719032618",
- "mcc": "",
- "mnc": "",
- "lac": "",
- "cell_id": "",
- "odometer": "",
- "battery": "",
- "send_time": "20210719032618",
- "count_tail": "39D7$",
- "MAJOR": "RESP",
- "MINOR": "AIRB",
- "VERSION": "020202",
- "bee_uuid": "8ae38543-21cb-4fba-ba28-610ed3ea7acb",
- "bee_account_id": 5,
- "bee_name": "5.5",
- "geo": {
- "source": "message",
- "tech": "gps",
- "status": "ok",
- "reported_accuracy": "1",
- "accuracy": 10,
- "lat": "-33.96763",
- "lng": "151.34364",
- "gps_time": 1626665178000,
- "msg_source": "33e7292f-1173-4c96-a60f-d5665f0d97ba",
- "satellite_view": 0,
- "address": "Australia",
- "provider": "google",
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Calcutta"
}
}, - "beezone_assignment_debug_data": {
- "99991009152416": {
- "reason": "device type not supported for auto mapping"
}
}, - "is_backdated_message": false
}, - "located": 1
}
]
Returns all bees for a given account
active | number Either 1 or 0 |
offset required | number Start offset |
limit required | number Number of results |
apiKey required | string Key to authenticate |
{- "rows": [
- {
- "id": 196608,
- "uuid": "5a32340c-cc9b-4f53-bdcf-7eebc05195d9",
- "bee_number": "",
- "imei": "359804081861645",
- "bee_name": "",
- "device_type": "unknown",
- "mobile_number": null,
- "sim_number": null,
- "created_date": 1521108626,
- "updated_date": 1601013827,
- "state": {
- "uuid": "3dde9476-0b92-4d30-9236-a197904b67be",
- "created_date": 1521108540000,
- "from": "RBRES:VVDN",
- "ping_count": 1,
- "last_msg": {
- "uuid": "3dde9476-0b92-4d30-9236-a197904b67be",
- "imei": "359804081861645",
- "created_date": 1521108540,
- "located": 1,
- "msg": {
- "uuid": "3dde9476-0b92-4d30-9236-a197904b67be",
- "created_date": 1521108540000,
- "protocol": "TCP",
- "ipaddr": "::ffff:10.255.0.2",
- "port": 6045,
- "listener_hostname": "MPP02",
- "listener_ip": "10.255.0.47",
- "listener_port": 30000,
- "payload": "+RBRES:VVDN,vvdn,359804081861645,20180315100900,3.64,29,1;TOW,1,1,0404,0011,0412,000960D,31;GPS,1,0,00;AMB,1,1,10,30,99;10001$",
- "sqsSent": 1521108626234,
- "ts1": 1521108626251,
- "messageGroupId": "359804081861645",
- "_contentNeverDuplicateSeed": "15211086258370.003950957450573833",
- "imei": "359804081861645",
- "date": "20180315100900",
- "battery_voltage": "3.64",
- "battery": "29",
- "event_status": "1",
- "TOW": {
- "control": "1",
- "status": "1",
- "mcc": "0404",
- "mnc": "0011",
- "lac": "0412",
- "cid": "000960D",
- "ss": "31"
}, - "GPS": {
- "control": "1",
- "status": "0",
- "satellite_view": "00"
}, - "AMB": {
- "control": "1",
- "status": "1",
- "low_threshold_limit": "10",
- "high_threshold_limit": "30",
- "measured_value": "99"
}, - "count_tail": "10001$",
- "MAJOR": "RBRES",
- "MINOR": "VVDN",
- "VERSION": "vvdn",
- "bee_uuid": "5a32340c-cc9b-4f53-bdcf-7eebc05195d9",
- "geo": {
- "status": "ok",
- "source": "google-free",
- "tech": "gsm",
- "lat": 28.369764,
- "lng": 76.88052,
- "reported_accuracy": 6241,
- "accuracy": 500,
- "msg_source": "3dde9476-0b92-4d30-9236-a197904b67be",
- "address": "Sector 8, IMT Manesar, Gurugram, Haryana, India",
- "snapped": true,
- "provider": "google",
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Calcutta"
}
}
}
}, - "geo": {
- "status": "ok",
- "source": "google-free",
- "tech": "gsm",
- "lat": 28.369764,
- "lng": 76.88052,
- "reported_accuracy": 6241,
- "accuracy": 500,
- "msg_source": "3dde9476-0b92-4d30-9236-a197904b67be",
- "address": "Sector 8, IMT Manesar, Gurugram, Haryana, India",
- "snapped": true,
- "provider": "google",
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Calcutta"
}
}, - "geo_timestamp": 1521108540000,
- "battery": "29",
- "battery_timestamp": 1521108540000,
- "AMB": "99",
- "AMB_timestamp": 1521108540000,
- "battery_remaining_percentage": 29,
- "battery_remaining_days": 9,
- "battery_state": "Normal"
}, - "active": 0,
- "account_id": 1,
- "password": null,
- "carrier": null,
- "monitor_state": {
- "last_seqnum_received": "1000c"
}, - "data": null,
- "dev_src": "Roambee",
- "last_land_ping": 1521108540,
- "ping_frequency": 1,
- "last_ocean_ping": null,
- "last_air_ping": null,
- "last_lbs_ping": null,
- "fcm_token": null,
- "battery_type": "Li-ion",
- "recent_pings": null,
- "allowed_misses": null,
- "last_clear_timestamp": null,
- "custom_fields": null,
- "imsi": null,
- "device_member": null,
- "shipments": [ ],
- "objectType": "Bee"
}
], - "count": "185164,",
- "next_offset": 2
}
On passing the condition under a filter, it will return all bees based on the filter condition. Different supported operators are;
$filter | string Examples:
Search condition. Few fields that you can filter on are
Refer examples for more details. Other than these fields, you can also use the fields that are in the response of the API. |
$size | number This specifies result count. If not specified by default it will return 10 records. Maximum value can be 100. For more please use pagination. |
$offset | number Offset from start of records. Calculated as (desired_page_num - 1) * size |
$fields | string Examples:
Fetch the fields |
apiKey required | string Key to authenticate |
{- "offset": 0,
- "size": 2,
- "total": 2,
- "data": [
- {
- "account_id": 1,
- "imei": "352557101669029",
- "bee_uuid": "5fb81a8d-4390-4053-a09d-4040bb4957bd"
}, - {
- "account_id": 686,
- "asset_uuid": "974e386f-fcd4-4530-b283-67ca2ae42fb6",
- "imei": "860112047026846",
- "bee_uuid": "075807e6-388c-4d86-a6e0-6f4696832299"
}
]
}
It will return all the saved locations from the account.
limit | number Number of results |
offset | number Start offset |
aid | number Account number |
apiKey required | string Key to authenticate |
{- "rows": [
- {
- "id": 18408,
- "name": "(ALIGAH)SIGMA AGRIPRODUCTS PVT. LTD.-PAYER( ALIGARH)",
- "uuid": "3c5ed9c3-fdd2-46e6-9d85-3a4ffbfd5bbe",
- "data": {
- "name": "(ALIGAH)SIGMA AGRIPRODUCTS PVT. LTD.-PAYER( ALIGARH)",
- "address": "Phase-2, Noida, Uttar Pradesh 201305, India",
- "radius": 4000,
- "hub": 0,
- "mailing_address": null,
- "daily_report_time": null,
- "geo": {
- "address": "Phase-2, Noida, Uttar Pradesh 201305, India",
- "radius": 4000,
- "lat": 28.5406346,
- "lng": 77.40421019999997,
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Calcutta"
}
}
}, - "account_id": 1,
- "created_date": 1492840440,
- "updated_date": 1492840440,
- "is_start_point": null,
- "active": 1,
- "mac_address": null,
- "bee_number": null,
- "bee_name": null,
- "imei": null,
- "bee_uuid": null,
- "bee_id": null,
- "mapping_type": null,
- "entity_type": null,
- "static_geo": null
}, - {
- "id": 30025,
- "name": "23, Citizen Society, Hari Nagar, Vadodara, Gujarat 390023, India",
- "uuid": "db19d758-3156-41c0-ae84-eccaf7dc2996",
- "data": {
- "geo": {
- "address": "23, Citizen Society, Hari Nagar, Vadodara, Gujarat 390023, India",
- "lat": 22.315935,
- "lng": 73.154644,
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Calcutta"
}
}, - "radius": 11550.788878732548,
- "hub": 0,
- "mailing_address": null,
- "daily_report_time": null,
- "is_dynamic_waypoint": 1,
- "name": "23, Citizen Society, Hari Nagar, Vadodara, Gujarat 390023, India",
- "address": "23, Citizen Society, Hari Nagar, Vadodara, Gujarat 390023, India"
}, - "account_id": 1,
- "created_date": 1584336170,
- "updated_date": 1584336277,
- "is_start_point": null,
- "active": 1,
- "mac_address": "70:25:a6:e6:b2:7f",
- "bee_number": null,
- "bee_name": null,
- "imei": null,
- "bee_uuid": null,
- "bee_id": null,
- "mapping_type": "Wi-Fi",
- "entity_type": "Location",
- "static_geo": 1
}, - {
- "id": 37790,
- "name": "Magarpatta city_bee_meghnaa",
- "uuid": "c8750737-7d8f-4df5-a685-fb412178c040",
- "data": {
- "name": "Magarpatta city_bee_meghnaa",
- "address": "Magarpatta City,Hadapasar, Pune",
- "radius": 4000,
- "hub": 0,
- "port": 0,
- "is_dynamic_waypoint": 1,
- "geo": {
- "address": "Magarpatta City,Hadapasar, Pune",
- "radius": 4000,
- "lat": 18.5158057,
- "lng": 73.9271644,
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Calcutta"
}
}, - "shape": {
- "data": {
- "center": {
- "lat": 18.5158057,
- "lng": 73.9271644
}, - "radius": 4000
}, - "type": "circle"
}, - "detailed_name": "Magarpatta city Pune"
}, - "account_id": 1023,
- "created_date": 1694165648,
- "updated_date": 1694166997,
- "is_start_point": 0,
- "active": 1,
- "mac_address": null,
- "bee_number": "BLED51BB7",
- "bee_name": "BLED51BB7",
- "imei": "D51BB7",
- "bee_uuid": "dfe9faa5-6c4d-47c0-97ec-a23557b80f0d",
- "bee_id": 681698,
- "mapping_type": "BLELocation",
- "entity_type": "Location",
- "static_geo_active": 1,
- "static_geo": 1
}
], - "count": "131,",
- "next_offset": 3
}
Save location details to your account
apiKey required | string Key to authenticate |
name required | string Name for the location |
is_start_point | number Either 0 or 1. If nothing is provided, default value will be 0. |
data required | string Containing all the details about the location. Structure for this will be "Stringify JSON". |
users | Array of arrays List of user ids |
static_geo | boolean Indicates whether the location is mapped to a beacon. Mandatory to be passed true if the mapping is needed. Pass false if you don't want mapping or want to disable existing one. |
entity_type | string Mandatory to be passed as 'Location' if mapping with a beacon is required. |
mapping_type | string Mandatory if mapping with beacon is required. Pass 'Wi-Fi' if mapping with a mac address and 'BLELocation' if mapping with a beacon. |
mac_address | string Mandatory if mapping with beacon is required. It refers to the mac address to which this location is to be mapped. |
bee_id | number Mandatory if mapping with beacon is required. It refers to the id of bee of type "LocationBeacon" to which this location is to be mapped. |
{- "name": "Magarpatta city",
- "is_start_point": 0,
- "data": "{\"name\":\"Magarpatta city\",\"address\":\"Magarpatta City,Hadapasar, Pune\",\"detailed_name\":\"Magarpatta city\",\"radius\":4000,\"hub\":0,\"port\":0,\"is_dynamic_waypoint\":1,\"geo\":{\"address\":\"Magarpatta City,Hadapasar, Pune\",\"radius\":4000,\"lat\":18.5158057,\"lng\":73.9271644},\"shape\":{\"data\":{\"center\":{\"lat\":18.5158057,\"lng\":73.9271644},\"radius\":4000},\"type\":\"circle\"}}",
- "users": [
- "ade52c6f-9534-40be-b089-558fe4e82a89",
- "94ccf449-e863-4f17-bfe5-60f39a12760a"
]
}
{- "name": "trial add loc via API",
- "account_id": 1,
- "is_start_point": 0,
- "uuid": "42828770-ad49-4ef9-a7dc-7c0eab1c4135",
- "id": 31128,
- "data": {
- "name": "Pune",
- "address": "Magarpatta city,Hadapsar, Pune",
- "detailed_name": "Magarpatta city Pune",
- "radius": 4000,
- "hub": 0,
- "port": 0,
- "is_dynamic_waypoint": 1,
- "geo": {
- "address": "magarpatta city pune",
- "radius": 4000,
- "lat": 18.5158057,
- "lng": 73.9271644,
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Calcutta"
}
}, - "shape": {
- "data": {
- "center": {
- "lat": 18.5158057,
- "lng": 73.9271644
}, - "radius": 4000
}, - "type": "circle"
}
}
}
To modify the exsiting location saved in the account. Similar to add location, user need to pass JSON containing all the required parameters as well as the parameters whose values need to be updated in the same way as given in add location.
lid required | string Location uuid |
apiKey required | string Key to authenticate |
name required | string Name for the location |
is_start_point | number Either 0 or 1. |
data required | string Containing all the details about the location. Structure for this will be "Stringify JSON". |
users | Array of arrays List of user ids |
static_geo | boolean Indicates whether the location is mapped to a beacon. Mandatory to be passed true if the mapping is needed. Pass false if you don't want mapping or want to disable existing one. |
entity_type | string Mandatory to be passed as 'Location' if mapping with a beacon is required. |
mapping_type | string Mandatory if mapping with beacon is required. Pass 'Wi-Fi' if mapping with a mac address and 'BLELocation' if mapping with a beacon. |
mac_address | string Mandatory if mapping with beacon is required. It refers to the mac address to which this location is to be mapped. |
bee_id | number Mandatory if mapping with beacon is required. It refers to the id of bee of type "LocationBeacon" to which this location is to be mapped. |
{- "name": "Magarpatta city",
- "is_start_point": 0,
- "data": "{\"name\":\"Magarpatta city\",\"address\":\"Magarpatta City,Hadapasar, Pune\",\"detailed_name\":\"Magarpatta city\",\"radius\":4000,\"hub\":0,\"port\":0,\"is_dynamic_waypoint\":1,\"geo\":{\"address\":\"Magarpatta City,Hadapasar, Pune\",\"radius\":4000,\"lat\":18.5158057,\"lng\":73.9271644},\"shape\":{\"data\":{\"center\":{\"lat\":18.5158057,\"lng\":73.9271644},\"radius\":4000},\"type\":\"circle\"}}",
- "users": [
- "ade52c6f-9534-40be-b089-558fe4e82a89",
- "94ccf449-e863-4f17-bfe5-60f39a12760a"
]
}
{- "uuid": "7cb5aac3-848b-40f5-bf4c-ae1a2b3b777c",
- "account_id": 5,
- "id": 32139,
- "name": "LocationViaAPI",
- "data": {
- "name": "LocationViaAPI",
- "address": "magarpatta city pune",
- "radius": 4000,
- "hub": 0,
- "port": 0,
- "is_dynamic_waypoint": 1,
- "geo": {
- "address": "magarpattac ity pune",
- "radius": 4000,
- "lat": 18.5158057,
- "lng": 73.9271644,
- "timezone": {
- "countryCode": "India Standard Time",
- "tz": "+05:30",
- "timezoneId": "Asia/Calcutta"
}
}, - "shape": {
- "data": {
- "center": {
- "lat": 18.5158057,
- "lng": 73.9271644
}, - "radius": 4000
}, - "type": "circle"
}, - "detailed_name": "magarpatta city pune"
}, - "created_date": 1652898263,
- "updated_date": 1653546812,
- "is_start_point": 0
}
Create an asset at account level.
apiKey required | string Key to authenticate |
Asset can be created with the following fields.
name required | string Name of the asset |
description | string Asset description |
client_asset_number required | string Unique id of the asset as given by the client. It should be unique across all the assets of the client account. |
alert_threshold | object Sensor reading thresholds can be set at the asset level. An alert is generated if the sensor readings go beyond the set range. |
device_imei | string The imei (or a unique id) of the tracking device is mapped to the asset. |
parent_bee | string Active device name which has to be attached with the asset. |
custom_fields | object Custom fields are part of the asset creation template. Custom field is a key value pair where value is an array of strings. |
categories | object Custom classification preconfigured at the account level. |
subscriptions | Array of objects User email ids and phone numbers |
{- "name": "Mask Factory-v2",
- "client_asset_number": "AAA999"
}
{- "statusCode": 0,
- "total": 1,
- "data": [
- {
- "name": "Mask Factory",
- "description": "Different varients of Mask",
- "alert_threshold": "{\"low_temp_threshold\":\"30\",\"high_temp_threshold\":\"30\",\"high_battery_threshold\":\"30\",\"low_battery_threshold\":\"20\",\"missing_asset_threshold\":\"4\",\"low_humidity_threshold\":\"30\",\"high_humidity_threshold\":\"50\",\"low_ambient_threshold\":\"20\",\"high_ambient_threshold\":\"60\",\"tamper_alert\":true}",
- "json_data": "{\"static_tracking\":true}",
- "account_id": 1,
- "active_status": 1,
- "asset_type": 0,
- "created_date": 1631003871,
- "updated_date": 1631003871,
- "current_context": "asset",
- "context_history": "[{\"context\":\"asset\",\"created_timestamp\":1631003871,\"who\":\"admin+Roambee@roambee.com\"}]",
- "client_asset_number": "AA23",
- "uuid": "f49068dc-4f93-4b0b-a5df-302cc279ae0c",
- "id": 48120
}
]
}
It provides the capability to search and sort through all available assets in an account. Searching is based on a query string parameter called selector.
apiKey required | string Key to authenticate |
Selector is a powerful parameter similar to the SQL where clause. In filters, you can apply various combinations to fetch your assets.
required | object Give all conditions similar to SQL. |
{- "selector": {
- "filters": [
- {
- "type": "EQUAL",
- "items": [
- {
- "name": "asset_type",
- "value": "0"
}, - {
- "name": "client_asset_number",
- "value": "trailer 1"
}
]
}
], - "pagination": {
- "page_size": 10,
- "page_num": 1
}
}
}
{- "id": 47994,
- "uuid": "6883f279-face-4a09-ad17-75e0cf1e18d8",
- "client_asset_number": "AAA475",
- "description": "Editted description",
- "active_status": 0,
- "device_imei": "999921042408074565",
- "name": "my asset",
- "created_date": 1629711178,
- "updated_date": 1629712616,
- "zone_id": null,
- "alert_threshold": {
- "low_temp_threshold": "30",
- "high_temp_threshold": "30",
- "high_battery_threshold": "30",
- "low_battery_threshold": "20",
- "missing_asset_threshold": "4",
- "low_humidity_threshold": "30",
- "high_humidity_threshold": "50",
- "low_ambient_threshold": "20",
- "high_ambient_threshold": "60",
- "tamper_alert": true
}, - "parent_bee": null,
- "external_feed": null,
- "subscriptions": [
- {
- "email": "mailid@roambee.com",
- "ref": "6883f279-face-4a09-ad17-75e0cf1e18d8",
- "type": "ASSET",
- "event": "*",
- "severity": "*",
- "mobile": null,
- "appid1": null,
- "appid2": null
}
], - "custom_fields": {
- "shade": [
- "light"
], - "dimensions": [
- "large"
], - "labels": [
- "one",
- "two"
]
}, - "categories": {
- "Asset Type": [
- "appliances"
], - "Asset Availability": [
- "in stock"
]
}, - "geo": { }
}
Returns the details of a particuar asset.
uuid required | string Unique identifier for the asset |
apiKey required | string Key to authenticate |
{- "id": 47994,
- "uuid": "6883f279-face-4a09-ad17-75e0cf1e18d8",
- "client_asset_number": "AAA475",
- "description": "Editted description",
- "active_status": 0,
- "device_imei": "999921042408074565",
- "name": "my asset",
- "created_date": 1629711178,
- "updated_date": 1629712616,
- "zone_id": null,
- "alert_threshold": {
- "low_temp_threshold": "30",
- "high_temp_threshold": "30",
- "high_battery_threshold": "30",
- "low_battery_threshold": "20",
- "missing_asset_threshold": "4",
- "low_humidity_threshold": "30",
- "high_humidity_threshold": "50",
- "low_ambient_threshold": "20",
- "high_ambient_threshold": "60",
- "tamper_alert": true
}, - "parent_bee": null,
- "external_feed": null,
- "subscriptions": [
- {
- "email": "mailid@roambee.com",
- "ref": "6883f279-face-4a09-ad17-75e0cf1e18d8",
- "type": "ASSET",
- "event": "*",
- "severity": "*",
- "mobile": null,
- "appid1": null,
- "appid2": null
}
], - "custom_fields": {
- "shade": [
- "light"
], - "dimensions": [
- "large"
], - "labels": [
- "one",
- "two"
]
}, - "categories": {
- "Asset Type": [
- "appliances"
], - "Asset Availability": [
- "in stock"
]
}, - "geo": { }
}
Edit the details of a particuar asset.
uuid required | string Unique identifier for the asset |
apiKey required | string Key to authenticate |
Update the details of an asset based on its uuid. Give only those attributes with editted values.
name | string Name of the asset |
description | string Asset description |
client_asset_number | string Unique id of the asset as given by the client. It should be unique across all assets of the client's account. |
alert_threshold | object Sensor reading thresholds can be set at the asset level. If the sensor readings go beyond the set range, an alert is generated. |
device_imei | string The imei (or unique id) of the tracking device is mapped to the asset. |
custom_fields | object Custom fields are part of the asset creation template. Custom field is a key value pair where value is an array of strings. |
categories | object Custom classification is preconfigured at the account level. |
subscriptions | Array of objects User email ids and phone numbers |
{- "description": "Editted description"
}
{- "id": 47994,
- "updated_date": 1630571259
}
It provides the capability to search and sort through all available assets in an account. On passing the condition under the filter, it will return all asset details based on the filter condition. This is a light weight API. Different supported operators are
$filter | string Examples:
Search condition. Few fields that you can filter on are
Refer examples for more details. Other than these fields, you can also use the fields that are in the response of the API. |
$size | number Examples:
This specifies result count. If not specified by default it will return 10 records. Maximum value can be 100. For more please use pagination. |
$offset | number Offset from start of records. Calculated as (desired_page_num - 1) * size |
$fields | string Examples:
Fetch the fields |
apiKey required | string Key to authenticate |
{- "offset": 0,
- "size": 10,
- "total": 56,
- "data": [
- {
- "asset_id": 47763,
- "id": 47763,
- "asset_uuid": "9e7dc180-c252-49e2-9c3c-97555ec8b38c",
- "client_asset_number": "Box-1",
- "description": "100 boxes",
- "active_status": 0,
- "device_imei": "99998888888871",
- "account_id": 1023,
- "asset_type": 0,
- "geo": null,
- "name": "Box-1",
- "zone_id": null,
- "custom_fields": { },
- "categories": { },
- "shipment_uuid": "eed10520-583d-4c8d-8afd-25e71a08ca8f",
- "shipment_name": "Template of Onida(Beacon shipment)",
- "zone_path": [ ],
- "bee_name": "TestBee-99998888888871",
- "created_date": 1618906857,
- "parent_bee": null,
- "on_shipment": "yes",
- "seen": "No",
- "zone_count": 0,
- "external_feed": null,
- "sensor": {
- "battery": {
- "remaining_percentage": 80,
- "remaining_days": 6
}, - "TMP": {
- "value": -38,
- "timestamp": 1684390110000
}, - "PRS": {
- "value": 1960,
- "timestamp": 1684390110000
}, - "HUM": {
- "value": 15,
- "timestamp": 1684390110000
}, - "AMB": {
- "value": 71,
- "timestamp": 1684390110000
}, - "TLT": {
- "value": 23,
- "timestamp": 1684390110000
}, - "ALT": {
- "value": 66,
- "timestamp": 1684390110000
}
}, - "battery_remaining_days": 6,
- "battery_remaining_percentage": 80,
- "temperature": -38,
- "temperature_timestamp_ms": 1684390110000,
- "pressure": 1960,
- "pressure_timestamp_ms": 1684390110000,
- "humidity": 15,
- "humidity_timestamp_ms": 1684390110000,
- "ambient": 71,
- "ambient_timestamp_ms": 1684390110000,
- "tilt_shock": 23,
- "tilt_shock_timestamp_ms": 1684390110000,
- "altitude": 66,
- "altitude_timestamp_ms": 1684390110000
}
]
}
Retrieves a list of webhook alerts filtered by specified conditions. This endpoint allows various filters to tailor the returned data to specific needs.
type | string Example: type=DEVICE Type of alerts to filter by (e.g., ACTIVITY, DEVICE, ASSET). |
entity_id | string Example: entity_id=123e4567-e89b-12d3-a456-426614174000 Specific identifier for shipment/asset UUID or device IMEI to filter webhook data. |
startDate | integer Example: startDate=1609459200 Start date for filtering webhook data, provided as a Unix timestamp. use with endDate |
endDate | integer Example: endDate=1612137600 End date for filtering webhook data, provided as a Unix timestamp. use with startDate |
webhook_category | string Example: webhook_category=webhook_sent Filter to retrieve specific categories of webhook alerts like webhook_total, webhook_sent, or webhook_resent. |
apiKey required | string Example: your_api_key_here API key for authentication. |
{- "statusCode": 200,
- "message": "Audit records retrieved successfully.",
- "data": {
- "webhooks_total": {
- "total": 1384,
- "success": 295,
- "fail": 1089,
- "webhook_details": [
- {
- "type": "DEVICE",
- "total": 712,
- "success": 41,
- "fail": 671
}, - {
- "type": "ACTIVITY",
- "total": 273,
- "success": 51,
- "fail": 222
}
]
}, - "webhooks_sent": {
- "total": 1334,
- "success": 245,
- "fail": 1089,
- "webhook_details": [
- {
- "type": "DEVICE",
- "total": 712,
- "success": 41,
- "fail": 671
}
]
}, - "webhooks_resent": {
- "total": 50,
- "success": 50,
- "fail": 0,
- "webhook_details": [
- {
- "type": "DEVICE",
- "total": 50,
- "success": 50,
- "fail": 0
}
]
}
}
}
This endpoint retrieves communication audit data. By default, not all fields are included. Use specific query parameters to include all fields, paginate responses, order the data, or apply filters based on various attributes.
$fields | string Example: $fields=all to include all fields in the response. |
$size | integer Example: $size=10 Number of records per request for pagination. |
$offset | integer Example: $offset=20 Number of records to skip for pagination. |
$orderBy | string Example: $orderBy=created_date Order the records by any field. To order in descending, append |
$filter | string Example: $filter=is_success eq true Apply filters on fields such as attempts, created_date, is_success, entity_id, event, alert_type, url. Filters can be combined using 'and'. Examples:
|
apiKey required | string Example: your_api_key_here API key for authentication. |
{- "offset": 0,
- "size": 0,
- "total": 0,
- "data": [
- {
- "account_id": 0,
- "created_date": 0,
- "alert_type": "string",
- "attempts": 0,
- "is_success": true,
- "avg_time_taken_ms": 0,
- "url": "string",
- "latest_response": "string",
- "status_code": 0,
- "payload": "string",
- "entity_id": "string",
- "event": "string"
}
]
}