POST resource/create-massive-load-package
Creates a new massive data load package
Request Information
Headers
HTTP_AUTHORIZATION: Required. OAuth 1.0 parameters with the OAuth signature of the url you are going to request. The consumer keys and access token can be obtained from the community administration.
Sample:HTTP_AUTHORIZATION: OAuth oauth_token="CObXqjfOisVh9%2F2GjC7NNd8BCzY%3D", oauth_consumer_key="clGACsiGaMp%2FD%2BUwkSvRBxA1k50%3D", oauth_nonce="VqKza6d5x1HpPQWFe08spbdOnkTQpfaLfD9Oeuyg", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1462882011", oauth_signature="RH5aKKKJaEvK5cIsZZzXtFh7cCk%3D"
Body Parameters
Name | Description | Type | Additional information |
---|---|---|---|
package_id |
Package identifier |
globally unique identifier |
Optional |
load_id |
Load identifier |
globally unique identifier |
Optional |
ontology_rute |
Ontology file rute |
string |
Optional |
search_rute |
Search graph file rute |
string |
Optional |
sql_rute |
SQL file rute |
string |
Optional |
ontology_bytes |
Ontology file bytes |
Collection of byte |
Optional |
search_bytes |
Search graph file bytes |
Collection of byte |
Optional |
sql_bytes |
SQL file bytes |
Collection of byte |
Optional |
state |
State of the package |
integer |
Optional |
error |
Error in processing the package |
string |
Optional |
date_creation |
Date of creation the package |
date |
Optional |
date_processing |
Date when the package is processed. |
date |
Optional |
ontology |
Ontology name |
string |
Optional |
comprimido |
The data is compress |
boolean |
Optional |
isLast |
Is the last package |
boolean |
Optional |
Request Formats
application/json, text/json
{ "package_id": "d288b221-6e7c-41a7-b19a-b6189bc13fdb", "load_id": "2877597c-d682-4354-a095-b79a9cfb1e23", "ontology_rute": "sample string 3", "search_rute": "sample string 4", "sql_rute": "sample string 5", "ontology_bytes": "QEA=", "search_bytes": "QEA=", "sql_bytes": "QEA=", "state": 6, "error": "sample string 7", "date_creation": "2024-11-20T16:38:45.3845251+01:00", "date_processing": "2024-11-20T16:38:45.3845251+01:00", "ontology": "sample string 8", "comprimido": true, "isLast": true }
Response Information
Resource Description
Description | Type |
---|---|
True if the package is load to the sql table |
Boolean |
Response Formats
application/json, text/json
true
Response HTTP status code
On success, the response contains 200 code.
On fail, throws a WebException with code:
- 401 Unauthorized if the OAuth signature is invalid
- 400 Bad Request if the params are invalid
- 500 Internal server error if something goes wrong...