Data API

Sample Input structure of an asset

A more complete store input JSON data

The API Takes a valid Json with assets data as input. Each JSON Store Object should comply with this structure:

{
  "stores": [
    {
      "types": [
        "auchan",
        "drive"
      ],
      "tags": [
        "consoles",
        "electromenager"
      ],
      "location": {
        "lat": 42.625118400000005,
        "lng": 2.4270975000000004
      },
      "storeId": "0",
      "name": "SuperU",
      "address": {
        "lines": ["Gibraltar"],
        "countryCode": "FR",
        "city": "Prades",
        "zipcode": "66500"
      },
      "contact": {
        "website": "http://127.0.0.1",
        "phone": "+330000000",
        "email": "[email protected]"
      },
      "userProperties": {
        "some user properties": "associated user value"
      },
      "openingHours": {
        "timezone": "France/Paris",
        "usual": {
          "default": [
            {
              "start": "08:30",
              "end": "22:00"
            }
          ],
          "1": []
        },
        "special": {
          "2015-02-07": [
            {
              "start": "08:00",
              "end": "23:00"
            }
          ],
          "2015-02-08": []
        }
      }
    }
  ]
}