Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-764

Refactor TaskAction Resource to accept Task Definition uuid in addition to Task Definition name

    XMLWordPrintable

Details

    Description

      When POSTing  to the TaskAction Resource  https://github.com/openmrs/openmrs-module-webservices.rest/blob/master/omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/TaskActionResource1_8.java ,

      the request body is currently posted with a task definition name as

       { "action": "runtask",
       "tasks": ["TaskDefinition_name "] 
      } 

      ,Refactor the resource so that ,the  request can also  be posted with a task definition uuid

       { "action": "runtask", 
      "tasks": ["TaskDefinition_uuid"]
       } 

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                miirochristopher Christopher Miiro
                mozzy Moses Mutesasira
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: