POST GetDocumentsStatusByFilterWithPci

Permite consultar varios documentos, segĂșn los filtros dados

Request Information

URI Parameters

None.

Body Parameters

Filtros a aplicar

DocumentsStatusByFilterWithPci
NameDescriptionTypeAdditional information
pci

PCI del documento

string

Required

prefix

Prefijo del documento

string

Optional

number

Número del documento

string

Optional

acquirer

Tipo y número del documento, del adquirente

Identification

Optional

dateFrom

Fecha de inicio, de la búsqueda

date

Optional

dateTo

Fecha final, de la búsqueda

date

Optional

isAcceptedByTheDian

Filtro sobre estado de la DIAN. true: aceptado, false: rechazado, null: sin filtro

boolean

Optional

documentNumbersToFilter

Números específicos a filtrar. Ej: SETP100, NC42

Collection of string

Optional

Request Formats

application/json, text/json

Sample:
{
  "pci": "sample string 1",
  "prefix": "sample string 2",
  "number": "sample string 3",
  "acquirer": {
    "documentType": "sample string 1",
    "documentNumber": "sample string 2"
  },
  "dateFrom": "2024-12-21T12:46:59.3969072-05:00",
  "dateTo": "2024-12-21T12:46:59.3969072-05:00",
  "isAcceptedByTheDian": true,
  "documentNumbersToFilter": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<DocumentsStatusByFilterWithPci xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models.Requests.File">
  <acquirer xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models">
    <documentNumber>sample string 2</documentNumber>
    <documentType>sample string 1</documentType>
  </acquirer>
  <dateFrom xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models">2024-12-21T12:46:59.3969072-05:00</dateFrom>
  <dateTo xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models">2024-12-21T12:46:59.3969072-05:00</dateTo>
  <documentNumbersToFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </documentNumbersToFilter>
  <isAcceptedByTheDian xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models">true</isAcceptedByTheDian>
  <number xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models">sample string 3</number>
  <prefix xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models">sample string 2</prefix>
  <pci>sample string 1</pci>
</DocumentsStatusByFilterWithPci>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Listado

DocumentsStatusByFilter
NameDescriptionTypeAdditional information
prefix

Prefijo del documento

string

Optional

number

Número del documento

string

Optional

acquirer

Tipo y número del documento, del adquirente

Identification

Optional

dateFrom

Fecha de inicio, de la búsqueda

date

Optional

dateTo

Fecha final, de la búsqueda

date

Optional

isAcceptedByTheDian

Filtro sobre estado de la DIAN. true: aceptado, false: rechazado, null: sin filtro

boolean

Optional

documentNumbersToFilter

Números específicos a filtrar. Ej: SETP100, NC42

Collection of string

Optional

Response Formats

application/json, text/json

Sample:
{
  "prefix": "sample string 1",
  "number": "sample string 2",
  "acquirer": {
    "documentType": "sample string 1",
    "documentNumber": "sample string 2"
  },
  "dateFrom": "2024-12-21T12:46:59.4125349-05:00",
  "dateTo": "2024-12-21T12:46:59.4125349-05:00",
  "isAcceptedByTheDian": true,
  "documentNumbersToFilter": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<DocumentsStatusByFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models">
  <acquirer>
    <documentNumber>sample string 2</documentNumber>
    <documentType>sample string 1</documentType>
  </acquirer>
  <dateFrom>2024-12-21T12:46:59.4125349-05:00</dateFrom>
  <dateTo>2024-12-21T12:46:59.4125349-05:00</dateTo>
  <documentNumbersToFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </documentNumbersToFilter>
  <isAcceptedByTheDian>true</isAcceptedByTheDian>
  <number>sample string 2</number>
  <prefix>sample string 1</prefix>
</DocumentsStatusByFilter>