You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This page is under construction

Update a setting
    Resource: application/settings/<setting_id>

    URLhttps://api-stage.bimplus.net/v2/application/settings/<setting_id>

    Example:https://api-stage.bimplus.net/v2/application/settings/c47b737c-6727-4832-bcd1-57ead714ae34

    JSON Structure

    Name

    Mandatory / Optional

    Type

    Description

    id

    will be ignored

    string

    Name of the project

    key

    optional

    string

    Key(i.e name) of the setting. It should be unique.

    value

    optional

    string

    Value for the key

    update will be ignored string(date) The update date of the setting
     PUT
    Update the value of a setting.
    Headers
    Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
    Content-Type: application/json
    
    JSON
    {
            "key": "AutoLoadLastModel",
            "value": "No"
    }
    
    Status
    Status: 200 OK
    

    Get info about a setting
       GET
       Get details of a specified user setting.
      Headers
      Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
      Content-Type: application/json
      
      Status
      Status: 200 OK
      
      JSON
      {
              "key": "AutoLoadLastModel",
              "value": "Yes",
              "updated": "2015-08-19T00:04:16.387",
              "id": "c47b737c-6727-4832-bcd1-57ead714ae34"
      }
      

      Delete a setting
         DELETE
         Deletes a specified pin.
        Headers
        Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
        Content-Type: application/json
        
        Status
        Status: 200 OK
        
        • No labels