3.1.5.1.1 GetData

This operation fetches a subset of rows from a Source (section 3.1.1), which is passed in as SelectCommand element of SharedDataBaseInfo (section 2.2.1.12).

This operation is transported by an HTTP POST.

The serviceName as specified in section 3.1.5.1 MUST be "GetData".

The operation can be invoked through the following URI:

 http://www.example.com/Repository/_vti_bin/accsvc/accessportal.json/GetData.

During this operation, the protocol server receives a JSON request that contains the SharedDataBaseInfo (section 2.2.1.12) and PagingInfo (section 2.2.1.7) objects. The protocol server then processes the request, and then responds with a JSON response that contains ServiceResult (section 2.2.1.11). The Values element of RecordSet (section 2.2.1.9), which is returned as Result element of the ServiceResult contains the rows of data which protocol client had requested.

In the event of an application error on the protocol server during this operation, the ServiceError, as specified in section 2.2.1.10, MUST be present in ServiceResult (section 2.2.1.11).

The processing details for this operation are specified by section 3.1.5.1.1.3.