POST api/dashboardsorden

Request Information

URI Parameters

None.

Body Parameters

DashboardsOrdenRQT
NameDescriptionTypeAdditional information
IDUser

integer

None.

IDRol

integer

None.

Grafico

Collection of DashboardsUsuarioListRQT

None.

Request Formats

application/json, text/json

Sample:
{
  "IDUser": 1,
  "IDRol": 2,
  "Grafico": [
    {
      "Codigo": 1,
      "Nombre": "sample string 2",
      "Titulo": "sample string 3",
      "Visible": true
    },
    {
      "Codigo": 1,
      "Nombre": "sample string 2",
      "Titulo": "sample string 3",
      "Visible": true
    }
  ]
}

text/xml

Sample:
<DashboardsOrdenRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Grafico>
    <DashboardsUsuarioListRQT>
      <Codigo>1</Codigo>
      <Nombre>sample string 2</Nombre>
      <Titulo>sample string 3</Titulo>
      <Visible>true</Visible>
    </DashboardsUsuarioListRQT>
    <DashboardsUsuarioListRQT>
      <Codigo>1</Codigo>
      <Nombre>sample string 2</Nombre>
      <Titulo>sample string 3</Titulo>
      <Visible>true</Visible>
    </DashboardsUsuarioListRQT>
  </Grafico>
  <IDRol>2</IDRol>
  <IDUser>1</IDUser>
</DashboardsOrdenRQT>

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

Response Information

Resource Description

MsjRPS
NameDescriptionTypeAdditional information
Cod

integer

None.

Msj

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Cod": 1,
  "Msj": "sample string 2"
}

text/xml

Sample:
<MsjRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Cod>1</Cod>
  <Msj>sample string 2</Msj>
</MsjRPS>