POST api/utente/comando

Request Information

URI Parameters

None.

Body Parameters

Comando
NameDescriptionTypeAdditional information
Player

string

None.

Tipo

ComandiType

None.

Abbonamento

globally unique identifier

None.

Dispositivo

string

None.

Elemento

integer

None.

Opzione

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "player": "sample string 1",
  "tipo": 0,
  "abbonamento": "2285e176-be60-43ba-89b2-3ce3f8b0efc2",
  "dispositivo": "sample string 3",
  "elemento": 4,
  "opzione": 1
}

application/xml, text/xml

Sample:
<Comando xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.DTO">
  <Abbonamento>2285e176-be60-43ba-89b2-3ce3f8b0efc2</Abbonamento>
  <Dispositivo>sample string 3</Dispositivo>
  <Elemento>4</Elemento>
  <Opzione>1</Opzione>
  <Player>sample string 1</Player>
  <Tipo>Avvio</Tipo>
</Comando>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.