Headers
Header name |
Description |
Required |
Values |
---|---|---|---|
Authorization |
Access token |
Required |
Bearer <access_token> |
Content-Type |
Request type format |
Required |
application/json |
PUT body
Element |
Description |
Type |
Required |
Notes |
---|---|---|---|---|
GeometricName |
Name of the geometric table that you want to edit. |
String |
Required |
|
TableId |
Identifies the table to which the new geometric must be assigned |
String |
Required |
|
StandardName |
String |
Required |
Sample request
https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('SDB')/Disciplines(5020)/Nls(1)/Geometrics(<GeometricId>)
Where GeometricId is the geometric that you want to edit.
{
"GeometricName": "EDIT_Geom",
"TableId": 9203,
"StandardName":"CS"
}
Response
Element |
Description |
Type |
Notes |
---|---|---|---|
GeometricId |
A unique ID for the geometric. |
Integer |
Generated by the software |
Project |
The project or product group where the geometric is created |
String |
|
DisciplineName |
The associated discipline name to the geomtric |
||
GeometricName |
Name of the new geometric |
String |
|
TableId |
The associated table to the geometric. |
Integer |
Generated by the software |
StandardId |
A unique standard id |
Integer |
|
StandardName |
Name of the standard |
String |
|
ControlStatus |
Sets the control status of the geometric |
Integer |
Default value is 1 |
NlsId |
Language identifier |
Integer |
Required |
ShortDescription |
Short description of the table |
String |
Required |
Description |
Description of the table |
String |
Required |
Sample response
{
"@odata.context": "https://<appserver with domain>/<virtual_directory>/Srd/V2/$metadata#Projects('SDB')/Disciplines(5020)/Nls(1)/Geometrics/$entity",
"GeometricId": 46358,
"Project": "SDB",
"DisciplineName": "PIPING",
"GeometricName": "EDIT_GEOM",
"TableId": 9203,
"StandardId": 5023,
"StandardName": "CS",
"ControlStatus": 1,
}