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

NameDescriptionTypeAdditional 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

Sample:
{
  "package_id": "38e1488f-1214-4f56-b174-18fd7bd5930f",
  "load_id": "80d48bd6-f958-4872-931a-c7ba17b2bc9f",
  "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-04-06T03:12:47.6587832+02:00",
  "date_processing": "2024-04-06T03:12:47.6587832+02:00",
  "ontology": "sample string 8",
  "comprimido": true,
  "isLast": true
}

Response Information

Resource Description

DescriptionType

True if the package is load to the sql table

Boolean

Response Formats

application/json, text/json

Sample:
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...