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 |
---|---|---|---|---|
TableName |
Name of the new table that you want to create |
String |
Required |
|
TableType |
Identifies the table type which the current table is assigned to |
String |
Required |
Table type must be in uppercase |
Sample request
POST https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('SDB')/Disciplines(5020)/Nls(1)/Tables
{
"TableName": "ADD_TABLE",
"TableType": "PHYSICAL"
}
Response
Element |
Description |
Type |
Notes |
---|---|---|---|
TableId |
A unique ID for the table. |
Integer |
Generated by the software |
Project |
The project or product group from where the table is retrieved. |
String |
|
TableName |
Name of the table |
String |
|
TableTypeId |
A unique ID for the table type. |
Integer |
Generated by the software |
TableType |
Identifies the table type which the current table is assigned to. |
String |
|
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)/Tables/$entity",
"TableId": 11118,
"Project": "SDB",
"TableName": "ADD_TABLE",
"TableTypeId": 5021,
"TableType": "PHYSICAL",
}