Easymailing
Batch operations

Refresh the batch results link

PUT /batch_operations/{uuid}/actions/regenerate_response_body_url

PUT/batch_operations/{uuid}/actions/regenerate_response_body_url

Returns the batch with a fresh download address for the file with the answers of its calls, creating the file if it does not exist yet.

When to use: When the previous address (valid 15 minutes) has expired and you need to download the results again.

When not to use: To follow progress use get_batch_operation.

Permissions: No specific permission.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the batch. Get it with list_batch_operations, or from the response of create_batch_operation.

Response Body

application/problem+json

application/problem+json

curl -X PUT "https://api.easymailing.com/batch_operations/9c5f2b18-7d34-4a61-b0e9-1f6a8d3c4e72/actions/regenerate_response_body_url" \  -H "X-Auth-Token: YOUR_API_KEY"
{  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "id": 0,  "operations": [    "/entity/1"  ],  "status": "pending",  "total": 0,  "finished": 0,  "errored": 0,  "finished_at": "string",  "response_body_url": "http://example.com"}