Retry Export of a Resource

Retry Export of a Resource

POST https://api.ocamba.com/v1/hood/exports/{id}/retry
Used for retrying of export of a resource

Note
The ID path parameter is the ID of the download center record that should be retried for export. The path parameters that the user has inserted in the initial request will be used for the retry request also. Similar to the export endpoint, this too responds with the metadata of a long running operation. A successfully created export will appear within the download center records.

Rate limits:

  • Burst: 10/s
  • Steady: 150/m

Path parameters

parameters

Response schemas

curl -X POST \
 "https://api.ocamba.com/v1/hood/exports/{id}/retry" \
  -H "Authorization: Bearer {TOKEN}"
const url = 'https://api.ocamba.com/v1/hood/exports/{id}/retry';
const options = {
  method: 'POST',
  headers: {
    Authorization: `Bearer {TOKEN}`
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
$ch = curl_init("https://api.ocamba.com/v1/hood/exports/{id}/retry");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
  "Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);

Responses

202 Accepted

{
  "id": "0f0ad209-af98-4b29-b710-39d2353b66c6",
  "company_id": "6197120",
  "member_id": "1000223",
  "name": "quick-report-export",
  "status": "running",
  "start_time": "2025-07-28 08:00:35"
}

400 Bad Request

{
  "code": 400,
  "title": "Bad request.",
  "message": "The request is not valid.",
  "trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}

500 Internal Server Error

{
  "code": 500,
  "title": "Internal server error.",
  "trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
Responses