POST api/versions/AddStep?versionId={versionId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
versionId

globally unique identifier

Required

Body Parameters

ApplicationInstallerStep
NameDescriptionTypeAdditional 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": "d3f578a2-4949-41a9-aa28-efe9fc4a0c0a",
  "versionId": "20266292-73e8-4198-ac56-7e9d22101dc4",
  "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>d3f578a2-4949-41a9-aa28-efe9fc4a0c0a</StepId>
  <StepName>sample string 3</StepName>
  <StepNumber>7</StepNumber>
  <VersionId>20266292-73e8-4198-ac56-7e9d22101dc4</VersionId>
</ApplicationInstallerStep>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.