POST api/diaslibres

Request Information

URI Parameters

None.

Body Parameters

DiasLibresRQT
NameDescriptionTypeAdditional information
Token

string

None.

IDRol

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "IDRol": 2
}

text/xml

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

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

Response Information

Resource Description

DiasLibresRPS
NameDescriptionTypeAdditional information
Data

Collection of DiasLibresListRPS

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "DiasLibresR": 1,
      "DiasLibresA": 2,
      "DiasLibresV": 3
    },
    {
      "DiasLibresR": 1,
      "DiasLibresA": 2,
      "DiasLibresV": 3
    }
  ]
}

text/xml

Sample:
<DiasLibresRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Data>
    <DiasLibresListRPS>
      <DiasLibresA>2</DiasLibresA>
      <DiasLibresR>1</DiasLibresR>
      <DiasLibresV>3</DiasLibresV>
    </DiasLibresListRPS>
    <DiasLibresListRPS>
      <DiasLibresA>2</DiasLibresA>
      <DiasLibresR>1</DiasLibresR>
      <DiasLibresV>3</DiasLibresV>
    </DiasLibresListRPS>
  </Data>
</DiasLibresRPS>