POST commands/execute

Request Information

URI Parameters

None.

Body Parameters

CommandExecuteRequest
NameDescriptionTypeAdditional information
Verb

string

None.

Uri

string

None.

Parameters

Collection of CommandParameter

None.

Request Formats

application/json, text/json

Sample:
{
  "Verb": "sample string 1",
  "Uri": "sample string 2"
}

application/xml, text/xml

Sample:
<CommandExecuteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MCTS.Commands.Framework.Commands">
  <Parameters xmlns:d2p1="http://schemas.datacontract.org/2004/07/MCTS.Commands.Framework.Parameters" i:nil="true" />
  <Uri>sample string 2</Uri>
  <Verb>sample string 1</Verb>
</CommandExecuteRequest>

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 'CommandExecuteRequest'.

Response Information

Resource Description

CommandResponseBase
NameDescriptionTypeAdditional information
StatusCode

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<CommandResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MCTS.Commands.Framework.Responses" />