POST api/Flow/FlowReturnWorkEvent

Request Information

URI Parameters

None.

Body Parameters

FlowReturnDTO
NameDescriptionTypeAdditional information
Data

Collection of ReturnRuleDTO

None.

Options

Collection of ChooseData

None.

WorkID

integer

None.

FlowID

string

None.

NodeID

string

None.

ToNode

string

None.

ReturnMessage

string

None.

ReturnAccount

string

None.

Message

string

None.

StatusCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "No": "sample string 1",
      "Name": "sample string 2",
      "Rec": "sample string 3",
      "RecName": "sample string 4"
    },
    {
      "No": "sample string 1",
      "Name": "sample string 2",
      "Rec": "sample string 3",
      "RecName": "sample string 4"
    }
  ],
  "Options": [
    {
      "value": "sample string 1",
      "text": "sample string 2"
    },
    {
      "value": "sample string 1",
      "text": "sample string 2"
    }
  ],
  "WorkID": 1,
  "FlowID": "sample string 1",
  "NodeID": "sample string 2",
  "ToNode": "sample string 3",
  "ReturnMessage": "sample string 4",
  "ReturnAccount": "sample string 5",
  "Message": "sample string 6",
  "StatusCode": 7
}

application/xml, text/xml

Sample:
<FlowReturnDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Data>
    <ReturnRuleDTO>
      <Name>sample string 2</Name>
      <No>sample string 1</No>
      <Rec>sample string 3</Rec>
      <RecName>sample string 4</RecName>
    </ReturnRuleDTO>
    <ReturnRuleDTO>
      <Name>sample string 2</Name>
      <No>sample string 1</No>
      <Rec>sample string 3</Rec>
      <RecName>sample string 4</RecName>
    </ReturnRuleDTO>
  </Data>
  <FlowID>sample string 1</FlowID>
  <Message>sample string 6</Message>
  <NodeID>sample string 2</NodeID>
  <Options>
    <ChooseData>
      <text>sample string 2</text>
      <value>sample string 1</value>
    </ChooseData>
    <ChooseData>
      <text>sample string 2</text>
      <value>sample string 1</value>
    </ChooseData>
  </Options>
  <ReturnAccount>sample string 5</ReturnAccount>
  <ReturnMessage>sample string 4</ReturnMessage>
  <StatusCode>7</StatusCode>
  <ToNode>sample string 3</ToNode>
  <WorkID>1</WorkID>
</FlowReturnDTO>

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

Response Information

Resource Description

BaseFlowDTO
NameDescriptionTypeAdditional information
Status

integer

None.

StatusMessage

string

None.

Message

返回消息

string

None.

Data

数据信息

string

None.

Remark

备注信息

string

None.

WorkID

记录编号

integer

None.

FlowID

string

None.

NodeID

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1",
  "Message": "sample string 2",
  "Data": "sample string 3",
  "Remark": "sample string 4",
  "WorkID": 1,
  "FlowID": "sample string 5",
  "NodeID": "sample string 6"
}

application/xml, text/xml

Sample:
<BaseFlowDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Data>sample string 3</Data>
  <FlowID>sample string 5</FlowID>
  <Message>sample string 2</Message>
  <NodeID>sample string 6</NodeID>
  <Remark>sample string 4</Remark>
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
  <WorkID>1</WorkID>
</BaseFlowDTO>