Sample API Response of an asset
The native Woosmap API JSON Data of your assets
The API return a GeoJson file with assets data. Each Store properties have the following structure:
{
"geometry": {"type": "Point", "coordinates": [3.13502, 50.7378]},
"type": "Feature",
"properties": {
"store_id": "2",
"tags": ["filling station", "pharmacy"],
"opening_hours": {
"timezone": "Europe/Paris",
"usual": {
"default": [{"start": "08:30", "end": "22:00"}],
"7": []
}
},
"weekly_opening": {
"1": {
"hours": [{"start": "08:30", "end": "22:00"}],
"isSpecial": false
},
"2": {
"hours": [{"start": "08:30", "end": "22:00"}],
"isSpecial": false
},
"3": {
"hours": [{"start": "08:30", "end": "22:00"}],
"isSpecial": false
},
"4": {
"hours": [{"start": "10:30", "end": "22:00"}],
"isSpecial": true
},
"5": {
"hours": [{"start": "08:30", "end": "22:00"}],
"isSpecial": false
},
"6": {
"hours": [{"start": "08:30", "end": "22:00"}],
"isSpecial": false
},
"7": {
"hours": [{"start": "08:30", "end": "22:00"}],
"isSpecial": false
},
"timezone": "Europe/Paris"
},
"user_properties": null,
"contact": {
"phone": "03.02.01.22.22",
"email": "NULL"
},
"address": {
"city": "STORE CITY",
"lines": ["Boulevard d'Halluin"],
"zipcode": "011111",
"country_code": "FR"},
"open": {
"current_slice": {"start": "08:30", "end": "22:00"}
"open_now": true,
"open_hours": [
{"start": "08:30", "end": "22:00"}
]
},
"types": ["type", "drive"],
"name": "Example Name"
}
}
Was this article helpful?
Have more questions? Submit a request