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": "94eed82b-a22d-4540-99f2-d0ed458a5c7d",
"versionId": "66c0cbae-d820-4d9d-bf79-1eb16114f285",
"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>94eed82b-a22d-4540-99f2-d0ed458a5c7d</StepId> <StepName>sample string 3</StepName> <StepNumber>7</StepNumber> <VersionId>66c0cbae-d820-4d9d-bf79-1eb16114f285</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.