POST api/validarfacturara

Request Information

URI Parameters

None.

Body Parameters

LiquidacionValidarFacturarARQT
NameDescriptionTypeAdditional information
IDUser

integer

None.

IDRol

integer

None.

FacturarACod

string

None.

FacturarA

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IDUser": 1,
  "IDRol": 2,
  "FacturarACod": "sample string 3",
  "FacturarA": "sample string 4"
}

text/xml

Sample:
<LiquidacionValidarFacturarARQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Controllers">
  <FacturarA>sample string 4</FacturarA>
  <FacturarACod>sample string 3</FacturarACod>
  <IDRol>2</IDRol>
  <IDUser>1</IDUser>
</LiquidacionValidarFacturarARQT>

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

Response Information

Resource Description

Collection of MsjRPS
NameDescriptionTypeAdditional information
Cod

integer

None.

Msj

string

None.

Response Formats

application/json, text/json

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

text/xml

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