POST api/Expediente/SubeDocExpediente

Request Information

URI Parameters

None.

Body Parameters

DocumentoExpedienteModel
NameDescriptionTypeAdditional information
IdExpediente

integer

None.

IdUnidadDocumental

integer

None.

FechaCreacion

date

None.

IdUsuarioCreacion

integer

None.

Radicado

string

None.

Contenido

Collection of byte

None.

Indices

Collection of IndicesDocumentoModel

None.

Request Formats

application/json, text/json

Sample:
{
  "IdExpediente": 1,
  "IdUnidadDocumental": 2,
  "FechaCreacion": "2026-04-04T02:48:36.3670244-05:00",
  "IdUsuarioCreacion": 4,
  "Radicado": "sample string 5",
  "Contenido": "QEA=",
  "Indices": [
    {
      "CodigoIndiceDocumento": 1,
      "Valor": "sample string 2"
    },
    {
      "CodigoIndiceDocumento": 1,
      "Valor": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<DocumentoExpedienteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIMAPI.Models.DigitalizacionSIMV5">
  <Contenido>QEA=</Contenido>
  <FechaCreacion>2026-04-04T02:48:36.3670244-05:00</FechaCreacion>
  <IdExpediente>1</IdExpediente>
  <IdUnidadDocumental>2</IdUnidadDocumental>
  <IdUsuarioCreacion>4</IdUsuarioCreacion>
  <Indices>
    <IndicesDocumentoModel>
      <CodigoIndiceDocumento>1</CodigoIndiceDocumento>
      <Valor>sample string 2</Valor>
    </IndicesDocumentoModel>
    <IndicesDocumentoModel>
      <CodigoIndiceDocumento>1</CodigoIndiceDocumento>
      <Valor>sample string 2</Valor>
    </IndicesDocumentoModel>
  </Indices>
  <Radicado>sample string 5</Radicado>
</DocumentoExpedienteModel>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>