POST api/tiempoespera

Request Information

URI Parameters

None.

Body Parameters

TipoEsperaRQT
NameDescriptionTypeAdditional information
ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1
}

text/xml

Sample:
<TipoEsperaRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <ID>1</ID>
</TipoEsperaRQT>

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

Response Information

Resource Description

TipoEsperaRPS
NameDescriptionTypeAdditional information
Valor

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Valor": "sample string 1"
}

text/xml

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