Default Templates
"role": "DISTRIBUTOR",
"campaignType": "IRS-mz",
"checklistType": "TRAINING_SUPERVISION"curl --location 'http://localhost:8081/mdms-v2/v2/_create/HCM-ADMIN-CONSOLE.ChecklistTemplates' \
--header 'accept: application/json, text/plain, */*' \
--header 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
--header 'content-type: application/json;charset=UTF-8' \
--header 'cookie: _ga_H9YC8FEN6F=GS1.1.1703060128.1.1.1703060157.31.0.0; _ga_2E44ZSYXS7=GS1.1.1706788467.6.0.1706788467.0.0.0; _ga_0JZG96DZSM=GS1.1.1707896872.4.1.1707896889.43.0.0; amp_fef1e8=be028001-abe2-4879-ad17-f2999e099b9fR...1hmj9c8kb.1hmj9go83.27.g.2n; __cuid=7cd138a8619b4572a249bbec4504612f; _ga_XBQP06FR8V=GS1.1.1709707277.6.0.1709707277.60.0.0; _ga=GA1.1.1275395426.1703060110; _ga_P1TZCPKF6S=GS1.1.1711451018.1.1.1711451049.29.0.0' \
--header 'origin: https://unified-dev.digit.org' \
--header 'priority: u=1, i' \
--header 'referer: https://unified-dev.digit.org/workbench-ui/employee/workbench/mdms-add-v2?moduleName=HCM&masterName=BACKEND_INTERFACE' \
--header 'sec-ch-ua: "Chromium";v="124", "Google Chrome";v="124", "Not-A.Brand";v="99"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'sec-ch-ua-platform: "Linux"' \
--header 'sec-fetch-dest: empty' \
--header 'sec-fetch-mode: cors' \
--header 'sec-fetch-site: same-origin' \
--header 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36' \
--data '{
"Mdms": {
"tenantId": "mz",
"schemaCode": "HCM-ADMIN-CONSOLE.ChecklistTemplates",
"uniqueIdentifier": null,
"data": {
"data": [
{
"id": "2d4a7b1e-1f2f-4a8a-9672-43396c6c9a1c",
"key": 1,
"type": {
"code": "SingleValueList"
},
"level": 1,
"title": "Is there a feedback system for health facilities to report any issues or requests related to bednet distribution?",
"value": null,
"options": [
{
"id": "0cff9846-03a2-4453-bf0e-200cdda5f390",
"key": 1,
"label": "Shortages",
"optionComment": true,
"optionDependency": false,
"parentQuestionId": "2d4a7b1e-1f2f-4a8a-9672-43396c6c9a1c"
},
{
"id": "2d4a7b1e-7c0d-48b1-9d53-8601c6264b90",
"key": 2,
"label": "Quality complaints",
"optionDependency": false,
"parentQuestionId": "2d4a7b1e-1f2f-4a8a-9672-43396c6c9a1c"
}
],
"isActive": true,
"parentId": null,
"isRequired": false
},
{
"id": "4add5323-fc98-4e71-a783-27dbb922c99f",
"key": 2,
"type": {
"code": "SingleValueList"
},
"level": 1,
"title": "What types of health facilities do you distribute to?",
"value": null,
"options": [
{
"id": "34eac43a-e0b5-428f-9d11-12fc5b10b1ac1",
"key": 1,
"label": "Hospitals",
"optionComment": false,
"optionDependency": false,
"parentQuestionId": "4add5323-fc98-4e71-a783-27dbb922c99f"
},
{
"id": "23ace43b-e0b5-428f-9d11-12fc5b10b1ac1",
"key": 2,
"label": "Clinics",
"optionComment": false,
"optionDependency": true,
"parentQuestionId": "4add5323-fc98-4e71-a783-27dbb922c99f"
},
{
"id": "32bbca43-db87-469b-8be4-22012cc22284",
"key": 3,
"label": "Community health centers",
"optionDependency": false,
"parentQuestionId": "4add5323-fc98-4e71-a783-27dbb922c99f"
}
],
"isActive": true,
"parentId": null,
"isRequired": false
},
{
"id": "23ca54be-038e-42df-a557-bb5fcd374dd5",
"key": 3,
"type": {
"code": "SingleValueList"
},
"level": 1,
"title": "What services or products do you distribute to health facilities?",
"value": null,
"options": [
{
"id": "ea32bc56-038e-42df-a557-bb5fcd374dd5",
"key": 1,
"label": "Medical equipment",
"optionComment": false,
"optionDependency": false,
"parentQuestionId": "23ca54be-038e-42df-a557-bb5fcd374dd5"
},
{
"id": "a34vc429-d13f-4340-ae5e-fe7f8aca4212",
"key": 2,
"label": "Pharmaceuticals",
"optionDependency": false,
"parentQuestionId": "23ca54be-038e-42df-a557-bb5fcd374dd5"
},
{
"id": "6c43b57c-d13f-4340-ae5e-fe7f8aca4212",
"key": 3,
"label": "Personal protective equipment (PPE)",
"optionDependency": false,
"parentQuestionId": "23ca54be-038e-42df-a557-bb5fcd374dd5"
}
],
"isActive": true,
"parentId": null,
"isRequired": false
},
{
"id": "c65ac34b-7cc0-4993-a8fe-37e854d2b189",
"key": 4,
"type": {
"code": "SingleValueList"
},
"level": 2,
"title": "Do you have enough products for distribution to health facilities?",
"value": null,
"options": [
{
"id": "cb45ca84-7cc0-4993-a8fe-37e854d2b189",
"key": 1,
"label": "Yes",
"optionDependency": false,
"parentQuestionId": "c65ac34b-7cc0-4993-a8fe-37e854d2b189"
},
{
"id": "a54c73cb-60da-4c51-8501-cf4a4f473a66",
"key": 2,
"label": "No",
"optionComment": true,
"optionDependency": false,
"parentQuestionId": "c65ac34b-7cc0-4993-a8fe-37e854d2b189"
}
],
"isActive": true,
"parentId": "23ace43b-e0b5-428f-9d11-12fc5b10b1ac1",
"isRequired": false
}
],
"role": "DISTRIBUTOR",
"campaignType": "IRS-mz",
"checklistType": "TRAINING_SUPERVISION"
},
"isActive": true
},
"RequestInfo": {
"apiId": "asset-services",
"ver": null,
"ts": null,
"action": null,
"did": null,
"key": null,
"msgId": "search with from and to values",
"authToken": "",
"correlationId": null,
"userInfo": {
"id": "1",
"userName": null,
"name": null,
"type": null,
"mobileNumber": null,
"emailId": null,
"roles": null,
"uuid": "db842ca9-25c5-4419-a72f-459443d38feb"
}
}
}'Last updated
Was this helpful?