Examples of creating a new processing task








The following are two examples of creating a new processing task:
1. Example of printing
2. Example of Workflow
1. Example of printing
POST /api/v1/SI_MF_DEMO/process/Printing
{ "FormClassName": "TPrometSkladKarton", "FormParameters": "epAuth=PROMETZALSKLKART", "ReportKey": "14B", "ExportExt": ".pdf", "FormTemplateName": "PAAS1" }
Returns:
HTTP 200 OK
{ "task": 1234, "runner": "54694EBF-7B93-464A-BE1A-F3B6F548ED16" }
2. Example of printing
POST /api/v1/SI_MF_DEMO/process/Workflow { "WorkflowKey": 8, "Variables": "DocumentKey=abcd" }
Returns:
HTTP 200 OK
{ "task": 1235, "runner": "180C25EA-F0DF-420C-8EC8-8C9FBB2CFBB1" }
Related topics: