POST api/Workflow/Create
Request Information
URI Parameters
None.
Body Parameters
WorkflowBaseInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectId | integer |
None. |
|
| ProjectType | integer |
None. |
|
| Id | integer |
None. |
|
| Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProjectId": 1,
"ProjectType": 2,
"Id": 3,
"Name": "sample string 4"
}
application/xml, text/xml
Sample:
<WorkflowBaseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Workflow"> <Id>3</Id> <Name>sample string 4</Name> <ProjectId>1</ProjectId> <ProjectType>2</ProjectType> </WorkflowBaseInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WorkflowBaseInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectId | integer |
None. |
|
| ProjectType | integer |
None. |
|
| Id | integer |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ProjectId": 1,
"ProjectType": 2,
"Id": 3,
"Name": "sample string 4"
}
application/xml, text/xml
Sample:
<WorkflowBaseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Workflow"> <Id>3</Id> <Name>sample string 4</Name> <ProjectId>1</ProjectId> <ProjectType>2</ProjectType> </WorkflowBaseInfo>