Get a column
Returns information about a single column based on its unique name.
1{2 "name": "MSRP",3 "type": "double",4 "index": 3,5 "rawLength": 8,6 "formattedLength": 8,7 "version": 2,8 "format": {9 "name": "DOLLAR",10 "length": 8,11 "decimals": 012 },13 "informat": {14 "length": 0,15 "decimals": 016 },17 "links": [18 {19 "method": "GET",20 "rel": "self",21 "href": "/dataTables/dataSources/cas~cas-shared-default~fs~MYCASLIB/tables/AIRLINES/columns/MSRP",22 "uri": "/dataTables/dataSources/cas~cas-shared-default~fs~MYCASLIB/tables/AIRLINES/columns/MSRP",23 "type": "application/vnd.sas.data.column"24 },25 {26 "method": "GET",27 "rel": "alternate",28 "href": "/dataTables/dataSources/cas~cas-shared-default~fs~MYCASLIB/tables/AIRLINES/columns/MSRP",29 "uri": "/dataTables/dataSources/cas~cas-shared-default~fs~MYCASLIB/tables/AIRLINES/columns/MSRP",30 "type": "application/vnd.sas.data.column.summary"31 },32 {33 "method": "GET",34 "rel": "up",35 "href": "/dataTables/dataSources/cas~cas-shared-default~fs~MYCASLIB/tables/AIRLINES/columns",36 "uri": "/dataTables/dataTableProviders/cas~cas-shared-default~fs~MYCASLIB/tables/AIRLINES/columns",37 "type": "application/vnd.sas.collection",38 "itemType": "application/vnd.sas.data.column"39 }40 ]41}
Name | Type | Required | Description |
---|---|---|---|
columnId | string | true | The URL encoded (i.e. Percent encoded) form of the column's name. |
dataSourceId | string | true | The name of the data source. Its format is providerId |
tableId | string | true | The URL encoded (i.e. Percent encoded) form of the table's name. |
Name | Type | Required | Description |
---|---|---|---|
preserveSession | boolean | false | This has effect only when the sessionId query parameter is not specified. If this is set to true, no sessionId is provided, the session created by the data service provider is not be terminated. All returned links, except the "self" link, have the sessionId query parameter added to their respective URIs. Also, they contain an additional session link to the application/vnd.sas.data.session resource that corresponds to the provided sessionId. If set to false, or not specified, the session is be terminated after the request is complete. The default is false. |
sessionId | string | false | The unique identifier of the session used to access the data service provider's backing service. When this is not specified, the data service provider creates a temporary session, and then terminates it after the request is complete. If this is specified, all returned links, except the "self" link, have the sessionId query parameter added to their respective URIs. Also, they contain an additional session link to the application/vnd.sas.data.session resource that corresponds to the provided sessionId. |