Get Columns Metadata of Table.
get
/pds/rest-service/dataservice/metadata/columns/{tableName}
Send a request to this endpoint to fetch specified table columns info for specified configuration name. This endpoint will returns all columns associate with requested table and configuration name.
Request
Supported Media Types
- application/json
Path Parameters
-
tableName: string
The table name.
Query Parameters
-
configCode: string
The configuration name.Allowed Values:
[ "ds_p6adminuser", "ds_p6reportuser", "ds_unifier" ]
Response
Supported Media Types
- application/json
200 Response
successful operation
Root Schema : Metadata for columns
Type:
object
The column properties of a table.
Show Source
-
columnName(optional):
string
The column name.
-
dataType(optional):
string
The data type.
-
displayName(optional):
string
The display column name.
-
fkTableName(optional):
string
The foreign key table name if it is a foreign key column.
-
isFK(optional):
boolean
If the column is the foreign key.
-
isPK(optional):
boolean
If the column is the primary key.
-
physicalDataType(optional):
string
The data type.
-
syncConfigCode(optional):
string
The configuration code.
-
tableName(optional):
string
The database table name.
-
tableType(optional):
string
Allowed Values:
[ "STANDARD", "VIEW", "SYNONYM" ]
The table type.
400 Response
Bad Request
500 Response
Internal Server Error