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

Compare with Current View Page History

« Previous Version 4 Next »

Object Navigator / Object Filter Service


Object Navigator / Object Filter Service


Get the predefined filters that belongs to a projects & discipline
    Resource: settings/filters 

    URLhttps://api-stage.bimplus.net/v2/<team_slug>/settings/filters?object_id=<discipline_id>&project_id=<project_id>

    Examplehttps://api-stage.bimplus.net/v2/bimplus/settings/filters?object_id=0f106af0-a919-44c5-b211-15bd5ef620b6&project_id=5cd37c77-d341-4ab2-9f0d-44467955b218

     GET

     Get the predefined filters that belongs to a projects & discipline

    Headers
    Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
    Content-Type: application/json
    Status
    Status: 200 OK
    
    JSON
    [
        {
            "disciplineID": "0f106af0-a919-44c5-b211-15bd5ef620b6",
            "name": "Buildingelement Type",
            "filterString": "[I]tabAttribElement.DivisionID[I]tabAttribElement.ElementTyp",
            "id": "954ec08b-5c55-4f86-9d01-d49cc3b2f666"
        },
        {
            "disciplineID": "0f106af0-a919-44c5-b211-15bd5ef620b6",
            "name": "Buildingelement Name",
            "filterString": "[I]tabAttribElement.DivisionID[I]tabAttribGeneral.Name",
            "id": "d465bdc3-a3c7-469e-a0a9-25da81cd293e"
        },
        {
            "disciplineID": "0f106af0-a919-44c5-b211-15bd5ef620b6",
            "name": "Buildingelement Type/Name",
            "filterString": "[I]tabAttribElement.DivisionID[I]tabAttribElement.ElementTyp[I]tabAttribGeneral.Name",
            "id": "ed2d009a-f90a-4001-9b17-45a414bca1d7"
        },
        {
            "disciplineID": "0f106af0-a919-44c5-b211-15bd5ef620b6",
            "name": "Buildingelement Name/Type",
            "filterString": "[I]tabAttribElement.DivisionID[I]tabAttribGeneral.Name[I]tabAttribElement.ElementTyp",
            "id": "8ba9fa06-69e2-4f18-afee-4acfa01bae6e"
        }
    ]

    Get the building objects/elements using the filter
      Resource: filters/<filter_id> 

      URLhttps://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/filters/<filter_id>

      Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/5cd37c77-d341-4ab2-9f0d-44467955b218/filters/ed2d009a-f90a-4001-9b17-45a414bca1d7

       GET

      Get the building objects/elements using a particular filter id

      Headers
      Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
      Content-Type: application/json
      Status
      Status: 200 OK
      
      JSON
      [
           {
              "id": 853539,
              "server": "K2177",
              "date": "2013-12-16T10:00:23",
              "requestid": "653750b3-a97e-451f-bd01-1a4671344087",
              "thread": "51",
              "level": "INFO",
              "logger": "PerformanceLog.ServiceLog",
              "message": "BEGIN Request (GET /v2/best-company/projects/679532b9-f7f7-41ce-817f-6e58225b32b1/disciplines)",
              "exception": "",
              "userid": "123456789",
              "clientid":"987654321",
              "executiontime": "1234"
          },
          {
              "id": 853540,
              "server": "K2177",
              "date": "2013-12-16T10:00:23",
              "requestid": "653750b3-a97e-451f-bd01-1a4671344087",
              "thread": "51",
              "level": "INFO",
              "logger": "PerformanceLog.UserLog",
              "message": "User found byId: bestcustomer@bimplus.net",
              "exception": "",
              "userid": "123456789",
              "clientid":"987654321",
              "executiontime": "1234"
          },
          {
              "id": 853541,
              "server": "K2177",
              "date": "2013-12-16T10:00:23",
              "requestid": "653750b3-a97e-451f-bd01-1a4671344087",
              "thread": "51",
              "level": "INFO",
              "logger": "PerformanceLog.ServiceLog",
              "message": "END Request (GET /v2/best-company/projects/679532b9-f7f7-41ce-817f-6e58225b32b1/disciplines) with StatusCode 200; took 216 ms",
              "exception": "",
              "userid": "123456789",
              "clientid":"987654321",
              "executiontime": "1234"
          },.....]
      • No labels