Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Deck of Cards
idbimGetBimUnitList
Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: content/units

URLhttps://api-stage.bimplus.net/v2/content/units

Examplehttps://api-stage.bimplus.net/v2/content/units

Filter: https://api-stage.bimplus.net/v2/content/units?symbol=<symbolname>", returns all the unit with the specified symbol name.

Card
labelHTTP Method
 GET
Card
labelDescription
 Get all the units from Bimplus DB.
Card
labelRequest
Code Block
borderColorGreen
langxml
titleHeaders
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Card
labelResponse
Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK
Code Block
borderColorRed
langxml
titleJSON
[
    {
        "unit": "kg",
        "contextUnitType": "MASSUNITCURRENCYUNIT",
        "id": "3b871b6585fae1e9-516e5774-4e7e4bce-a35f9831-faa7501d5d0d911c8ff0d6b2",
        "name": "kilogramCurrency",
        "description": "base unit for masscurrency"
    },
    {
    "unit": "W/(m2*K)",
    "unitcontextUnitType": "mTHERMALTRANSMITTANCEUNIT",
    "baseunits": [
     "contextUnitType": "LENGTHUNIT", {
        "idbaseunitid": "7be3452acbd91636-47f949fa-4fd84a4f-bd94bdcc-ef6c967d684e03f27ca205f8",
        "nameusequence": "meter"1,
        "descriptionufactor": 1,
  "base unit for length"
    },
"upower": -1
      {}
    ],
    "unitid": "s32ef9505-baa6-4598-b372-8e050aef57d4",
    "name": "Watt_per_square_meter_per_Kelvin",
    "contextUnitTypedescription": "TIMEUNIT",unit for heat transfer coefficient"
  },
  {
    "idunit": "456e899b-2bda-49a5-8e6f-e1ff8bfd9e14mm",
    "contextUnitType": "LENGTHUNIT",
    "namebaseunits": "second",[
      {
        "descriptionbaseunitid": "base unit for time"7be3452a-47f9-4fd8-bd94-ef6c967d684e",
    },
     {"usequence": 1,
        "unitufactor": "K"0.001,
        "contextUnitTypeupower": "THERMODYNAMICTEMPERATUREUNIT", 1
      }
    ],
    "id": "cbd91636f99f40cf-49fada64-4a4f4c4f-bdcc8434-03f27ca205f8cb90722ba485",
        "name": "kelvinmm",
        "description": "base unit for thermodynamiclength in temperaturemillimeter"
    },
......
] 

Anchor
getBimUnit
getBimUnit

...