POST api/versions/AddStep?versionId={versionId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| versionId | globally unique identifier |
Required |
Body Parameters
ApplicationInstallerStep| Name | Description | Type | Additional information |
|---|---|---|---|
| StepId | globally unique identifier |
None. |
|
| VersionId | globally unique identifier |
None. |
|
| StepName | string |
None. |
|
| Description | string |
None. |
|
| Command | string |
None. |
|
| IsCritical | boolean |
None. |
|
| StepNumber | integer |
None. |
|
| Archived | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"stepId": "35660ddc-1452-4924-b47c-c297147a567a",
"versionId": "b75fa7ad-8a80-422a-a66e-babb0d50256e",
"stepName": "sample string 3",
"description": "sample string 4",
"command": "sample string 5",
"isCritical": true,
"stepNumber": 7,
"archived": true
}
application/xml, text/xml
Sample:
<ApplicationInstallerStep xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HarvestMark.AutoUpdate.Core.Entity"> <Archived>true</Archived> <Command>sample string 5</Command> <Description>sample string 4</Description> <IsCritical>true</IsCritical> <StepId>35660ddc-1452-4924-b47c-c297147a567a</StepId> <StepName>sample string 3</StepName> <StepNumber>7</StepNumber> <VersionId>b75fa7ad-8a80-422a-a66e-babb0d50256e</VersionId> </ApplicationInstallerStep>
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.