POST api/facturarpt

Request Information

URI Parameters

None.

Body Parameters

RptFacturaRQT
NameDescriptionTypeAdditional information
IDUSer

integer

None.

IDRol

integer

None.

UnidadNeg

string

None.

Desde

string

None.

Hasta

string

None.

Documento

string

None.

Cliente

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IDUSer": 1,
  "IDRol": 2,
  "UnidadNeg": "sample string 3",
  "Desde": "sample string 4",
  "Hasta": "sample string 5",
  "Documento": "sample string 6",
  "Cliente": "sample string 7"
}

text/xml

Sample:
<RptFacturaRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Cliente>sample string 7</Cliente>
  <Desde>sample string 4</Desde>
  <Documento>sample string 6</Documento>
  <Hasta>sample string 5</Hasta>
  <IDRol>2</IDRol>
  <IDUSer>1</IDUSer>
  <UnidadNeg>sample string 3</UnidadNeg>
</RptFacturaRQT>

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

Response Information

Resource Description

RptFacturaRPS
NameDescriptionTypeAdditional information
Data

Collection of RptFacturaListRPS

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "FilePath": "sample string 1",
      "FilePathXML": "sample string 2",
      "Registro": "sample string 3",
      "Documento": "sample string 4",
      "TipoDoc": "sample string 5",
      "DocDate": "sample string 6",
      "CardName": "sample string 7",
      "NumAtCard": "sample string 8",
      "DocCur": "sample string 9",
      "Subtotal": "sample string 10",
      "Igv": "sample string 11",
      "Total": "sample string 12",
      "DocDueDate": "sample string 13"
    },
    {
      "FilePath": "sample string 1",
      "FilePathXML": "sample string 2",
      "Registro": "sample string 3",
      "Documento": "sample string 4",
      "TipoDoc": "sample string 5",
      "DocDate": "sample string 6",
      "CardName": "sample string 7",
      "NumAtCard": "sample string 8",
      "DocCur": "sample string 9",
      "Subtotal": "sample string 10",
      "Igv": "sample string 11",
      "Total": "sample string 12",
      "DocDueDate": "sample string 13"
    }
  ]
}

text/xml

Sample:
<RptFacturaRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Data>
    <RptFacturaListRPS>
      <CardName>sample string 7</CardName>
      <DocCur>sample string 9</DocCur>
      <DocDate>sample string 6</DocDate>
      <DocDueDate>sample string 13</DocDueDate>
      <Documento>sample string 4</Documento>
      <FilePath>sample string 1</FilePath>
      <FilePathXML>sample string 2</FilePathXML>
      <Igv>sample string 11</Igv>
      <NumAtCard>sample string 8</NumAtCard>
      <Registro>sample string 3</Registro>
      <Subtotal>sample string 10</Subtotal>
      <TipoDoc>sample string 5</TipoDoc>
      <Total>sample string 12</Total>
    </RptFacturaListRPS>
    <RptFacturaListRPS>
      <CardName>sample string 7</CardName>
      <DocCur>sample string 9</DocCur>
      <DocDate>sample string 6</DocDate>
      <DocDueDate>sample string 13</DocDueDate>
      <Documento>sample string 4</Documento>
      <FilePath>sample string 1</FilePath>
      <FilePathXML>sample string 2</FilePathXML>
      <Igv>sample string 11</Igv>
      <NumAtCard>sample string 8</NumAtCard>
      <Registro>sample string 3</Registro>
      <Subtotal>sample string 10</Subtotal>
      <TipoDoc>sample string 5</TipoDoc>
      <Total>sample string 12</Total>
    </RptFacturaListRPS>
  </Data>
</RptFacturaRPS>