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

    API / getLocations

    Method returns location where the conference is held.

    Title get Locations
    Url BASE_URL + / + getLocations
    Method GET
    Params NO
    Error Response HTML error response

    Success Response

    Array of location objects.

      
    {
        "locations": [
            {"locationId": 1,...},
            {"locationId": 2,...},
            {"locationId": 3,...}
        ]
    }
      
    

    A JSON location is an object structured in the following way:

    Property Type Description
    locationId integer A unique and immutable ID of a location
    longitude real  
    latitude real  
    locationName string Name of the location
    address string  
    order real  
    deleted BOOL true - object should be deleted on mobile device

    Response Sample

      
    {
      "locations": [
        {
          "locationId": 1,
          "longitude": "-118.269133",
          "latitude": "34.043517",
          "locationName": "Los Angeles Convention Center",
          "address": "1201 South Figueroa Street, Los Angeles, CA 90015, USA",
          "order": null,
          "deleted": false
        }
      ]
    }