POST api/workflow-product-releases
Request Information
URI Parameters
None.
Body Parameters
WorkflowProductReleaseCreateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | globally unique identifier |
None. |
|
| WorkflowPublishedVersionID | globally unique identifier |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| PriceSnapshot | decimal number |
None. |
|
| IsCurrent | boolean |
None. |
|
| IsEnabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductID": "87c3dc9f-cd83-44d8-8aa0-524ca693f1fe",
"WorkflowPublishedVersionID": "658bac38-d463-4f4e-af6c-ce39caeea00a",
"Title": "sample string 3",
"Description": "sample string 4",
"PriceSnapshot": 1.0,
"IsCurrent": true,
"IsEnabled": true
}
application/xml, text/xml
Sample:
<WorkflowProductReleaseCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIProject.API.Models.DTO"> <Description>sample string 4</Description> <IsCurrent>true</IsCurrent> <IsEnabled>true</IsEnabled> <PriceSnapshot>1</PriceSnapshot> <ProductID>87c3dc9f-cd83-44d8-8aa0-524ca693f1fe</ProductID> <Title>sample string 3</Title> <WorkflowPublishedVersionID>658bac38-d463-4f4e-af6c-ce39caeea00a</WorkflowPublishedVersionID> </WorkflowProductReleaseCreateDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.