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

    API / getLevels

    Method returns list of supported experience levels. For example beginner, intermediate, advanced.

    Title get Levels
    Url BASE_URL + / + getLevels
    Method GET
    Params NO
    Error Response HTML error response

    Success Response

    Array of level objects.

      
    {
        "levels": [
            {"levelId": 1,...},
            {"levelId": 2,...},
            {"levelId": 3,...}
        ]
    }
      
    

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

    Property Type Description
    levelId integer A unique and immutable ID of a level
    levelName string Name of the level
    order real used for sorting
    deleted BOOL true - object should be deleted on mobile device

    Response Sample

      
    {
      "levels": [
        {
          "levelID": 0,
          "levelName": "Beginner",
          "order": 10,
          "deleted": false
        },
        {
          "levelID": 1,
          "levelName": "Intermediate",
          "order": 20,
          "deleted": false
        },
        {
          "levelID": 2,
          "levelName": "Advanced",
          "order": 20,
          "deleted": true
        }
      ]
    }