POST api/WFSaveWorkflowTemplate

Documentation for 'Post'.

Request Information

Request body formats

application/json, text/json

Sample:
{
  "IsNew": true,
  "Template": {
    "WORKFLOW_TEMPLATE_ID": 1,
    "TEMPLATE_NAME": "sample string 2",
    "APPL_CODE": "sample string 3",
    "STATUS": "sample string 4",
    "INS_USER": "sample string 5",
    "INS_DATE": "2024-09-19T05:01:02.2627095-07:00",
    "UPD_USER": "sample string 7",
    "UPD_DATE": "2024-09-19T05:01:02.2627095-07:00",
    "APPL_CODE_DESC": "sample string 9",
    "STATUS_DESC": "sample string 10",
    "CAN_LAUNCH": true,
    "CAN_DELETE": true
  },
  "TemplateSteps": [
    {
      "WORKFLOW_TEMPLATE_STEP_ID": 1,
      "WORKFLOW_TEMPLATE_ID": 2,
      "STEP_NUMBER": 3,
      "DESCRIPTION": "sample string 4",
      "LINK_TO": "sample string 5",
      "START_DATE_CODE": "sample string 6",
      "DUE_DATE_CODE": "sample string 7",
      "DUE_DATE_DAYS": 8,
      "NOTES": "sample string 9",
      "STEP_TYPE_CODE": "sample string 10",
      "ASSIGNED_TO": "sample string 11",
      "PRIORITY": "sample string 12",
      "INS_USER": "sample string 13",
      "INS_DATE": "2024-09-19T05:01:02.2627095-07:00",
      "UPD_USER": "sample string 15",
      "UPD_DATE": "2024-09-19T05:01:02.2627095-07:00",
      "START_DATE_CODE_DESC": "sample string 17",
      "STEP_TYPE_CODE_DESC": "sample string 18",
      "DUE_DATE_CODE_DESC": "sample string 19",
      "PRIORITY_DESC": "sample string 20"
    },
    {
      "WORKFLOW_TEMPLATE_STEP_ID": 1,
      "WORKFLOW_TEMPLATE_ID": 2,
      "STEP_NUMBER": 3,
      "DESCRIPTION": "sample string 4",
      "LINK_TO": "sample string 5",
      "START_DATE_CODE": "sample string 6",
      "DUE_DATE_CODE": "sample string 7",
      "DUE_DATE_DAYS": 8,
      "NOTES": "sample string 9",
      "STEP_TYPE_CODE": "sample string 10",
      "ASSIGNED_TO": "sample string 11",
      "PRIORITY": "sample string 12",
      "INS_USER": "sample string 13",
      "INS_DATE": "2024-09-19T05:01:02.2627095-07:00",
      "UPD_USER": "sample string 15",
      "UPD_DATE": "2024-09-19T05:01:02.2627095-07:00",
      "START_DATE_CODE_DESC": "sample string 17",
      "STEP_TYPE_CODE_DESC": "sample string 18",
      "DUE_DATE_CODE_DESC": "sample string 19",
      "PRIORITY_DESC": "sample string 20"
    },
    {
      "WORKFLOW_TEMPLATE_STEP_ID": 1,
      "WORKFLOW_TEMPLATE_ID": 2,
      "STEP_NUMBER": 3,
      "DESCRIPTION": "sample string 4",
      "LINK_TO": "sample string 5",
      "START_DATE_CODE": "sample string 6",
      "DUE_DATE_CODE": "sample string 7",
      "DUE_DATE_DAYS": 8,
      "NOTES": "sample string 9",
      "STEP_TYPE_CODE": "sample string 10",
      "ASSIGNED_TO": "sample string 11",
      "PRIORITY": "sample string 12",
      "INS_USER": "sample string 13",
      "INS_DATE": "2024-09-19T05:01:02.2627095-07:00",
      "UPD_USER": "sample string 15",
      "UPD_DATE": "2024-09-19T05:01:02.2627095-07:00",
      "START_DATE_CODE_DESC": "sample string 17",
      "STEP_TYPE_CODE_DESC": "sample string 18",
      "DUE_DATE_CODE_DESC": "sample string 19",
      "PRIORITY_DESC": "sample string 20"
    }
  ]
}

Response Information

Response body formats

application/json, text/json

Sample:
{
  "WORKFLOW_TEMPLATE_ID": 1,
  "ApiResult": {
    "Success": true,
    "Warnings": true,
    "Description": "sample string 3",
    "WarningMessages": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "NotificationErrorMessages": "sample string 4"
  }
}