GET api/admin/Workflow/GetStageByWorkflowId?workflowId={workflowId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| workflowId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseOfIEnumerableOfWorkFlowStageDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of WorkFlowStageDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": [
{
"StageID": 1,
"WorkflowID": 2,
"StageName": "sample string 3",
"StageCode": "sample string 4",
"StageOrder": 5,
"IsStartStage": true,
"IsEndStage": true,
"IsActive": true
},
{
"StageID": 1,
"WorkflowID": 2,
"StageName": "sample string 3",
"StageCode": "sample string 4",
"StageOrder": 5,
"IsStartStage": true,
"IsEndStage": true,
"IsActive": true
}
]
}
application/xml, text/xml
Sample:
<ApiResponseOfArrayOfWorkFlowStageDTOj_Pf0XX_P4 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.Models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tourism.Entities.CustomApplicationModels">
<d2p1:WorkFlowStageDTO>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsEndStage>true</d2p1:IsEndStage>
<d2p1:IsStartStage>true</d2p1:IsStartStage>
<d2p1:StageCode>sample string 4</d2p1:StageCode>
<d2p1:StageID>1</d2p1:StageID>
<d2p1:StageName>sample string 3</d2p1:StageName>
<d2p1:StageOrder>5</d2p1:StageOrder>
<d2p1:WorkflowID>2</d2p1:WorkflowID>
</d2p1:WorkFlowStageDTO>
<d2p1:WorkFlowStageDTO>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsEndStage>true</d2p1:IsEndStage>
<d2p1:IsStartStage>true</d2p1:IsStartStage>
<d2p1:StageCode>sample string 4</d2p1:StageCode>
<d2p1:StageID>1</d2p1:StageID>
<d2p1:StageName>sample string 3</d2p1:StageName>
<d2p1:StageOrder>5</d2p1:StageOrder>
<d2p1:WorkflowID>2</d2p1:WorkflowID>
</d2p1:WorkFlowStageDTO>
</Data>
<Message>sample string 2</Message>
<Success>true</Success>
</ApiResponseOfArrayOfWorkFlowStageDTOj_Pf0XX_P4>