/regularTasksByUser
GET
custom_TDM_Tasks
Gets the list of regular active tasks (version_ind is 'false', task_status and task_execution_status columns are 'Active') for a user based on the user's permission group (admin, owner, or tester) and based on the user's TDM environment permissions:
Admin Users:
Tester Users:
Extract Tasks:
Get all active tasks that do not require special permissions (that is, tasks that do not include reference tables, do not require up-to-date data, or that do not run on all entities) if the user or their group has a Read TDM Environment permission set on at least one TDM environment with the task's Business Entity (BE) and LUs.
Get all active tasks that include reference tables or that require up-to-date data if the user or their group has a Read TDM Environment permission set with these permissions on at least one TDM environment with the task's Business Entity (BE) and LUs.
Load Tasks:
Get all active tasks that do not require special permissions (that is, tasks that do not include reference tables, do not include Synthetic or Random selection methods, tasks that do not have Sequence replacement, or tasks that do not include a delete of entities from the target system) if the user or their group has a Read TDM Environment permission set on at least one TDM environment with the task's Business Entity (BE) and LUs, and a Write TDM Environment permission set on at least one TDM environment with the task's Business Entity (BE) and LUs.
Get all active tasks that require special permissions if the user or their group has at least one Read TDM Environment permission set, and one Write TDM Environment permission set with these permissions and the source and target environments have the task's Business Entity (BE) and LUs.
Delete Tasks:
Get all active delete tasks if the user has at least one Write TDM Environment permission set with a permission to delete entities and the environment has the task's Business Entity (BE) and LUs.
Reserve Tasks:
Get all active reserve tasks if the the user has at least one Write TDM Environment permission set and the Max Number of Reserved Entities on Env setting is bigger than zero and the environment has the task's Business Entity (BE) and LUs.
Owner Users:
Extract Tasks:
Get all active tasks if the user or their group is the owner of at least one source environment with the task's Business Entity (BE) and LUs.
Get active tasks based on the tester's selection logic, since an owner can also be attached to the TDM environment as a tester.
Load Tasks:
Get all active tasks if the user or their group is the owner of at least one source environment and one target environment with the task's Business Entity (BE) and LUs.
Get active tasks based on the tester's selection logic, since an owner can also be attached to the TDM environment as a tester.
Delete Tasks:
Get all active tasks if the user or their group is the owner of at least one target environment with the task's Business Entity (BE) and LUs.
Get all active delete tasks if the user has at least one Write TDM Environment permission set with a permission to delete entities and the environment has the task's Business Entity (BE) and LUs.
Reserve Tasks:
Get all active tasks if the user or their group is the owner of at least one target environment with the task's Business Entity (BE) and LUs.
Get all active reserve tasks if the the user has at least one Write TDM Environment permission set and the Max Number of Reserved Entities on Env setting is bigger than zero.
Click for more information about the TDM Environment role's permissions.
None. The user and their groups are taken from the Fabric session.
{
"result": [
{
"task_title": "testTask",
"task_id": 10
},
{
"task_title": "testTask2",
"task_id": 13
},
{
"task_title": "testTask3",
"task_id": 15
}
],
"errorCode": "SUCCESS",
"message": null
}
/VersionTasksByUser
GET
custom_TDM_Tasks
Gets data versioning (Data Flux) tasks with version_ind set to true. Only active tasks (task_status and task_execution_status columns are 'Active') are taken. The task list is returned for the user based on the user's permission group (admin, owner, or tester) and based on the user's TDM environment permissions:
Admin Users:
Owner Users:
Tester Users:
Get all active extract tasks if the user has at least one Read TDM Environment permission set that enables a data versioning.
Get all active load tasks if the user has at least one Read TDM Environment permission set and one Write TDM Environment permission set. Both must enable a data versioning.
None. The user and their groups are taken from the Fabric session.
{
"result": [
{
"task_title": "loadSnapShot",
"task_id": "19"
},
{
"task_title": "loadVersion",
"task_id": "31"
}
],
"errorCode": "SUCCESS",
"message": null
}
/getTasksByParams
GET
custom_TDM_Tasks
The API invokes either regularTasksByUser API to bring regular tasks or VersionTasksByUser API to bring data versioning (Data Flux) tasks. The selection of the API that is used to get the tasks for the user is based on the value of the version_ind input value:
The returned tasks are filtered based on the additional input filtering parameters (if set). The input is a dynamic JSON string.
The JSON filtering parameter is optional. If is it not populated, the API returns all of the user's regular tasks.
{"task_type":"EXTRACT", "version_ind":false, "selection_method":"L", "sync_mode":"FORCE"}
{"task_type":"LOAD", "version_ind":false, "load_entity":false, "delete_before_load":true, "selection_method":"L"}
Get all data versioning (Data Flux) load tasks for the user:
{"task_type":"LOAD", "version_ind":true}
http://localhost:3213/api/getTasksByParams
http://localhost:3213/api/getTasksByParams?filteringParams=%7B%22task_type%22%3A%22LOAD%22%2C%20%22load_entity%22%3Afalse%2C%20%22delete_before_load%22%3Atrue%2C%20%22selection_method%22%3A%22L%22%7D
http://localhost:3213/api/getTasksByParams?filteringParams=%7B%22task_type%22%3A%22LOAD%22%2C%20%22version_ind%22%3Atrue%7D
{
"result": [
{
"task_title": "testTask",
"task_id": 10
},
{
"task_title": "testTask2",
"task_id": 13
},
{
"task_title": "testTask3",
"task_id": 15
}
],
"errorCode": "SUCCESS",
"message": null
}
/regularTasksByUser
GET
custom_TDM_Tasks
Gets the list of regular active tasks (version_ind is 'false', task_status and task_execution_status columns are 'Active') for a user based on the user's permission group (admin, owner, or tester) and based on the user's TDM environment permissions:
Admin Users:
Tester Users:
Extract Tasks:
Get all active tasks that do not require special permissions (that is, tasks that do not include reference tables, do not require up-to-date data, or that do not run on all entities) if the user or their group has a Read TDM Environment permission set on at least one TDM environment with the task's Business Entity (BE) and LUs.
Get all active tasks that include reference tables or that require up-to-date data if the user or their group has a Read TDM Environment permission set with these permissions on at least one TDM environment with the task's Business Entity (BE) and LUs.
Load Tasks:
Get all active tasks that do not require special permissions (that is, tasks that do not include reference tables, do not include Synthetic or Random selection methods, tasks that do not have Sequence replacement, or tasks that do not include a delete of entities from the target system) if the user or their group has a Read TDM Environment permission set on at least one TDM environment with the task's Business Entity (BE) and LUs, and a Write TDM Environment permission set on at least one TDM environment with the task's Business Entity (BE) and LUs.
Get all active tasks that require special permissions if the user or their group has at least one Read TDM Environment permission set, and one Write TDM Environment permission set with these permissions and the source and target environments have the task's Business Entity (BE) and LUs.
Delete Tasks:
Get all active delete tasks if the user has at least one Write TDM Environment permission set with a permission to delete entities and the environment has the task's Business Entity (BE) and LUs.
Reserve Tasks:
Get all active reserve tasks if the the user has at least one Write TDM Environment permission set and the Max Number of Reserved Entities on Env setting is bigger than zero and the environment has the task's Business Entity (BE) and LUs.
Owner Users:
Extract Tasks:
Get all active tasks if the user or their group is the owner of at least one source environment with the task's Business Entity (BE) and LUs.
Get active tasks based on the tester's selection logic, since an owner can also be attached to the TDM environment as a tester.
Load Tasks:
Get all active tasks if the user or their group is the owner of at least one source environment and one target environment with the task's Business Entity (BE) and LUs.
Get active tasks based on the tester's selection logic, since an owner can also be attached to the TDM environment as a tester.
Delete Tasks:
Get all active tasks if the user or their group is the owner of at least one target environment with the task's Business Entity (BE) and LUs.
Get all active delete tasks if the user has at least one Write TDM Environment permission set with a permission to delete entities and the environment has the task's Business Entity (BE) and LUs.
Reserve Tasks:
Get all active tasks if the user or their group is the owner of at least one target environment with the task's Business Entity (BE) and LUs.
Get all active reserve tasks if the the user has at least one Write TDM Environment permission set and the Max Number of Reserved Entities on Env setting is bigger than zero.
Click for more information about the TDM Environment role's permissions.
None. The user and their groups are taken from the Fabric session.
{
"result": [
{
"task_title": "testTask",
"task_id": 10
},
{
"task_title": "testTask2",
"task_id": 13
},
{
"task_title": "testTask3",
"task_id": 15
}
],
"errorCode": "SUCCESS",
"message": null
}
/VersionTasksByUser
GET
custom_TDM_Tasks
Gets data versioning (Data Flux) tasks with version_ind set to true. Only active tasks (task_status and task_execution_status columns are 'Active') are taken. The task list is returned for the user based on the user's permission group (admin, owner, or tester) and based on the user's TDM environment permissions:
Admin Users:
Owner Users:
Tester Users:
Get all active extract tasks if the user has at least one Read TDM Environment permission set that enables a data versioning.
Get all active load tasks if the user has at least one Read TDM Environment permission set and one Write TDM Environment permission set. Both must enable a data versioning.
None. The user and their groups are taken from the Fabric session.
{
"result": [
{
"task_title": "loadSnapShot",
"task_id": "19"
},
{
"task_title": "loadVersion",
"task_id": "31"
}
],
"errorCode": "SUCCESS",
"message": null
}
/getTasksByParams
GET
custom_TDM_Tasks
The API invokes either regularTasksByUser API to bring regular tasks or VersionTasksByUser API to bring data versioning (Data Flux) tasks. The selection of the API that is used to get the tasks for the user is based on the value of the version_ind input value:
The returned tasks are filtered based on the additional input filtering parameters (if set). The input is a dynamic JSON string.
The JSON filtering parameter is optional. If is it not populated, the API returns all of the user's regular tasks.
{"task_type":"EXTRACT", "version_ind":false, "selection_method":"L", "sync_mode":"FORCE"}
{"task_type":"LOAD", "version_ind":false, "load_entity":false, "delete_before_load":true, "selection_method":"L"}
Get all data versioning (Data Flux) load tasks for the user:
{"task_type":"LOAD", "version_ind":true}
http://localhost:3213/api/getTasksByParams
http://localhost:3213/api/getTasksByParams?filteringParams=%7B%22task_type%22%3A%22LOAD%22%2C%20%22load_entity%22%3Afalse%2C%20%22delete_before_load%22%3Atrue%2C%20%22selection_method%22%3A%22L%22%7D
http://localhost:3213/api/getTasksByParams?filteringParams=%7B%22task_type%22%3A%22LOAD%22%2C%20%22version_ind%22%3Atrue%7D
{
"result": [
{
"task_title": "testTask",
"task_id": 10
},
{
"task_title": "testTask2",
"task_id": 13
},
{
"task_title": "testTask3",
"task_id": 15
}
],
"errorCode": "SUCCESS",
"message": null
}