POST resource/create-massive-load

Creates a new massive data load

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
load_id

Load identifier

globally unique identifier

Optional

name

Load name

string

Optional

state

State of the data load

integer

Optional

date_create

Date creation of the data load

date

Optional

project_id

Project identifier

globally unique identifier

Optional

identity_id

Identity identifier

globally unique identifier

Optional

community_name

Short name of the community

string

Optional

Request Formats

application/json, text/json

Sample:
{
  "load_id": "38804018-ea56-4df5-8402-0c703ef7fa3e",
  "name": "sample string 2",
  "state": 3,
  "date_create": "2024-11-20T08:05:08.5610607+01:00",
  "project_id": "d465481e-d4f7-47bd-be35-7032ff76ca92",
  "identity_id": "75412d26-9b88-4be7-b8b8-c03b3746f83c",
  "community_name": "sample string 7"
}

Response Information

Resource Description

DescriptionType

True if the load is added 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...