Create Workset
Last updated
Last updated
This is sent as a POST call.
The body of the call to create a workset with two data views is shown below. Note that the ‘data views’ section of the entity portion of the body is an array and needs to follow JSON formatting rules for an entity.
{
"context": {
"user": "mbj_test",
"password": "xxxx",
"project": {
"name": "imp_payments_demo",
"version": "1.0"
}
},
"entity": {
"name": "api_workset",
"scenario": {
"name": "imp_make_payment",
"version": "1.0"
},
"primary": {
"view": {
"name": "format_cov_view",
"version": "1.0"
},
"dataSet": {
"name": "api_demo_coverage",
"version": "1.0.0"
}
},
"dataViews": [
{
"view": {
"name": "cust_data_view",
"version": "1.0"
},
"dataSet": {
"name": "imp_customers",
"version": "1.0.0"
}
},
{
"view": {
"name": "acts_view",
"version": "1.0"
},
"dataSet": {
"name": "imp_accounts",
"version": "1.0.0"
}
}
]
}
}
The return message shows the status of the call as well as the details of the workset that has been created.
The created workset can now be viewed in the worksets page of TDO. When you enter edit mode for this workset you can see the workset details in this page match the parameters sent in the body of the call.