POST api/listas/cargar

Request Information

URI Parameters

None.

Body Parameters

uploadClientRequest
NameDescriptionTypeAdditional information
id

string

Required

data

Collection of registroLista

Required

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "data": [
    {
      "tipoDocumento": "sample string 1",
      "numeroDocumento": "sample string 2",
      "fechaExpedicion": "sample string 3",
      "primerNombre": "sample string 4",
      "segundoNombre": "sample string 5",
      "primerApellido": "sample string 6",
      "segundoApellido": "sample string 7"
    },
    {
      "tipoDocumento": "sample string 1",
      "numeroDocumento": "sample string 2",
      "fechaExpedicion": "sample string 3",
      "primerNombre": "sample string 4",
      "segundoNombre": "sample string 5",
      "primerApellido": "sample string 6",
      "segundoApellido": "sample string 7"
    }
  ]
}

text/xml

Sample:
<uploadClientRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Listas.Models.Request">
  <data>
    <registroLista>
      <fechaExpedicion>sample string 3</fechaExpedicion>
      <numeroDocumento>sample string 2</numeroDocumento>
      <primerApellido>sample string 6</primerApellido>
      <primerNombre>sample string 4</primerNombre>
      <segundoApellido>sample string 7</segundoApellido>
      <segundoNombre>sample string 5</segundoNombre>
      <tipoDocumento>sample string 1</tipoDocumento>
    </registroLista>
    <registroLista>
      <fechaExpedicion>sample string 3</fechaExpedicion>
      <numeroDocumento>sample string 2</numeroDocumento>
      <primerApellido>sample string 6</primerApellido>
      <primerNombre>sample string 4</primerNombre>
      <segundoApellido>sample string 7</segundoApellido>
      <segundoNombre>sample string 5</segundoNombre>
      <tipoDocumento>sample string 1</tipoDocumento>
    </registroLista>
  </data>
  <id>sample string 1</id>
</uploadClientRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfString
NameDescriptionTypeAdditional information
esExitoso

boolean

None.

UUID

string

None.

mensaje

string

None.

fecha

date

None.

resultado

string

None.

Response Formats

application/json, text/json

Sample:
{
  "esExitoso": true,
  "UUID": "sample string 2",
  "mensaje": "sample string 3",
  "fecha": "2025-07-02T14:15:16.14417-05:00",
  "resultado": "sample string 5"
}

text/xml

Sample:
<ResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccessApis.Entities">
  <UUID>sample string 2</UUID>
  <esExitoso>true</esExitoso>
  <fecha>2025-07-02T14:15:16.14417-05:00</fecha>
  <mensaje>sample string 3</mensaje>
  <resultado>sample string 5</resultado>
</ResponseOfstring>