NAME
Twilio::Rest::Bulkexports::V1::Export::Job - The Job resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $job = $client->bulkexports->v1->exports->jobs($job_sid)->fetch;
$client->bulkexports->v1->exports->jobs($job_sid)->delete;
DESCRIPTION
This file holds JobList, JobContext and JobInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
JobList
Returned by $client->bulkexports->v1->exports->jobs. See also Twilio::ListResource.
get_context
my $context = $client->bulkexports->v1->exports->jobs->get_context($job_sid);
Returns a JobContext, and makes no request.
JobContext
Returned by $client->bulkexports->v1->exports->jobs($job_sid). It makes no request until one of these methods is called.
fetch
my $job = $client->bulkexports->v1->exports->jobs($job_sid)->fetch;
Returns a JobInstance.
delete
$client->bulkexports->v1->exports->jobs($job_sid)->delete;
Returns true.
JobInstance
See also Twilio::InstanceResource.
It has fetch and delete, which work as they do on the context.
Its fields are:
- details
-
The details of a job which is an object that contains an array of status grouped by
statusstate. Eachstatusobject has astatusstring, a count which is the number of days in thatstatus, and list of days in thatstatus. The day strings are in the format yyyy-MM-dd. As an example, a currently running job may have a status object for COMPLETED and astatusobject for SUBMITTED each with its own count and list of days. -
The optional email to send the completion notification to
- end_day
-
The end time for the export specified when creating the job
- estimated_completion_time
-
this is the time estimated until your job is complete. This is calculated each time you request the job list. The time is calculated based on the current rate of job completion (which may vary) and your job queue position
- friendly_name
-
The friendly name specified when creating the job
- job_queue_position
-
This is the job position from the 1st in line. Your queue position will never increase. As jobs ahead of yours in the queue are processed, the queue position number will decrease
- job_sid
-
The job_sid returned when the export was created
- resource_type
-
The type of communication – Messages, Calls, Conferences, and Participants
- start_day
-
The start time for the export specified when creating the job
- url
-
No description in the specification.
- webhook_method
-
This is the method used to call the webhook
- webhook_url
-
The optional webhook url called on completion
CONSTRUCTORS
new
Objects here come from the methods above, so there is no need to call new directly.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.