Get a collection of rows by the filter criteria
Returns a collection of rows when a application/vnd.sas.data.row.set.criteria resource is provided in the body of the request. Standard paging options are provided. Sorting is 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 for pagination in a consistent manner.
1{2 "version": 1,3 "cells": [4 "Acura",5 "MDX",6 "SUV",7 "$46,945",8 "17",9 "23"10 ],11 "links": [12 {13 "method": "GET",14 "rel": "up",15 "href": "/rowSets/tables/cas~fs~cas-shared-default~fs~MYCASLIB~fs~CARS/rows",16 "uri": "/rowSets/tables/cas~fs~cas-shared-default~fs~MYCASLIB~fs~CARS/rows",17 "type": "application/vnd.sas.collection",18 "itemType": "application/vnd.sas.data.row"19 }20 ]21}
| Name | Type | Required | Description |
|---|---|---|---|
tableId | string | true | The ID of the table. Its format is 'providerId
|
| Name | Type | Required | Description |
|---|---|---|---|
excludeItemLinks | boolean | false | Excludes the links from this collection's items. Defaults to true. |
includeIndex | boolean | false | Includes the row index as the first item in the row data. Defaults to 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 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, 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. If set to false or not specified, the session is deleted after the request is complete. Defaults to false. |
sessionId | string | false | The unique identifier of the session that is used to access the data service provider's backing service. When this parameter is not specified, the data service provider creates a temporary session and then destroys it after the request is complete. If this parameter is specified, all returned links, except the "self" link, 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 the returned rows of data. The rows sorted by any valid column name. The default sort order is ascending by row order (i.e. index). Examples:
|
start | integer<int32> | false | Pagination parameter, which specifies the starting index. Default: 0 |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 201 | Created | Created. The requested row has both been created. | Headers | Schema |
| 400 | Bad Request | The request was invalid. The error might occur in one of the following scenarios:
| Schema | |
| 404 | Not Found | No resource exists at the requested path. The table could not be found at the requested path. | Schema |