POST api/Process/RunCommand

Request Information

URI Parameters

None.

Body Parameters

ProcessModel
NameDescriptionTypeAdditional information
StateName

string

None.

CommandName

string

None.

ProcessID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StateName": "sample string 1",
  "CommandName": "sample string 2",
  "ProcessID": "sample string 3"
}

application/xml, text/xml

Sample:
<ProcessModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSI.Cx360.WebAPI.Models.Process">
  <CommandName>sample string 2</CommandName>
  <ProcessID>sample string 3</ProcessID>
  <StateName>sample string 1</StateName>
</ProcessModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProcessModel'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />