POST workflow/UploadWorkflow

Request Information

URI Parameters

None.

Body Parameters

UploadWorkflowRequest
NameDescriptionTypeAdditional information
XmlDiagram

string

None.

SqlQuery

string

None.

TriggerAuditType

integer

None.

TriggerValue

string

None.

TriggerVariable

string

None.

ObjectTypeId

integer

None.

ProcessId

integer

None.

ProcessName

string

None.

Description

string

None.

UserId

integer

None.

TenantId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "XmlDiagram": "sample string 1",
  "SqlQuery": "sample string 2",
  "TriggerAuditType": 1,
  "TriggerValue": "sample string 3",
  "TriggerVariable": "sample string 4",
  "ObjectTypeId": 5,
  "ProcessId": 6,
  "ProcessName": "sample string 7",
  "Description": "sample string 8",
  "UserId": 9,
  "TenantId": 10
}

text/html

Sample:
{"XmlDiagram":"sample string 1","SqlQuery":"sample string 2","TriggerAuditType":1,"TriggerValue":"sample string 3","TriggerVariable":"sample string 4","ObjectTypeId":5,"ProcessId":6,"ProcessName":"sample string 7","Description":"sample string 8","UserId":9,"TenantId":10}

application/xml, text/xml

Sample:
<UploadWorkflowRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Workflow">
  <Description>sample string 8</Description>
  <ProcessId>6</ProcessId>
  <ProcessName>sample string 7</ProcessName>
  <TenantId>10</TenantId>
  <UserId>9</UserId>
  <ObjectTypeId>5</ObjectTypeId>
  <SqlQuery>sample string 2</SqlQuery>
  <TriggerAuditType>1</TriggerAuditType>
  <TriggerValue>sample string 3</TriggerValue>
  <TriggerVariable>sample string 4</TriggerVariable>
  <XmlDiagram>sample string 1</XmlDiagram>
</UploadWorkflowRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.