Connfa!
Open Source iOS & Android App for Conferences and Events

    API / getPOI

    Method returns list of all POI

    Title get POI
    Url BASE_URL + / + getPOI
    Method GET
    Params NO
    Error Response HTML error response

    Success Response

    Array of POI objects.

      
    {
      "poi": [
        { "poiId": 1, ... },
        { "poiId": 2, ... },
        { "poiId": 3, ... }
      ]
    }
      
    

    A JSON is an object structured in the following way:

    Property Type Description
    poiId integer A unique and immutable ID of a poi
    poiName string Poi name
    poiDescription string Description of POI
    poiImageURL URL POI image link
    poiDetailURL URL POI details link
    order real  
    deleted BOOL true - object should be deleted on mobile device

    Response Sample

      
    {
      "poi": [
        {
          "poiId": 1,
          "poiName": "point1",
          "poiDescription": "test description",
          "poiImageURL": "http://lorempixel.com/400/200/",
          "poiDetailURL": "http://lorempixel.com/400/200/",
          "order": null,
          "deleted": false
        }
      ]
    }