POST api/workflow-result-products
Request Information
URI Parameters
None.
Body Parameters
WorkflowResultProductPublishDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | globally unique identifier |
None. |
|
| ReleaseID | globally unique identifier |
None. |
|
| PublishRequestID | globally unique identifier |
None. |
|
| SellerMemberID | globally unique identifier |
None. |
|
| SourceProductRunID | globally unique identifier |
None. |
|
| SourceWorkflowRunID | globally unique identifier |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| ResultKind | string |
None. |
|
| PriceSnapshot | decimal number |
None. |
|
| IsEnabled | boolean |
None. |
|
| SnapshotManifestJson | string |
None. |
|
| Assets | Collection of WorkflowResultProductAssetDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductID": "123e6585-1669-415f-81a9-9c545a8a761e",
"ReleaseID": "9218277a-5d92-43aa-8cda-fc4a8863414b",
"PublishRequestID": "d3a58a7b-1896-4dda-9b53-a3142a3dee35",
"SellerMemberID": "d5c9cb4e-54b7-4086-939c-73ba248d85bd",
"SourceProductRunID": "06ba91aa-beef-4b42-b9c8-566c12150891",
"SourceWorkflowRunID": "06a401df-3c0f-46cb-91ef-efc44b859fb8",
"Title": "sample string 7",
"Description": "sample string 8",
"ResultKind": "sample string 9",
"PriceSnapshot": 1.0,
"IsEnabled": true,
"SnapshotManifestJson": "sample string 11",
"Assets": [
{
"UID": "d994381a-ce6f-4539-a313-851e3654dd7b",
"SourceAssetID": "sample string 2",
"AssetKey": "sample string 3",
"FileName": "sample string 4",
"ContentType": "sample string 5",
"FileSize": 6,
"Sha256": "sample string 7",
"StorageRelativePath": "sample string 8",
"SortOrder": 9
},
{
"UID": "d994381a-ce6f-4539-a313-851e3654dd7b",
"SourceAssetID": "sample string 2",
"AssetKey": "sample string 3",
"FileName": "sample string 4",
"ContentType": "sample string 5",
"FileSize": 6,
"Sha256": "sample string 7",
"StorageRelativePath": "sample string 8",
"SortOrder": 9
}
]
}
application/xml, text/xml
Sample:
<WorkflowResultProductPublishDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIProject.API.Models.DTO">
<Assets>
<WorkflowResultProductAssetDTO>
<AssetKey>sample string 3</AssetKey>
<ContentType>sample string 5</ContentType>
<FileName>sample string 4</FileName>
<FileSize>6</FileSize>
<Sha256>sample string 7</Sha256>
<SortOrder>9</SortOrder>
<SourceAssetID>sample string 2</SourceAssetID>
<StorageRelativePath>sample string 8</StorageRelativePath>
<UID>d994381a-ce6f-4539-a313-851e3654dd7b</UID>
</WorkflowResultProductAssetDTO>
<WorkflowResultProductAssetDTO>
<AssetKey>sample string 3</AssetKey>
<ContentType>sample string 5</ContentType>
<FileName>sample string 4</FileName>
<FileSize>6</FileSize>
<Sha256>sample string 7</Sha256>
<SortOrder>9</SortOrder>
<SourceAssetID>sample string 2</SourceAssetID>
<StorageRelativePath>sample string 8</StorageRelativePath>
<UID>d994381a-ce6f-4539-a313-851e3654dd7b</UID>
</WorkflowResultProductAssetDTO>
</Assets>
<Description>sample string 8</Description>
<IsEnabled>true</IsEnabled>
<PriceSnapshot>1</PriceSnapshot>
<ProductID>123e6585-1669-415f-81a9-9c545a8a761e</ProductID>
<PublishRequestID>d3a58a7b-1896-4dda-9b53-a3142a3dee35</PublishRequestID>
<ReleaseID>9218277a-5d92-43aa-8cda-fc4a8863414b</ReleaseID>
<ResultKind>sample string 9</ResultKind>
<SellerMemberID>d5c9cb4e-54b7-4086-939c-73ba248d85bd</SellerMemberID>
<SnapshotManifestJson>sample string 11</SnapshotManifestJson>
<SourceProductRunID>06ba91aa-beef-4b42-b9c8-566c12150891</SourceProductRunID>
<SourceWorkflowRunID>06a401df-3c0f-46cb-91ef-efc44b859fb8</SourceWorkflowRunID>
<Title>sample string 7</Title>
</WorkflowResultProductPublishDTO>
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.