job API

Introduction

Start a background job, such as a data import or export, or get its status or result.

Jobs are asynchronous: depending on their size, they may take minutes or hours to run. Using a job POST call returns a job_id. Using a job_id in a GET call, you can request the status of the posted job. In your POST call, you can also include a report email address and/or an API postback URL to be notified when the job is complete.

Endpoint URL: https://api.sailthru.com/job

Job Types

The following jobs are available.

  • blast_query – Export campaign data in .csv format.
  • blast_save_list – Query your users that received a specific campaign, and save that new segment to a new or existing natural list.
  • blast_snapshot – Query your users to see who received a specific campaign, and generate a detailed snapshot of their analytics (similar to the Snapshot Report in the Sailthru interface).
  • content_update – Create or Update content from a JSON file.
  • export_list_data – Export user data from a list in .csv format.
  • export_purchase_log – Export user data from a list in .csv format.
  • export_scheduled_sends – Download a .csv report of all currently-scheduled transactional sends.
  • import – Import a number of email addresses into a natural list.
  • list_erase – Delete one or more lists by name.
  • snapshot – Query your users and generate a detailed snapshot of their analytics (similar to the Snapshot Report in the Sailthru interface).
  • update – Perform a bulk update of any number of user profiles. You can use this to generate a list for any user matching a query, opt out a large list of email addresses, add a variable to a group of users, and more.
  • purchase_import – Updates historical purchase data

You’ll specify one of the above as the  job  parameter. Each job requires and supports its own set of additional parameters.

In addition, there are two optional parameters for receiving job POST call results:

  • report_email – An email address to receive job-completion results. It is recommended that you include this with all requests, and consider using an alias for a group/distribution list that would alert multiple users within your company to any issues or errors.
  • postback_url – A URL that receives a job-completion results (i.e. the same data from a job GET call), with two additional parameters that are provided by Sailthru – your api_key and the unique  sig for the request, so that the it can optionally be verified as a legitimate Sailthru request.

How it Works

When you submit a POST to the job API, you are making a request for a job to be undertaken. These jobs are not instantaneous and are submitted to a job queue for processing. Thus, the response from a job POST will usually contain an initial status of “pending” along with a job_id and an automatically generated name for the job.

{
    "job_id" : "582e31cd3c8aa9d6278b4567",
    "name" : "List Import: empty list",
    "status" : "pending"
}

You can use the GET call (see below) to obtain an update on the status, as shown below in the example response. If the job has not yet commenced execution, the status will still be listed as “pending”.  A job that begun execution is show with a “running” status, and a completed job is shown as “completed”. For example:

{
   "_id" : ObjectId('4fc7f24a6a44a14b0b0001f1'),
   "class" : "Sail_Job_ListErase",
   "client_id" : 3386,
   "create_time" : new Date('Thu, May 31 2016, 6:35 pm EDT'),
   "create_user" : "example@sailthru.com",
   "job_id" : null,
   "list" : "Sample List",
   "postback_url" : null,
   "queue_time" : new Date('Thu, May 31 2016, 6:35 pm EDT'),
   "remove_count" : 1,
   "report_email" : null,
   "start_time" : new Date('Thu, May 31 2016, 6:36 pm EDT'),
   "stop_time" : new Date('Thu, May 31 2016, 6:36 pm EDT'),
   "time" : 0,
   "status" : "completed"
}

For export jobs, this completed response will include a filename parameter and an export_url that you can use to retrieve the requested CSV file.

If a job terminates without successful completion it will have the status “incomplete”.

Due to this behavior, the responses documented on this page will be those containing the completed status, not the immediately returned pending status.

Universal Job Parameters

GET Mode

Required Parameters

Parameter Description
job_id A job’s unique identification

Response Parameters

Parameter Description
status A job’s status: completed, pending, or error
name A job’s name
start_time A job’s start date and time; this field may not be available if job has not started
end_time A job’s end date and time; this field will not be available if job is not completed

POST Mode

Required Parameters

Parameter Description
job Job type. (See Job Parameter Value table.)

Optional Parameters

Parameter Description
report_email Email that receives a short report upon job completion
postback_url A URL that receives a job-completion results (i.e. the same data from a job GET call), with two additional parameters: api_key and sig, so that the request can be optionally verified as a legitimate Sailthru request

Job Parameter Values

Submit one as the job value to indicate the job type. Then, include the additional parameters required by that job type.

Value Description Additional Parameters for Job Type
ad_inventory Review your available Audience Builder advanced inventory over a date range. Parameters
blast_query Export campaign data in .csv format. Parameters
blast_save_list Query your users that received a specific campaign, and save that new segment to a new or existing natural list. Parameters
blast_snapshot Query your users to see who received a specific campaign, and generate a detailed snapshot of their analytics (similar to the Snapshot Report in the Sailthru interface). Parameters
content_update Create or Update content from a JSON file. Parameters
export_list_data Export user data from a list in .csv format. Parameters
export_purchase_log Export user data from a list in .csv format. Parameters
export_scheduled_sends Download a .csv report of all currently-scheduled transactional sends. No additional parameters are required N/A
import Import a number of email addresses into a natural list. Parameters
list_erase Delete one or more lists by name. Format:{ "job" : "list_erase", "lists" : [ "list1 name", "list2 name" ] }If a list is being used for a scheduled or sending campaign, it will not be deleted. The job report will show all lists that were successfully deleted, not deleted because they were in use, and not deleted because there was no matching list name. N/A
purchase_import Update historical purchase data. Parameters
snapshot Query your users and generate a detailed snapshot of their analytics (similar to the Snapshot Report in the Sailthru interface). Parameters
update Perform a bulk update of any number of user profiles. You can use this to generate a list for any user matching a query, opt out a large list of email addresses, add a variable to a group of users, and more.

  • If you want to apply the same update to all of the users specified, you should pass the update parameter.
  • You must pass one of the required parameters, but not more than one: emails, url, file, or query
Parameters

 

Job-Specifc Parameters

blast_query

Type Parameter Description Example
Required for job type blast_id A valid blast identification Example
Return for job type export_url A URL pointing to the exported data. The link expires after 24 hours.

  • The exported URL contains PII hashed data for users’ email addresses. Extid values are unencrypted. To obtain unencrypted email addresses, perform an export in my.sailthru with SMS verification.
  • For export jobs, export_url will return if the job is completed and not expired. If the job is expired, expired field with value true will return.
Example
Return for job type filename The generated file name Example

 

blast_save_list

Type Parameter Description Example
Required for job blast_id Identification of the blast you wish to take a snapshot of Example
Required for job query A query or search
Queries In The API
Example
Required for job list The name of the list to add users to (if it does not exist, it will be created)

  • Querying a list is not required, since you are already querying the blast itself
Example
Optional for job report_email Receive an email notification when a job is complete
job Examples
Example

 

blast_snapshot

Type Parameter Description Example
Required for job query A query or search
Queries In The API
Example
Required for job blast_id A valid blast identification Example
Return for job stats Data structure containing the results of the snapshot N/A

 

content_update

Type Parameter Description Example
Required for job file Text file with one JSON object per line, each representing a valid Content API call. Each line requires a URL. All optional parameters are supported, including inventory. Example

 

export_purchase_log

Type Parameter Description Example
Required for job start_date Purchase report’s start date

  • start_date and end_date‘s format: yyyymmdd. Example: 20150115
  • The range between start_date and end_date cannot exceed 31 days
Example
Required for job end_date Purchase report’s end date Example

 

export_list_data

Type Parameter Description Example
Required for job list Name of the list to export Example
Optional for job fields The field(s) of data to export.
Note:

  • The exported URL contains PII hashed data. Using the fields parameter limits the .csv export to those specific fields (in addition to Profile ID and Email Hash).
  • Valid fields values:
    • clicks
    • domain
    • email_message
    • email_status
    • email_status_time
    • engagement
    • first_purchase_time
    • geolocation_city
    • geolocation_country
    • geolocation_state
    • geolocation_zip
    • largest_purchase_item_price
    • last_click
    • last_open
    • last_pageview
    • last_purchase_time
    • lifetime_message
    • lists
    • list_signup
    • opens
    • optout_time
    • pageviews
    • profile_created_date
    • purchase_count
    • purchase_incomplete
    • purchase_price
    • signup
    • top_device
    • vars
Example

 

import

Type Parameter Description Example
Required for job list The name of the list to import to (if it does not exist, it will be created).

  • In addition to list, you must pass one of the following parameters, but not all three:
    • emails
    • file
    • url
Example
Required for job emails Emails to upload to the list Example
Required for job file File data to upload as a list. Note:

  • This is not a URL! File must be a .csv or text file with one email per line
  • The maximum upload file size is 1 GB
Example
Required for job url URL to pull data from Example
Optional for job signup_dates This parameter is for updating custom signup dates.

  • You must upload a .csv file with the first column titled “email,” and the second column titled “signup_date.”
  • Pass 1 or true to overwrite or set custom signup dates for existing users or new users
  • Date variables cannot be in UNIX.
  • How to set Custom Signup Dates
  • job Examples
Example

 

purchase_import

Type Parameter Description Example
Required for job file UTF-8 text file containing JSON objects.

  • The file must contain one JSON object per line (separated by hard returns, not commas)
  • Each object must match the purchase API POST format, with the following exceptions:
    • date and extid are required
    • the following parameters should not be included, as they only apply to purchases recorded in realtime: message_id, incomplete, reminder_template, send_tempate, reminder_time
  • Max file size is 1 GB
Example

 

snapshot

snapshot
Type Parameter Description Example
Required for job query A query or search
Queries In The API
Example
Return for job query Data structure containing the query N/A
Return for job snapshot Data structure containing the results of the snapshot N/A

 

update

Type Parameter Description Example
Required for job url URL to pull data from

  • If you are using the url or file parameters, then you are pulling data from a url or file. There are two different formats you can use:
    • Simple – Email address per line. This lets you perform the same update on a list of users.
    • JSON – JSON object per line. This lets you specify individual updates on a per-user basis. Each line should contain a JSON object with the email element to identify the user, and any optional parameters: vars, lists, or optout.
Example call
Example JSON file
Required for job file File data to upload

  • The maximum upload file size is 1 GB
  • If you are using the url or file parameters, then you are pulling data from a url or file. There are two different formats you can use:
    • Simple – Email address per line. This lets you perform the same update on a list of users.
    • JSON – JSON object per line. This lets you specify individual updates on a per-user basis. Each line should contain a JSON object with the email element to identify the user, and any optional parameters: vars, lists, or optout.
Example JSON file
Required for job query A query or search
Queries In The API
Example
Optional for job update[vars] The key/value hash of vars to set Example
Optional for job update[lists] The key/value hash of lists to subscribe or unsubscribe to. 1 means subscribe, and 0 means unsubscribe. Example
Optional for job update[optout] Updates a user’s optout level

  • Valid optout values:
    • blast – Opts users out of campaigns only
    • all – Opts users out of all communications
    • basic – Opts the user out of all communications except templates marked as “basic”
    • none – Opts the user back in

FURTHER INFORMATION:
User Opt-Out Levels

Example
Optional for job update[delete_vars] An array of vars to delete from user profiles

  • This process is irreversible, so proceed with caution
Example
Optional for job signup_date Use JSON to update users or a user’s signup_date. Can also be passed along with these optional parameters: vars, lists or optout. Example

Parameter Examples

GET MODE
Type Parameter
Required job_id
Example
{
    "job_id":"4dd58f036803fa3b5500000b"
}

GET MODE
Type Parameter
Return N/A
Example
{
    "job_id":"4dd58f036803fa3b5500000b",
    "name":"List Import",
    "status":"completed",
    "start_time":"Fri, 20 May 2012 13:50:28 -0400",
    "end_time":"Fri, 20 May 2012 13:55:10 -0400",
    < The remaining info depends on the job type >
}

POST MODE
Type Parameter
Required job
Example
{
    "job":<string job type>
}

POST MODE
Type Parameter
Required For ad_inventory start_date
Example
{
    "job":"ad_inventory",
    "start_date":20120901,
    "end_date":20120925
}

POST MODE
Type Parameter
Required For ad_inventory end_date
Example

POST MODE
Type Parameter
Required For blast_query blast_id
Example
{
    "job":"blast_query",
    "blast_id":190940
}

POST MODE
Type Parameter
Return For blast_query filename
Example
{
    "filename":"my-list.csv"
}

POST MODE
Type Parameter
Return For blast_query export_url
Example
{
    "export_url":"https://s3.amazonaws.com/sailthru/path/to/export"
}

POST MODE
Type Parameter
Required For blast_save_list blast_id
Example
{
    "job":"blast_save_list",
    "blast_id":123456,
    "query":
        {
            "source_list":"Main",
            "criteria":["engagement_min"],
            "engagement":[5]
        },
     "list":"Opened-Jun-15-Campaign"
}

POST MODE
Type Parameter
Required For blast_save_list query
Example
{
    "job":"blast_save_list",
    "blast_id":123456,
    "query":
        {
            "source_list":"Main",
            "criteria":["engagement_min"],
            "engagement":[5]
        },
     "list":"Opened-Jun-15-Campaign"
}

POST MODE
Type Parameter
Required For blast_save_list list
Example
{
    "job":"blast_save_list",
    "blast_id":123456,
    "query":
        {
            "source_list":"Main",
            "criteria":["engagement_min"],
            "engagement":[5]
        },
     "list":"Opened-Jun-15-Campaign"
}

POST MODE
Type Parameter
Optional For blast_save_list report_email
Example
{
    "job":"blast_save_list",
    "query":
        {
            "source_list":"Main",
            "criteria":["engagement_min"],
            "engagement":[5]
        }     
    "list":"Opened-Jun-15-Campaign",
    "report_email":"example@sailthru.com"
}

POST MODE
Type Parameter
Required For blast_snapshot query
Example

POST MODE
Type Parameter
Required For blast_snapshot blast_id
Example
{
    "job":"blast_snapshot",
    "query":
        {
            "source_list":"Main",
            "criteria":["engagement_min"],
            "engagement":[5]
        },
    "blast_id":190940
}

POST MODE
Type Parameter
Required For content_update file
Example
Call
{
    "job":"content_update",
    "file":"/tmp/file.txt"
}
File content
 {"url":"https://example.com/1234/water_bottle" }
 {"url":"https://example.com/1234/water_bottle-outdoor", "inventory":47}
 {"url":"https://example.com/1234/water_bottle-sport", "title":"Sports Water Bottle","description":"A water bottle designed for athletes"}

POST MODE
Type Parameter
Required For export_list_data list
Example
{
    "job":"export_list_data",
    "list":"MyUsers"
}

POST MODE
Type Parameter
Optional For export_list_data fields
Example
{
    "job":"export_list_data",
    "list":"MyUsers",
    "fields":
        {
            "opens":1,
            "vars":
                {
                    "userId":1,
                    "user_type":1
                }
        }
}

POST MODE
Type Parameter
Required For export_purchase_log start_date, end_date
Example
{
    "job":"export_purchase_log",
    "start_date":20120131,
    "end_date":20120131
}

POST MODE
Type Parameter
Required For import list
Example
{
    "job":"import",
    "list":"My List"
}

POST MODE
Type Parameter
Required For import emails
Example
{
    "job":"import",
    "list":"My List",
    "emails":
        "example1@sailthru.com,example2@sailthru.com,example3@sailthru.com"
}

POST MODE
Type Parameter
Required For import file
Example
{
    "job":"import",
    "list":"My List",
    "file":".../Users/myusername/Documents/myfile.csv"
}

POST MODE
Type Parameter
Required For import url
Example
{
    "job":"import",
    "list":"My List",
    "url":"https://www.example.com/feed/ourfeed"
}

POST MODE
Type Parameter
Optional For import signup_dates
Example
{
    "job":"import",
    "list":"My List",
    "url":"https://www.example.com/feed/ourfeed"
    "signup_dates":1
}

POST MODE
Type Parameter
Required For snapshot query
Example
{
    "job":"snapshot",
    "query":
        {
            "source_list":"Main",
            "criteria":["engagement_min"],
            "engagement":[5]
        }   
}

POST MODE
Type Parameter
Required For update url
Example
{
    "job":"update",
    "url":"https://example.com"
}
See also: Bulk update JSON file example.

POST MODE
Type Parameter
Optional For update N/A
Example
Example content of JSON file for bulk update, sent with an update call or referenced by URL:

{
   "id":"user1@example.com",
   "keys":{"extid":12},
   "fields":{"keys":1},
   "vars":{"updated":"yes"},
   "lists":{"Update List":1}
}
{
   "id":"user2@example.com",
   "keys":{"extid":13},
   "fields":{"keys":1},
   "lists":{"Update List":0}
}
{
   "id":"user3@example.com",
   "keys":{"extid":14},
   "fields":{"keys":1},
   "optout":"all"
}
{
   "id":"user4@example.com",
   "signup_date":"1987-08-01"
}

Object 1: Adding a key, adding a var, adding to a list
Object 2: Adding a key, removing from a list
Object 3: Adding a key, setting status to optout all
Object 4: Setting custom signup date


POST MODE
Type Parameter
Required For update query
Example
{
    "job":"update",
    "query":
        {
            "source_list":"Main",
            "criteria":["engagement_min"],
            "engagement":[5]
        }
}

POST MODE
Type Parameter
Optional For update update[vars]
Example
{
    "job":"update",
    "query":{"source_list":"Main"},
    "update":
    {
        "vars":
        {
            "name":"Joe One",
            "company":"Example Company"
        }
    }
}

POST MODE
Type Parameter
Optional For update update[lists]
Example
{
    "job":"update",
    "query":{"source_list":"Main"},
    "update":
        {
            "lists":
                {
                    "Main-copy":1
                }
        },
}
or
{
    "job":"update",
    "query":{"source_list":"Main"},
    "update":
        {
            "email":"example1@example.com",
            "lists":
                {
                    "Main-copy":1
                }
        },
        {
            "email":"example2@example.com",
            "lists":
                {
                    "Main-copy":0
                }
        }
}

POST MODE
Type Parameter
Optional For update update[optout]
Example
{
    "job":"update",
    "query":{"source_list":"mylistname"},
    "update":{"optout":"all"}
}

POST MODE
Type Parameter
Optional For update update[delete_vars]
Example
{
    "job":"update",
    "query":
        {
            "source_list":"Main"
        },
    "update":
        {
            "delete_vars":
                [
                    "name",
                    "company"
                ]

        }
}

POST MODE
Type Parameter
Optional For update signup_date
Example
{"email":"someone@somedomain.com", "signup_date":"Jan 18, 2013"}

POST MODE
Type Parameter
Required For purchase_import file
Example
Call JSON
{
    "job":"purchase_import",
    "file":"/tmp/file.txt"
}
File Content (Supported format: one object per line)
{"email":"user1@example.com","date":"2016-06-01","purchase_keys":{"extid":"purchase101"},"items":[{"qty":1,"id":"2005","title":"T-Shirts in Black","url":"http://example.com/products/tshirts-black","price":4000,"tags":["shirts","under100","color-black"],"vars":{"sailthru_category":"clothing"},"image":"http://email-media.s3.amazonaws.com/Sailthru/default/images/stock/t-shirts.jpg"},{"qty":1,"id":"SKU1002","title":"Women's Shoes in Black and White","url":"http://example.com/products/womens-shoes-in-black","price":25000,"tags":["shoes","footwear","formalwear","womens","color-black"],"vars":{"sailthru_category":"shoes"},"image":"http://email-media.s3.amazonaws.com/Sailthru/default/images/stock/high_heels.jpg"},{"qty":2,"id":"SKU1001","title":"Men's Shoes in Black","url":"http://example.com/products/mens-shoes-in-black","price":10000,"tags":["shoes","footwear","formalwear","mens","color-black"],"vars":{"sailthru_category":"shoes"},"image":"http://email-media.s3.amazonaws.com/Sailthru/default/images/stock/black_mens_shoes.jpg"}],"vars":{"order_level_var":"abcd1234"},"adjustments":[{"price":-5000,"title":"Sale"},{"price":-2000,"title":"coupon"}]}
{"email":"user2@example.com","date":"2016-06-02","purchase_keys":{"extid":"purchase202"},"items":[{"qty":2,"id":"2005","title":"T-Shirts in Black","url":"http://example.com/products/tshirts-black","price":4999,"tags":["shirts","under100","color-black"],"vars":{"sailthru_category":"clothing","item_level_var":"promotional_item"},"image":"http://email-media.s3.amazonaws.com/Sailthru/default/images/stock/t-shirts.jpg"}],"vars":{"order_level_var":"efhg6789"},"tenders":[{"price":"9998","title":"Discover"}]}
{"email":"user3@example.com","date":"2016-06-03","purchase_keys":{"extid":"purchase303"},"items":[{"qty":1,"id":"SKU1002","title":"Women's Shoes in Black and White","url":"http://example.com/products/womens-shoes-in-black","price":24900,"tags":["shoes","footwear","formalwear","womens","color-black"],"vars":{"sailthru_category":"shoes"},"image":"http://email-media.s3.amazonaws.com/Sailthru/default/images/stock/high_heels.jpg"},{"qty":1,"title":"Men's Shoes in Black","id":"SKU1001","url":"http://example.com/products/mens-shoes-in-black","price":19999,"tags":["shoes","footwear","formalwear","mens","color-black"],"vars":{"sailthru_category":"shoes"},"image":"http://email-media.s3.amazonaws.com/Sailthru/default/images/stock/black_mens_shoes.jpg"}],"vars":{"order_level_var":"shoes_purchase"},"adjustments":[{"price":2500,"title":"Express Shipping"}]}
Click here to view the same content in an easier-viewed but unsupported format.
{
  "email": "user1@example.com",
  "date": "2016-06-01",
  "purchase_keys": {
    "extid": "purchase101"
  },
  "items": [{
    "qty": 1,
    "id":"2005",
    "title": "T-Shirts in Black",
    "url": "http://example.com/products/tshirts-black",
    "price": 4000,
    "tags": ["shirts", "under100", "color-black"],
    "vars": {
      "sailthru_category": "clothing"
    },
    "image": "http://example.com/images/stock/t-shirts.jpg"
  }, {
    "qty": 1,
    "id":"SKU1002",
    "title": "Women's Shoes in Black and White",
    "url": "http://example.com/products/womens-shoes-in-black",
    "price": 25000,
    "tags": ["shoes", "footwear", "formalwear", "womens", "color-black"],
    "vars": {
      "sailthru_category": "shoes"
    },
    "image": "http://example.com/images/stock/high_heels.jpg"
  }, {
    "qty": 2,
    "id":"SKU1001",
    "title": "Men's Shoes in Black",
    "url": "http://example.com/products/mens-shoes-in-black",
    "price": 10000,
    "tags": ["shoes", "footwear", "formalwear", "mens", "color-black"],
    "vars": {
      "sailthru_category": "shoes"
    },
    "image": "http://example.com/images/stock/black_mens_shoes.jpg"
  }],
  "vars": {
    "order_level_var": "abcd1234"
  },
  "adjustments": [{
    "price": -5000,
    "title": "Sale"
  }, {
    "price": -2000,
    "title": "coupon"
  }]
}

{
  "email": "user2@example.com",
  "date": "2016-06-02",
  "purchase_keys": {
    "extid": "purchase202"
  },
  "items": [{
    "qty": 2,
    "id":"2005",
    "title": "T-Shirts in Black",
    "url": "http://example.com/products/tshirts-black",
    "price": 4999,
    "tags": ["shirts", "under100", "color-black"],
    "vars": {
      "sailthru_category": "clothing",
      "item_level_var": "promotional_item"
    },
    "image": "http://example.com/images/stock/t-shirts.jpg"
  }],
  "vars": {
    "order_level_var": "efhg6789"
  },
  "tenders": [{
    "price": "9998",
    "title": "Discover"
  }]
}

{
  "email": "user3@example.com",
  "date": "2016-06-03",
  "purchase_keys": {
    "extid": "purchase303"
  },
  "items": [{
    "qty": 1,
    "id":"SKU1002",
    "title": "Women's Shoes in Black and White",
    "url": "http://example.com/products/womens-shoes-in-black",
    "price": 24900,
    "tags": ["shoes", "footwear", "formalwear", "womens", "color-black"],
    "vars": {
      "sailthru_category": "shoes"
    },
    "image": "http://example.com/images/stock/high_heels.jpg"
  }, {
    "qty": 1,
    "title": "Men's Shoes in Black",
    "id":"SKU1001",
    "url": "http://example.com/products/mens-shoes-in-black",
    "price": 19999,
    "tags": ["shoes", "footwear", "formalwear", "mens", "color-black"],
    "vars": {
      "sailthru_category": "shoes"
    },
    "image": "http://example.com/stock/black_mens_shoes.jpg"
  }],
  "vars": {
    "order_level_var": "shoes_purchase"
  },
  "adjustments": [{
    "price": 2500,
    "title": "Express Shipping"
  }]
}

 


POST MODE
Type Parameter
Optional report_email
Example
{
    "job":<string job type>,
    "report_email":"example@sailthru.com"
}

POST MODE
Type Parameter
Optional postback_url
Example
{
    "job":<string job type>,
    "postback_url":"https://www.example.com/service/job-result"
}
Top