Get State Transition List
POST
/workflow/list/next-stateRequest
Header Params
Content-Type
string
required
Example:
application/json
accessToken
string
required
Example:
{{accessToken}}
Body Params application/json
defId
integer <int64>
required
Workflow ID
stateId
integer <int64>
required
State ID
Example
{
"defId": 1,
"stateId": 1
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
stateName
string
optional
State Name
stateDesc
string
optional
State Description
stateId
integer <int64>
optional
State ID
stateCategory
integer <int32>
optional
State Category,(2 Not Started, 3 In Progress, 4 Done)
Example
{
"code": "0",
"data": [
{
"stateName": "xxx",
"stateDesc": "xxx",
"stateId": 1,
"stateCategory": 2
}
]
}
Last modified: 7 months ago