GET api/Workflow/GetOptions?projectId={projectId}&projectType={projectType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId | integer |
Required |
|
projectType | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
API_Data_P1ProjectBaseOptionName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | P1ProjectBaseOption |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "ProjectId": 1, "EnableMultiTask": 2, "EnableMultiPage": 3, "EnableMultiWorkflow": 4, "WorkflowOptions": 5 } }
application/xml, text/xml
Sample:
<API_Data_P1ProjectBaseOption 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.Binding"> <d2p1:EnableMultiPage>3</d2p1:EnableMultiPage> <d2p1:EnableMultiTask>2</d2p1:EnableMultiTask> <d2p1:EnableMultiWorkflow>4</d2p1:EnableMultiWorkflow> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:WorkflowOptions>5</d2p1:WorkflowOptions> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_P1ProjectBaseOption>