Headers
Header name |
Description |
Required |
Values |
---|---|---|---|
Authorization |
Access token |
Required |
Bearer <access_token> |
Content-Type |
Request type format |
Required |
application/json |
POST body
Element |
Description |
Type |
Required |
Notes |
---|---|---|---|---|
TableGroupName |
Name of the new table group that you want to create |
String |
Required |
|
StandardName |
Name of the standard |
String |
Required |
Table type must be in uppercase. Example, ANSI |
POST https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('SDB')/Disciplines(5020)/Nls(1)/Tables(7490)/TableGroups
{
"TableGroupName": "ADD_TG",
"StandardName": "ANSI"
}
Response
Element |
Description |
Type |
Notes |
---|---|---|---|
TableId |
A unique ID for the table. |
Integer |
Generated by the software |
TableGroupId |
A unique ID for the table group. |
Integer |
|
Project |
The project or product group from where the table is retrieved. |
String |
|
TableGroupName |
Name of the table group. |
String |
|
StandardId |
A unique standard id. |
String |
|
StandardName |
Name of the standard |
String |
|
ControlStatus |
Sets the control status of the instance. |
Default value is 1 |
Sample response
{
"@odata.context": "https://<appserver with domain>/<virtual_directory>/Srd/V2/$metadata#Projects('SDB')/Disciplines(5020)/Nls(1)/Tables(7490)/TableGroups/$entity",
"TableId": 7490,
"TableGroupId": 12420,
"Project": "SDB",
"TableGroupName": "ADD_TG",
"StandardId": 5100,
"StandardName": "ANSI",
"ControlStatus": 1,
}