API Set Offline Dataset V2
This API allows you to manage the offline operation of a Dataset in the Tagetik application.
| API title: | AIH Dataset swagger openapi 3.0.3 |
| Description: | API for handling the process of putting Datasets offline in the AIH database application |
| Version: | 2.000 |
| Authentication: | OAuth2, API Key, JWT, Basic Auth |
| Base URL: | https://tenantxyz.api.saastagetik.com/basic https://tenantxyz.api.saastagetik.com/jwt https://tenantxyz.api.saastagetik.com/apikey https://tenantxyz.api.saastagetik.com/oauth2 |
Prerequisites¶
Request format: JSON
Response format: JSON
Shared headers
- Content-Type: application/json
- Authorisation: Bearer
.
URL¶
| Operation | Http Method | Body of the request | Path variable | Query string parameters | Body of the answer | HTTP response body | Response Status (Exception) |
|---|---|---|---|---|---|---|---|
| Create | POST | List of Dataset IDs | ID Analytical Workspace | List of Dataset IDs | 201 (Created) | 405 (Method not permitted) 404 (Not found) 403 (Access to unauthorised resource) 401 (Unauthorised) 400 (Invalid request) |
Supported Fields in Request¶
| Partition Field | Supported cardinality | Supported Values |
|---|---|---|
| datasets | Quantity of Analytical Workspace datasets | string |
¶
Additional Fields in Response¶
| Partition Field | Supported Values |
|---|---|
| success | string |
| fail | date |
Examples of requests¶
Examples of requests¶
Set specific datasets in an Analytical Workspace to offline
| Method | POST |
| URL | /api/aih/setffline/v2/{dbID}/AWN |
| Body | { "datasets": [ "ABC", "BBB" ] } |
| Example of response | { "success": [ "ABC", "BBB" ] } |
Put specific datasets from an Analytical Workspace offline, but one of them cannot be put online
| Method | POST |
| URL | /api/aih/setffline/v2/{dbID}/AWN |
| Body | { "datasets": [ "ABC", "BBB" ] } |
| Example of response | { "success": [ "BBB" ], "failed": [ { "dataset": "ABC", "cause": "Following datasets cannot be set offline: ABC" } ] } |