task_schedulers
Gets a new blank scheduler object
Changed onReturns a blank object with default values
get/api/v1/task_schedulers/create
Request
- Base URLhttps://demo.invoiceninja.com
- Authnone declared. Required headers: X-API-TOKEN, X-Requested-With
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
includestring
Example:first_load
Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes
per_pageinteger
Example:20
The number of records to return for each request, default is 20
pageinteger
Example:1
The page number to return for this request (when performing pagination), default is 1
Headers
X-API-TOKENstring required
Example:TOKEN
The API token to be used for authentication
X-Requested-Withstring required
Example:XMLHttpRequest
Used to send the XMLHttpRequest header
Response
A blank scheduler object
Example response
{
"repeat_every": "DAY",
"start_from": 1652898504,
"job": "create_credit_report",
"date_range": "last7",
"date_key": "created_at",
"start_date": "2022-10-31",
"end_date": "2022-10-31",
"report_keys": [
"['name','date']"
]
}Changes
- info
added the new optional
queryrequest parameterpage - info
added the new optional
queryrequest parameterper_page
- info
- breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking