Complete

Description

The /dataset-complete endpoint is designed to signal the end of the dataset insertion process. Once all batches have been inserted via the /dataset-fill endpoint, this method should be called to trigger the final dataset shape calculation and any other necessary post-processing steps.

Parameters

  • user-code (string): Unique code identifying the user.

  • dataset-code (string): A unique code for the dataset, if pre-defined.

Indicate end of dataset insertion

To populate a dataset, follow these steps:

  1. Make a POST request to /dataset-complete with the required parameters in the request body.

  2. Include the user-code and dataset-code to identify the dataset and the user making the request.

Example Usage

For example, making a POST with following header included into request with the provided JSON body would result in the response below:

Header

POST /dataset-complete
Authorization: Bearer YOUR-TENANT-TOKEN

Request

{ 
"user-code": "0f02b4d4f9ae", 
"dataset-code": " a49932c0f135"
 }

Response

{
    "data": {
        "status": "success",
        "details": {
            "dataset-code": "a49932c0f135",
            "rows-count": 542289
        }
    }
}

Last updated