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": "e94428b6-cf98-4c0f-8470-5e762ee7b147",
"versionId": "8bb14482-671b-4714-b079-840bac7f754b",
"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>e94428b6-cf98-4c0f-8470-5e762ee7b147</StepId> <StepName>sample string 3</StepName> <StepNumber>7</StepNumber> <VersionId>8bb14482-671b-4714-b079-840bac7f754b</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.