Get a row set by the filter criteria
Returns a paginated collection of rows and their cell's corresponding columns. Standard paging options are provided. Sorting and filtering options are provider dependent, but the default sort order is ascending by row order (i.e. index). If the provider has naturally unordered row data, it must allow pagination in a consistent manner.
1{2 "count": 6048,3 "start": 0,4 "limit": 10,5 "columnDetail": "names",6 "columnStart": 0,7 "columnLimit": 25,8 "rows": [9 [10 "Private flight",11 "N",12 "United States"13 ],14 [15 "135 Airways",16 "N",17 "United States"18 ],19 [20 "1Time Airline",21 "N",22 "South Africa"23 ],24 [25 "2 Sqn No 1 Elementary Flying Training School",26 "N",27 "United Kingdom"28 ],29 [30 "213 Flight Unit",31 "N",32 "Russia"33 ],34 [35 "223 Flight Unit State Airline",36 "N",37 "Russia"38 ],39 [40 "224th Flight Unit",41 "N",42 "Russia"43 ],44 [45 "247 Jet Ltd",46 "N",47 "United Kingdom"48 ],49 [50 "3D Aviation",51 "N",52 "United States"53 ],54 [55 "40-Mile Air",56 "N",57 "United States"58 ]59 ],60 "columns": [61 "NAME",62 "ALIAS",63 "COUNTRY"64 ],65 "version": 1,66 "links": [67 {68 "method": "GET",69 "rel": "rowSet",70 "uri": "/rowSets/tables/cas~fs~cas-shared-default~fs~MYCASLIB~fs~AIRLINES/rowSet",71 "href": "/rowSets/tables/cas~fs~cas-shared-default~fs~MYCASLIB~fs~AIRLINES/rowSet",72 "type": "application/vnd.sas.data.row.set"73 },74 {75 "method": "GET",76 "rel": "self",77 "uri": "/rowSets/tables/cas~fs~cas-shared-default~fs~MYCASLIB~fs~AIRLINES/rowSet?start=0&limit=10&includeColumns=NAME,ALIAS,COUNTRY",78 "href": "/rowSets/tables/cas~fs~cas-shared-default~fs~MYCASLIB~fs~AIRLINES/rowSet?start=0&limit=10&includeColumns=NAME,ALIAS,COUNTRY",79 "type": "application/vnd.sas.data.row.set"80 },81 {82 "method": "GET",83 "rel": "first",84 "uri": "/rowSets/tables/cas~fs~cas-shared-default~fs~MYCASLIB~fs~AIRLINES/rowSet?start=0&limit=10&includeColumns=NAME,ALIAS,COUNTRY",85 "href": "/rowSets/tables/cas~fs~cas-shared-default~fs~MYCASLIB~fs~AIRLINES/rowSet?start=0&limit=10&includeColumns=NAME,ALIAS,COUNTRY",86 "type": "application/vnd.sas.data.row.set"87 },88 {89 "method": "GET",90 "rel": "next",91 "uri": "/rowSets/tables/cas~fs~cas-shared-default~fs~MYCASLIB~fs~AIRLINES/rowSet?start=10&limit=10&includeColumns=NAME,ALIAS,COUNTRY",92 "href": "/rowSets/tables/cas~fs~cas-shared-default~fs~MYCASLIB~fs~AIRLINES/rowSet?start=10&limit=10&includeColumns=NAME,ALIAS,COUNTRY",93 "type": "application/vnd.sas.data.row.set"94 },95 {96 "method": "GET",97 "rel": "last",98 "uri": "/rowSets/tables/cas~fs~cas-shared-default~fs~MYCASLIB~fs~AIRLINES/rowSet?start=6040&limit=10&includeColumns=NAME,ALIAS,COUNTRY",99 "href": "/rowSets/tables/cas~fs~cas-shared-default~fs~MYCASLIB~fs~AIRLINES/rowSet?start=6040&limit=10&includeColumns=NAME,ALIAS,COUNTRY",100 "type": "application/vnd.sas.data.row.set"101 },102 {103 "method": "GET",104 "rel": "up",105 "uri": "/dataTables/dataSources/cas~fs~cas-shared-default~fs~MYCASLIB/tables/AIRLINES",106 "href": "/dataTables/dataSources/cas~fs~cas-shared-default~fs~MYCASLIB/tables/AIRLINES",107 "type": "application/vnd.sas.data.table"108 }109 ]110}
| Name | Type | Required | Description |
|---|---|---|---|
tableId | string | true | The ID of the table. Its format is 'providerId
|
| Name | Type | Required | Description |
|---|---|---|---|
columnDetail | string | false | The desired column representation. The columnDetail options listed below yield the following in the columns member.
Allowed values: summarydetailnames |
columnLimit | integer | false | Maximum number of cells per row and columns to return in this page of results. The number of returned columns might be less if the collection has been exhausted. Defaults to 25. |
columnSortBy | string<sort-criteria> | false | The sorting criteria for returned columns and cells of data. The columns can be sorted by any valid column name. The default sort order is ascending by column index. Some sample sorts: Examples:
|
columnStart | integer | false | The starting index of the first column in a page. The default value is "0". |
format | boolean | false | Whether or not to format the cells of data. Defaults to true. |
includeColumns | string | false | Includes the row index as the first item in the row data. The default value is "false". |
limit | integer<int32> | false | Pagination parameter, which specifies how many items to return. Default: 10 |
preserveSession | boolean | false | This parameter has effect only if the sessionId query parameter is not specified. If this is set to true and no sessionId is provided, the session created by the data service provider is not destroyed. 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 will be destroyed after the request is complete. Defaults to 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 will create a temporary session, and then destroy it after the request is complete. If this is specified all returned links, except the "self" link, will have the sessionId query parameter added to their respective URIs. Also, they will contain an additional session link to the application/vnd.sas.data.session resource that corresponds to the provided sessionId. |
sortBy | string<sort-criteria> | false | The sorting criteria for returned rows of data. The rows can be sorted by any valid column name. The default sort order is ascending by row order (i.e. index). Some sample sorts: Examples:
|
start | integer<int32> | false | Pagination parameter, which specifies the starting index. Default: 0 |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. | Schema | |
| 400 | Bad Request | The request was invalid. An invalid request was made in one of the following scenarios:
| Schema | |
| 404 | Not Found | No resource exists at the requested path. The table that is associated with these rows does not exist. | Schema |