Catalog Service
...
- Create a new norm
- Get the norm list list
- Get the norm details
- Delete the specified norm
- Create a new country
- Get the catalog list
- Get the catalog details
- Update the specified catalog
- Get the catalog item list from the specified catalog Delete the specified catalog
Catalog Service
...
Anchor | |||
---|---|---|---|
|
...
|
Get the norm list
Deck of Cards | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...
|
Anchor | ||||
---|---|---|---|---|
|
Get the norm details
Deck of Cards | ||
---|---|---|
|
...
Get the norm list
Deck of Cards | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Get the
...
country list
Deck of Cards | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...
|
Anchor | ||||
---|---|---|---|---|
|
Get the country details
Deck of Cards | ||
---|---|---|
| ||
|
...
Delete the specified norm
Deck of Cards | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||
|
...
|
Anchor | ||||
---|---|---|---|---|
|
Get a list of catalog types
...
Deck of Cards | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Get the
...
catalog type details
Deck of Cards | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...
|
Anchor | ||||
---|---|---|---|---|
|
Get the catalog item
...
details
Deck of Cards | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
Card | | |||||||||||||||||
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
label | Response |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Status: 200 OK
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"id":"ed9fe5ba-96c0-f24d-9779-b06b7ce69385",
"name":"Austria",
"description":"Austria"
} |
...
Delete the specified country
...
id | bimDeleteCountry |
---|
...
default | true |
---|---|
label | URL / Resource / JSON Structure |
Resource: countries
URL: https://api-stage.bimplus.net/v2/ countries/<country_id>
...
Card | ||
---|---|---|
| ||
DELETE |
|
Anchor | ||||
---|---|---|---|---|
|
Get the catalog list
Deck of Cards | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Card | ||
---|---|---|
| ||
Delete the specified country |
...
label | Request |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
...
label | Response |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Status: 200 OK
|
...
Get a list of catalog types
Deck of Cards | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...
Get the catalog type details
...
id | bimGetCatalogType |
---|
Card | ||||
---|---|---|---|---|
| ||||
Resource: catalogs/types URL: https://api-stage.bimplus.net/v2/ catalogs/types/<catalogType_id> Example: https://api-stage.bimplus.net/v2/catalogs/types/992bdb90-e093-4e6d-82cd-d8395ec14496 |
Card | ||
---|---|---|
| ||
GET |
Card | ||
---|---|---|
| ||
Get information about a specified norm |
...
label | Request |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
...
label | Response |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Status: 200 OK
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"id":"992bdb90-e093-4e6d-82cd-d8395ec14496",
"name":"Material",
"description":"Material"
} |
...
Create a new catalog item
Deck of Cards | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
Card | | |||||||||||||||||
| ||||||||||||||||||
Name | Mandatory / Optional | Type | Description | |||||||||||||||
id | will be ignored | string(guid) | The id of the catalog item | |||||||||||||||
name | mandatory | string | Catalog item name | |||||||||||||||
description | optional | string | Catalog item description | |||||||||||||||
catalogId | mandatory | string | Catalog id. Newly created catalog item belongs to this catalog | |||||||||||||||
properties | optional | object(dictionary) | Object which contains pairs of all parameter values for catalog item. Value in pair represent attribute value of the attribute with Id specified as key in pair. | |||||||||||||||
diagram | optional | object | Object which includes data for custom table (sigma-epsilon diagram ) |
Card | ||
---|---|---|
| ||
POST |
Card | ||
---|---|---|
| ||
Create a new catalog item to the specified catalog. |
Card | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
| ||||||||||||||||||
Card | ||||||||||||||||||
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Status: 201 Created
|
Code Block | ||
---|---|---|
| ||
{
"catalogId": "ae2122c0-f667-f242-40ee-3e57161e433a",
"properties": {
"7f670d2a-6c00-4fb1-0dce-bb4f700ca0f4": "1e-05",
"029ca99d-d590-3f36-60ad-c2f8538b6bf4": "No",
"4fd9b113-4e9f-22e5-62ab-eb099fb0836f": "Bi-linear stress-strain diagram",
"bb88f378-a30c-de7c-a70b-6522c917bd3f": "slow",
"71164ead-883b-a610-61d0-c32e8caa5cfa": "Quartzite",
"11f347c7-4ebf-fe22-5285-1edeb916c0de": 32300000000,
"ca5d193d-c7c8-be57-a244-e7d751a67824": 13458300000,
"ceb34ade-8a26-f9a5-b3ea-f247486a1778": 2500,
"52941ec9-f125-d765-aaca-07c7a3e86997": 0.2,
"efd8c210-8d8e-21e6-987f-8924159f961f": 0.2,
"c905659b-74c8-dd27-7c61-e9722abbf9a3": 600,
"9813d85d-cd87-1db0-a4ce-08a94375ecae": 45,
"3f2e236f-5708-2eb7-8715-e2f52a6af34b": 28000000,
"2a30c3bb-3584-5ea9-599e-497f7a984d1d": 2800000,
"9b6d72a6-b230-78da-6ed3-79630fc263e7": 1900000,
"9b6e9387-a6d4-af90-bfd5-196d47e67f64": 0.002,
"d91470f2-8a8d-f7d2-de56-e61747fbbb27": 0.0035,
"84bbcf5f-fc3f-19fe-47e3-0e9edbb6961e": 0.00175,
"ae3aa29d-e553-afe6-5a71-82363dab1636": 0.0035,
"2f6bcd7f-f3b3-b346-d857-5cd0ca17e31f": 36000000,
"0e588097-5259-fc18-9e74-122f73bbb4f8": 0,
"d3535e56-710b-a585-3f79-c984760625b2": 0,
"9b7d1f57-0872-b143-4d5f-19630077c058": 0.032,
"a27d570d-b739-6acf-50b1-12c73ba1ce36": 2,
"aa309ea3-de6d-1274-fc6b-380a14e91ef2": 0.9,
"5b92e65f-9874-4187-c561-064fb845507d": 0,
"2cd643c8-f198-aad7-8f99-5f35052b3e7c": 3600000
},
"diagram": {
"columns": [
{ "name": "sig", "type": "Double" },
{ "name": "eps", "type": "Double" },
],
"rows": [
{ "items": [ -4.69565e+08, -0.05 ] },
{ "items": [ -4.6751e+08, -0.045 ] },
{ "items": [ -4.34783e+08, -0.00217391 ] },
{ "items": [ 0, 0 ] }
]
},
"id": "3ea0079e-7cd9-8ea0-1163-70cef77e7eff",
"name": "C28/35",
"description": "(Dutch NEN-EN NA)"
} |
...
Get the catalog item details
...
id | bimGetCatalogItem |
---|
...
default | true |
---|---|
label | URL / Resource / JSON Structure |
Resource: catalogitems
URL: https://api-stage.bimplus.net/v2/ catalogitems/<catalogitem_id>
Example: https://api-stage.bimplus.net/v2/catalogitems/f15e402a-d29d-023c-745d-2b2f41c58483
Optional query parameters: Used to refine and reduce the set of returned catalog items
...
Name
...
Type
...
Default value
...
Description
...
When query parameter "unit=imperial" is defined, the API will return free-attribute of catalog item with imperial unit.
e.g. https://api-stage.bimplus.net/v2/catalogitems/d3a532ce-145a-5a91-4bba-a445630b93ca/?unit=imperial
Query unit can be only ?unit=metric or ?unit=imperial.
|
Anchor | ||||
---|---|---|---|---|
|
Get the catalog details
Deck of Cards | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||
|
...
When filter "name=I200" is defined the API will return only of catalog item which Name contains requested sub-string, e.g. https://api-stage.bimplus.net/v2/catalogitems?filter=name=I1
if filter is "name=I1" will be returned all catalog items which Name contains substring "I1".
Like I100 I150, etc.
Card | ||
---|---|---|
| ||
GET |
Card | ||
---|---|---|
| ||
Get information about a specified catalog item |
...
label | Request |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
...
label | Response |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Status: 200 OK
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"catalogId":"2d116846-5f7c-a780-3a82-6dd8150989df",
"properties":{
"7f670d2a-6c00-4fb1-0dce-bb4f700ca0f4":"1.2e-05",
"029ca99d-d590-3f36-60ad-c2f8538b6bf4":"No",
"9df611ca-c547-e0ab-4595-8a017a383592":210000000000,
"ca5d193d-c7c8-be57-a244-e7d751a67824":80769200000,
"ceb34ade-8a26-f9a5-b3ea-f247486a1778":7850,
"52941ec9-f125-d765-aaca-07c7a3e86997":0.3,
"efd8c210-8d8e-21e6-987f-8924159f961f":0.15,
"c905659b-74c8-dd27-7c61-e9722abbf9a3":600,
"9813d85d-cd87-1db0-a4ce-08a94375ecae":45,
"633a90c2-a927-faf3-22d4-7a17e4f2b81a":355000000,
"d450c196-451f-6811-0b47-53c5b81f2cc9":470000000
},
"id":"f15e402a-d29d-023c-745d-2b2f41c58483",
"name":"S 998",
"description":"test catalog item "
} |
...
Create a new catalog
...
id | bimCreateCatalog |
---|
...
default | true |
---|---|
label | URL / Resource / JSON Structure |
...
URL: https://api-stage.bimplus.net/v2/ catalogs
Example: https://api-stage.bimplus.net/v2/catalogs
JSON Structure:
...
Name
...
Mandatory / Optional
...
Type
...
Description
...
Card | ||
---|---|---|
| ||
POST |
Card | ||
---|---|---|
| ||
Create a new catalog. |
...
label | Request |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"name":"Timber",
"description":"Timber",
"catalogtype":{
"id":"992bdb90-e093-4e6d-82cd-d8395ec14496"
}
} |
...
label | Response |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Status: 201 Created
|
Code Block | ||
---|---|---|
| ||
{
"norms":[],
"countries":[],
"catalogType":{
"id":"992bdb90-e093-4e6d-82cd-d8395ec14496",
"name":"Material",
"description":"Material"
},
"id":"10e3f185-234e-9686-5fea-73075149abd2",
"name":"Timber",
"description":"Timber"
} |
...
Get the catalog list
...
id | bimGetCatalogList |
---|
Card | ||||
---|---|---|---|---|
| ||||
Resource: catalogs URL: https://api-stage.bimplus.net/v2/ catalogs |
Card | ||
---|---|---|
| ||
GET |
Card | ||
---|---|---|
| ||
Gets the catalog list |
...
label | Request |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
...
label | Response |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Status: 200 OK
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
[{
"norms":[{
"id":"96b6d63f-7d86-2270-5ded-a7868308679b",
"name":"EC"
}
],
"countries":[{
"id":"7a286f49-ca3e-f2c9-2555-af6f9713071c",
"name":"Standard EN"
}
],
"catalogType":{
"id":"992bdb90-e093-4e6d-82cd-d8395ec14496",
"name":"Material",
"description":"Material"
},
"id":"2d116846-5f7c-a780-3a82-6dd8150989df",
"name":"Steel",
"description":"Steel"
},
{
"norms":[{
"id":"96b6d63f-7d86-2270-5ded-a7868308679b",
"name":"EC"
}
],
"countries":[{
"id":"7a286f49-ca3e-f2c9-2555-af6f9713071c",
"name":"Standard EN"
}
],
"catalogType":{
"id":"992bdb90-e093-4e6d-82cd-d8395ec14496",
"name":"Material",
"description":"Material"
},
"id":"ae2122c0-f667-f242-40ee-3e57161e433a",
"name":"Concrete",
"description":"Concrete"
},
{
"norms":[{
"id":"96b6d63f-7d86-2270-5ded-a7868308679b",
"name":"EC"
}
],
"countries":[{
"id":"7a286f49-ca3e-f2c9-2555-af6f9713071c",
"name":"Standard EN"
}
],
"catalogType":{
"id":"992bdb90-e093-4e6d-82cd-d8395ec14496",
"name":"Material",
"description":"Material"
},
"id":"2e5f209b-98e4-f731-9f54-f9ade4a87587",
"name":"Aluminium",
"description":"Aluminium"
}
] |
...
Get the catalog details
...
id | bimGetCatalog |
---|
Card | ||||
---|---|---|---|---|
| ||||
Resource: catalogs URL: https://api-stage.bimplus.net/v2/ catalogs/<catalog_id> Example: https://api-stage.bimplus.net/v2/catalogs/ae2122c0-f667-f242-40ee-3e57161e433a |
Card | ||
---|---|---|
| ||
GET |
Card | ||
---|---|---|
| ||
Get information about a specified catalog |
...
label | Request |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
...
label | Response |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Status: 200 OK
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"norms":[{
"id":"96b6d63f-7d86-2270-5ded-a7868308679b",
"name":"EC"
}
],
"countries":[{
"id":"7a286f49-ca3e-f2c9-2555-af6f9713071c",
"name":"Standard EN"
}
],
"catalogType":{
"id":"992bdb90-e093-4e6d-82cd-d8395ec14496",
"name":"Material",
"description":"Material"
},
"id":"ae2122c0-f667-f242-40ee-3e57161e433a",
"name":"Concrete",
"description":"Concrete"
} |
...
Update the specified catalog
Deck of Cards | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...
Deck of Cards | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...
Delete the specified catalog
Deck of Cards | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||
Card |
|