post https://buzz-key.api.beeswax.com/rest/list_item(geo)
Note, while all other list_item
endpoints require the list_item
field to be a string, when working with precise geo lists (lat_long
list type), the list_item
field is a json object that must include a lat
and a long
element, and optionally, a radius_km
. If the radius_km
is omitted the radius set for the list will be used.
GETs
When GET
ting a list_item
of this type, the list_item
field will also be returned as json, instead of a string as shown in the example below:
{
"success": true,
"payload": [
{
"list_item_id": 1,
"list_id": 5,
"list_item": {
"lat": -89.0122,
"long": -170.98001,
"radius_km": 11
},
"list_item_name": "Starbucks on Main Street",
"create_date": "2018-08-08 09:56:16",
"update_date": "2018-08-08 09:56:16",
"active": true,
"value": 1.2,
"pushed_to_server": null,
"account_id": 1,
"buzz_key": "stinger"
}
]
}