Contents
Export selected tasks
Method
Up to 9.0.012
GET
From 9.0.013
POST
Important
The new request has exactly the same parameters as the old one and allows you to pass the ql_expression in the request body in JSON format.Syntax
Up to 9.0.012
GET /gtl/tasks/{solutionDbid}/{page}
From 9.0.013
POST /gtl/tasks/{solutionDbid}/{page}/search
Headers
Accept: application/xml,*/*
Request Body: up to 9.0.012
{
"include": [ <task_id1>, <task_id2>, ...]
}
Or:
{
"exclude": [ <task_id1>, <task_id2>, ...]
}
Request Body: from 9.0.013
{
"content": {
"include": [ <task_id1>, <task_id2>, ...]
},
"qlExpression": [<ql_item>, <ql_item>, ...]
}
Or:
{
"content": {
"exclude": [ <task_id1>, <task_id2>, ...]
},
"qlExpression": [<ql_item>, <ql_item>, ...]
}
- It is not allowed to send both "include" and "exclude" lists.
- snapshot_id is mandatory.
- The returned format is XML.
- It is necessary to set the Accept header with application/xml as the first value. The following "*/*" is needed to correctly return an error message in JSON.
- The value for the qlExpression field is the same object as request body from Fetch paginated list of tasks.
This page was last edited on June 30, 2020, at 16:08.
Comments or questions about this documentation? Contact us for support!