POST api/Flow/FlowReturnWorkEvent

Request Information

URI Parameters

None.

Body Parameters

FlowReturnDTO
NameDescriptionTypeAdditional information
Data

Collection of ReturnRuleDTO

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"
    }
  ],
  "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>
  <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

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>