Warning | ||
---|---|---|
| ||
This page is in development and as such, its contents may be incorrect |
The schedules API provides functionality that allows a administrator to add, delete or update schedules
Table of Contents |
---|
Section | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Get all schedulesLists all the schedules configured in the Aspire
Pagination query string parameters
Response TODO: check this schedule format
| |||||||||||||||||||||
Response code | Description | ||||||||||||||||||||
200 | Success |
Section | |||||||
---|---|---|---|---|---|---|---|
Get all schedules, filteredLists schedules configured in the Aspire, filtered by a specified criteria
|
: 200 |
Section | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Get | ||||||||||||||||||||||||||||
Section | ||||||||||||||||||||||||||||
Get a single scheduleGet information about a single schedule configured in Aspire
Path Parameters
Query String Parameters
ResponseResponse TODO: check this schedule format
| ||||||||||||||||||||||||||||
Response code | Description | |||||||||||||||||||||||||||
200 | Success | |||||||||||||||||||||||||||
404 | The given schedules id was not found |
Section | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Addschedulesschedule(s)Add schedules to Aspire
Body Parameters TODO: check the schedule format
Other parameters passed in the request body will depend on the type of schedule being created. Some candidates are shown below:
Example TODO: check the schedule format
Response TODO: check the schedule format
Status | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Response code | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
201 | Created | 406 | Not acceptable - there was an issue validating the input
Section | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Update schedule(s)Update schedules in Aspire.
Path Body Parameters
Body Parameters
Other parameters passed in the request body will depend on the type of schedule being created - see Add schedule(s) above Example TODO: check the schedule format
Response TODO: check the schedule format
See Response Body for details regarding the response body returned where multiple items are affected with some (or all) returning errors Status: 200, 404, 406 |
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Update schedules, filteredUpdate schedules configured in the Aspire, filtered by a specified criteria
Response
| ||||||||||
200 | Success | |||||||||
404 | Not found - a given schedule identifier was not found | |||||||||
406 | Not acceptable - there was an issue validating the input |
| |
{
"message": "update result response message"
} |
Status: 200, 406
Section | |||||||
---|---|---|---|---|---|---|---|
Delete multiple schedules, filteredDelete multiple schedules from Aspire, filtered by a specified criteria
Body Parameters | |||||||
Name | Type | Required | Description | filter | JSON | Required | Filters retrieved schedules. Check the filter definition here
Code Block | ||
---|---|---|
| ||
{ "message": "optional response message" } |
See Response Body for details regrading the response body returned where multiple items are affected with some (or all) returning errors
Status
Status: 200
Section | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Delete schedules(s)Delete one or more schedules Delete single scheduleDelete a single schedule from Aspire.
Path Parameters and Query parameters
Body Parameter
ExamplesExample
Response
| |||||||||||||||||||||||||||||||||
Response code | Description | ||||||||||||||||||||||||||||||||
200 | Success | ||||||||||||||||||||||||||||||||
404 | Not found - a given schedule identifier was not found | 406 | Not acceptable - there was an issue validating the input