Headers
Header name |
Description |
Required |
Values |
---|---|---|---|
Authorization |
Access token |
Required |
Bearer <access_token> |
Content-Type |
Request type format |
Required |
application/json |
To retrieve a specific commodity code geometric for a commodity code:
-
An issue with updating commodity code geometrics through the SRD Web API in version 10.03.00.0000 has been addressed in version 10.03.06.0001. For version 10.03.06.0001, the URI format for retrieving specific commodity code geometric is as follows:
-
GET https://<appserver with domain>/<virtual_directory>/ Srd/V2/Projects('SDB')/Disciplines(5020)/Nls(1)/CommodityGroups(5018)/CommodityParts(5549)/CommodityCodes(75362)/CommodityCodeGeometrics(CommodityId=<commoidtyId>,GeometricId=<geometricId>)
-
Response
Parameter |
Description |
Type |
Notes |
---|---|---|---|
CommodityId |
A unique ID for the commodity code. |
Integer |
|
GeometricId |
A unique ID for the geometric. |
Integer |
|
IdentKey |
Set this value if you want to use the geometric for building the ident. |
String |
Sample response
{
"@odata.context": https://<appserver with domain>/<virtual_directory>/Srd/V2/$metadata#Projects('SDB')/Disciplines(5020)/Nls(1)/CommodityGroups(5018)/CommodityParts(5549)/CommodityCodes(75362)/CommodityCodeGeometrics/$entity,
"CommodityId": 75362,
"GeometricId": 5002,
"IdentKey": "OFF"
}