POST api/validartercero

Request Information

URI Parameters

None.

Body Parameters

LiquidacionValidarTerceroRQT
NameDescriptionTypeAdditional information
IDUser

integer

None.

IDRol

integer

None.

EntidadCod

string

None.

UnidNegoCodigo

string

None.

FacturarACod

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IDUser": 1,
  "IDRol": 2,
  "EntidadCod": "sample string 3",
  "UnidNegoCodigo": "sample string 4",
  "FacturarACod": "sample string 5"
}

text/xml

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

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

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>