POST workflow/SaveWorkflow

Request Information

URI Parameters

None.

Body Parameters

WorkflowEntity
NameDescriptionTypeAdditional information
ProcessId

integer

None.

Name

string

None.

Description

string

None.

TenantId

integer

None.

Active

boolean

None.

TriggerAuditType

integer

None.

TriggerVariable

string

None.

TriggerValue

string

None.

ObjectType

integer

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProcessId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "TenantId": 4,
  "Active": true,
  "TriggerAuditType": 1,
  "TriggerVariable": "sample string 6",
  "TriggerValue": "sample string 7",
  "ObjectType": 8,
  "UserId": 9
}

text/html

Sample:
{"ProcessId":1,"Name":"sample string 2","Description":"sample string 3","TenantId":4,"Active":true,"TriggerAuditType":1,"TriggerVariable":"sample string 6","TriggerValue":"sample string 7","ObjectType":8,"UserId":9}

application/xml, text/xml

Sample:
<WorkflowEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Workflow">
  <Active>true</Active>
  <Description>sample string 3</Description>
  <Name>sample string 2</Name>
  <ObjectType>8</ObjectType>
  <ProcessId>1</ProcessId>
  <TenantId>4</TenantId>
  <TriggerAuditType>1</TriggerAuditType>
  <TriggerValue>sample string 7</TriggerValue>
  <TriggerVariable>sample string 6</TriggerVariable>
  <UserId>9</UserId>
</WorkflowEntity>

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 'WorkflowEntity'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.