Web API Core | ComponentOne
Services / Data Engine Services / Raw Data
In This Topic
    Raw Data
    In This Topic

    Raw Data service provides API to access the raw data of the data source. This service is not supported when you are connected to cube data. Your client application sends an HTTP request to the service application for using the Raw Data API to get the raw data of the data source.

    Raw Data Service Request Schema

    To view raw data from a data source, you need to use GET method. Data source information specified in the request URL, as:

    GET: http://<host>[:port]/api/dataengine/{datasourcekey}/?[skip=n&top=m]

    Data source information can be specified in the request URL, as follows:

    Request URL: https://demos.componentone.com/ASPNET/5/C1WebAPI/3.0.20193.222/api/dataengine/complex10?top=10
    Status Code: 200
    

    URL Parameters

    Raw Data service include following parameters.

    Parameter Description
    datasourcekey Used to specify the data source from where you want to get the field information.
    Skip A positive integer value to specify the start index of the whole raw data. If not set, then returns the entries from the first one.
    Top A positive integer value to specify the count of the returned raw data. If not set, then returns all entries starting with the skip value.

    Response Messages

    HTTP Status Code Reason
    200 An IRawData object is returned to specify the raw data result information. It includes two items: an array for the raw data and a number value for the total count of all the raw data without paging.
    404 {datasource} is invalid.

    For more information on Data Engine Services, see WebApiExplorer demo.