Create Coverage Set
Last updated
Last updated
The first action to take on coverage sets is to create a new coverage set. This can be done for one or more determining attributes. The call is set up as a POST call.
The body of the call contains the project name and version and credentials in the ‘context’ section. In the entity section, you provide the name of the coverage set you are creating (it must end with ‘_coverage’) and the determining attribute name(s)/version(s) you want to include.
{
"context": {
"user": "mbj_test",
"password": "xxxx",
"project": {
"name": "imp_payments_demo",
"version": "1.0"
}
},
"entity": {
"name": "api_demo_coverage",
"determiningAttributes": [
{"name": "acct_type", "version": "1.0"},
{"name": "has_app", "version": "1.0"},
{"name": "has_online", "version": "1.0"},
{"name": "balance", "version": "1.0"}
]
}
}
When this is run, a successful return message will show the return code (200) as well as the information on the coverage set created by this call.
When the coverage set is viewed in the TDO UI, you can see the determining attributes linked to this set.