POST api/imprimirrefrendo

Request Information

URI Parameters

None.

Body Parameters

RefrendoImprimirRQT
NameDescriptionTypeAdditional information
IDUser

integer

None.

IDRol

integer

None.

Refrendo

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IDUser": 1,
  "IDRol": 2,
  "Refrendo": 3
}

text/xml

Sample:
<RefrendoImprimirRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models.Refrendo">
  <IDRol>2</IDRol>
  <IDUser>1</IDUser>
  <Refrendo>3</Refrendo>
</RefrendoImprimirRQT>

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

Response Information

Resource Description

RefrendoImprimirRPS
NameDescriptionTypeAdditional information
Cod

integer

None.

Msj

string

None.

Data

RefrendoImprimirRPSString

None.

Response Formats

application/json, text/json

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

text/xml

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