POST resource/load-state
Return load state
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 |
---|---|---|---|
pLoadId |
Load id |
Guid |
Required |
Request Formats
application/json, text/json
Sample:
"e1cfd41d-8bda-4b1c-8983-ace0db1096dc"
Response Information
Resource Description
Name | Description | Type | Additional information |
---|---|---|---|
Cerrado | boolean |
Optional |
|
EstadoCarga | EstadoCarga |
Optional |
|
NumPaquetesPendientes | integer |
Optional |
|
NumPaquetesCorrectos | integer |
Optional |
|
NumPaquetesErroneos | integer |
Optional |
Response Formats
application/json, text/json
Sample:
{ "Cerrado": true, "EstadoCarga": 0, "NumPaquetesPendientes": 2, "NumPaquetesCorrectos": 3, "NumPaquetesErroneos": 4 }
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...