POST api/rptingreso

Request Information

URI Parameters

None.

Body Parameters

RptIngresoRQT
NameDescriptionTypeAdditional information
Token

string

None.

Documento

string

None.

Tipo

integer

None.

IDRol

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "Documento": "sample string 2",
  "Tipo": 3,
  "IDRol": 4
}

text/xml

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

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

Response Information

Resource Description

RptIngresoRPS
NameDescriptionTypeAdditional information
Data

Collection of RptIngresoListRPS

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "BL": "sample string 1",
      "Ctn": "sample string 2",
      "Fecha": "sample string 3",
      "Tx": "sample string 4"
    },
    {
      "BL": "sample string 1",
      "Ctn": "sample string 2",
      "Fecha": "sample string 3",
      "Tx": "sample string 4"
    }
  ]
}

text/xml

Sample:
<RptIngresoRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Data>
    <RptIngresoListRPS>
      <BL>sample string 1</BL>
      <Ctn>sample string 2</Ctn>
      <Fecha>sample string 3</Fecha>
      <Tx>sample string 4</Tx>
    </RptIngresoListRPS>
    <RptIngresoListRPS>
      <BL>sample string 1</BL>
      <Ctn>sample string 2</Ctn>
      <Fecha>sample string 3</Fecha>
      <Tx>sample string 4</Tx>
    </RptIngresoListRPS>
  </Data>
</RptIngresoRPS>