POST api/DripWorkflow/UpdateFullDripWorkflow

Request Information

URI Parameters

None.

Body Parameters

SaveDripWorkflowFullVm
NameDescriptionTypeAdditional information
Workflow

SaveDripWorkflowFullWorkflowVm

None.

Steps

Collection of SaveDripWorkflowStepVm

None.

Request Formats

application/json, text/json

Sample:
{
  "Workflow": {
    "WorkflowId": 1,
    "Name": "sample string 2",
    "EventType": "sample string 3",
    "StageId": 4,
    "StageName": "sample string 5",
    "IsSiteVisit": true,
    "ReasonId": 1,
    "Reason": "sample string 6",
    "IsDeleted": true
  },
  "Steps": [
    {
      "Id": 1,
      "WorkflowId": 2,
      "StepOrder": 1,
      "ChannelType": "sample string 3",
      "TemplateId": 1,
      "Delay": 4,
      "DelayType": "sample string 5",
      "DayTime": "sample string 6",
      "ConditionOn": "sample string 7",
      "SkipOn": "sample string 8",
      "IsInstant": true,
      "IsActive": true,
      "IsDeleted": true
    },
    {
      "Id": 1,
      "WorkflowId": 2,
      "StepOrder": 1,
      "ChannelType": "sample string 3",
      "TemplateId": 1,
      "Delay": 4,
      "DelayType": "sample string 5",
      "DayTime": "sample string 6",
      "ConditionOn": "sample string 7",
      "SkipOn": "sample string 8",
      "IsInstant": true,
      "IsActive": true,
      "IsDeleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<SaveDripWorkflowFullVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.LeadModels">
  <Steps>
    <SaveDripWorkflowStepVm>
      <ChannelType>sample string 3</ChannelType>
      <ConditionOn>sample string 7</ConditionOn>
      <DayTime>sample string 6</DayTime>
      <Delay>4</Delay>
      <DelayType>sample string 5</DelayType>
      <Id>1</Id>
      <IsActive>true</IsActive>
      <IsDeleted>true</IsDeleted>
      <IsInstant>true</IsInstant>
      <SkipOn>sample string 8</SkipOn>
      <StepOrder>1</StepOrder>
      <TemplateId>1</TemplateId>
      <WorkflowId>2</WorkflowId>
    </SaveDripWorkflowStepVm>
    <SaveDripWorkflowStepVm>
      <ChannelType>sample string 3</ChannelType>
      <ConditionOn>sample string 7</ConditionOn>
      <DayTime>sample string 6</DayTime>
      <Delay>4</Delay>
      <DelayType>sample string 5</DelayType>
      <Id>1</Id>
      <IsActive>true</IsActive>
      <IsDeleted>true</IsDeleted>
      <IsInstant>true</IsInstant>
      <SkipOn>sample string 8</SkipOn>
      <StepOrder>1</StepOrder>
      <TemplateId>1</TemplateId>
      <WorkflowId>2</WorkflowId>
    </SaveDripWorkflowStepVm>
  </Steps>
  <Workflow>
    <EventType>sample string 3</EventType>
    <IsDeleted>true</IsDeleted>
    <IsSiteVisit>true</IsSiteVisit>
    <Name>sample string 2</Name>
    <Reason>sample string 6</Reason>
    <ReasonId>1</ReasonId>
    <StageId>4</StageId>
    <StageName>sample string 5</StageName>
    <WorkflowId>1</WorkflowId>
  </Workflow>
</SaveDripWorkflowFullVm>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveDripWorkflowFullVm'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.