Cancel a request

Cancel a request to export raw data.

Input data

Endpoint

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

Method

GET

Parameters

Name Value Description
idRawExport * Integer Unique export identifier

* - required parameters

Example query

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

Responses

Success

A 200 response indicates success. It will include information on export.

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

Errors

  • A 404 response 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 response 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 response 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 response indicates that the method needs authorization. Maybe you made mistakes or forgot to send authorization data.

{
  "code": 403,
  "message": "Access denied",
  "data": null
}