GET api/Workflow/GetList?projectId={projectId}&projectType={projectType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId | integer |
Required |
|
projectType | integer |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
API_Data_ListOfWorkflowBaseInfoName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of WorkflowBaseInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "ProjectId": 1, "ProjectType": 2, "Id": 3, "Name": "sample string 4" }, { "ProjectId": 1, "ProjectType": 2, "Id": 3, "Name": "sample string 4" } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfWorkflowBaseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Workflow"> <d2p1:WorkflowBaseInfo> <d2p1:Id>3</d2p1:Id> <d2p1:Name>sample string 4</d2p1:Name> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>2</d2p1:ProjectType> </d2p1:WorkflowBaseInfo> <d2p1:WorkflowBaseInfo> <d2p1:Id>3</d2p1:Id> <d2p1:Name>sample string 4</d2p1:Name> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ProjectType>2</d2p1:ProjectType> </d2p1:WorkflowBaseInfo> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfWorkflowBaseInfo>