Headers
Header name |
Description |
Required |
Values |
---|---|---|---|
Authorization |
Access token |
Required |
Bearer <access_token> |
Content-Type |
Request type format |
Required |
application/json |
POST
https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('SDB')/Disciplines(5020)/Nls(1)/Tables(7487)/TableGroups(7325)/TableDetails
POST body
Element |
Description |
Type |
Required |
Notes |
---|---|---|---|---|
TableDetailName |
Name of the new table detail that you want to create for a specified table |
String |
Required |
Sample request
{
"TableDetailName": "VAA",
"Disused": "N",
"ControlStatus": 1,
"BASE_MAT": "Aluminum and Aluminum Alloys",
"CL145": "1780",
"WEIGHT_CODE": "34"
}
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 |
|
TableDetailId |
A unique ID for the table detail. |
||
Project |
The project or product group from where the table is retrieved. |
String |
|
TableDetailName |
Name of the table detail. |
String |
|
Disused |
Is the table detail outdated and not used anymore? Y or N. Uppercase. |
String |
Default value is N |
ControlStatus |
Sets the control status of the instance. |
Default value is 1 |
|
BASE_MAT |
BASE_MAT attribute is associated with ATTR_CHAR1 physical attribute for parent physical table |
String |
Depends on required field of TableAttributes mapping |
CL145 |
CLI45 attribute is associated with ATTR_CHAR2 physical attribute for parent physical table |
Integer |
Depends on required field of TableAttributes mapping |
WEIGHT_CODE |
WEIGHT_CODE attribute is associated with ATTR_NUM1 physical attribute for parent physical table |
Integer |
Depends on required field of TableAttributes mapping |
BASE_MAT |
BASE_MAT attribute is associated with ATTR_CHAR1 physical attribute for parent physical table |
String |
Depends on required field of TableAttributes mapping |
CL145 |
CLI45 attribute is associated with ATTR_CHAR2 physical attribute for parent physical table |
Integer |
Depends on required field of TableAttributes mapping |
WEIGHT_CODE |
WEIGHT_CODE attribute is associated with ATTR_NUM1 physical attribute for parent physical table |
Integer |
Depends on required field of TableAttributes mapping |
Sample response
{
"@odata.context":
"https://<appserver with domain>/<virtual_directory>/Srd/V2/$metadata#Projects('SDB')/Disciplines(5020)/Nls(1)/Tables(7487)/TableGroups(7325)/TableDetails",
"value": [
{
"TableId": 7487,
"TableGroupId": 7325,
"TableDetailId": 66410,
"Project": "SDB",
"TableDetailName": "ADD_TDN",
"Disused": "N",
"ControlStatus": 1,
"BASE_MAT": "Aluminum and Aluminum Alloys",
"CL145": "1780",
"WEIGHT_CODE": "34"
}
]
}