Logo
OpenText Developer Cloud public resources API Documentation

Returns the table identified by tableId for the given environment.

GET {{baseUrl}}/session/tables/:tableId?view=name,createtime&sort=createtime asc&env=P&suppress_response_codes=in adipisicing

The Table Resource pertains to a specific table from the set of available tables on the server.

 

Body PARAM

Key Datatype Required Description 
view
string Fields or properties to return. **Syntax:** ?view=<:view-name | comma-delim-field-list> **Note:** A view is followed by either a view name preceded by a colon or a list of fields. These are mutually exclusive. Two predefined views are provided - ":all" and ":default". Both of these are equivalent and will return all columns for the data. If this query parameter is not provided, then the result will include all column data.
sort
string Used to sort the result. **Syntax:** ?sort=<field [desc | asc]>[,REPEATABLE] **Note:** Sort is followed by a comma-separated list of fields and each field can have an optional sort order separated by a space. If the sort order is not specified, then the default sort order is ASC. If this query parameter is not provided at all, then the result will be sorted based on its first column in ascending order.
env
string
suppress_response_codes
string This can be left without an assignment or you can use itself, suppress_response_codes=suppress_response_codes



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "returnStatus": { "status": 200, "code": "OK0000", "message": "", "server": "WS-S60ef74551ec74116b91f94e491d1d0edIS" }, "id": "https://{host}/cp-rest/v2/session/tables/exportprofiles", "title": "ExportProfile", "updated": "2016-10-11T23:01:20.5166678Z", "_links": { "self": { "href": "https://{host}/cp-rest/v2/session/tables/exportprofiles?env=D" } }, "content": { "id": "exportprofiles", "tableName": "ExportProfile", "env": "D", "fieldNames": [ "Id", "Name", "Category", "LastUpdate", "Env", "HasImage" ], "rows": [ [ "exportprofile-create_pdf_documents", "Create PDF Documents", "ExportProfile", "2016-06-03T00:18:32.9142549Z", "D", false ], [ "exportprofile-newloanapplication", "NewLoanApplication", "ExportProfile", "2016-05-17T17:10:39.8837938Z", "D", false ], [ "exportprofile-sample_advanced_recognition_demo", "Sample Advanced Recognition Demo", "ExportProfile", "2016-09-24T00:32:28.5453643Z", "D", false ] ] } }



Curl
curl -X GET 'https://capture.ot2.opentext.com/cp-rest/v2/session/tables/:tableId?view=name,createtime&sort=createtime asc&env=P&suppress_response_codes=in adipisicing?view=name,createtime&sort=createtime asc&env=P&suppress_response_codes=in adipisicing'

ENDPOINTS