登录

Cancel a request

Cancel a request to export raw data.

Input data

GET https://tracker.my.com/api/raw/v1/export/cancel.json

Parameters

Name Value Description
idRawExport * Integer Unique export identifier, received
in response to a successfully created request

* — required parameters

Example query

/api/raw/v1/export/cancel.json?idRawExport=4

Responses

Success

A 200 status code indicates success. It will include information on export.

{
  "code": 200,
  "message": "Ok",
  "data": {
    "idRawExport": "4",
    "info": "Canceled"
  }
}

Errors

  • A 404 status code indicates that the request is unavailable or could not be found.

    {
      "code": 404,
      "message": "Not Found",
      "data": {
        "error": {
          "detail": "Raw export request not found"
        }
      }
    }
  • A 400 status code indicates that the request is complete, and you cannot cancel it

    {
      "code": 400,
      "message": "Bad Request",
      "data": {
        "error": {
          "detail": "This RawExport can not be cancel (it's completed)"
        }
      }
    }
  • A 400 status code indicates that the request in progress but you cannot cancel it

    {
      "code": 400,
      "message": "Bad Request",
      "data": {
        "error": {
          "detail": "This RawExport can not be cancel"
        }
      }
    }

Restrictions

A 403 status code indicates that the method needs authorization. Maybe you made mistakes or forgot to send authorization data.

{
  "code": 403,
  "message": "Access denied",
  "data": null
}
Was this article helpful?
    Sorry, the translation has not been completed yet