POST api/Expediente/CreaExpediente
Request Information
URI Parameters
None.
Body Parameters
NuevoExpedienteModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IdUnidadDoc | decimal number |
None. |
|
| Nombre | string |
None. |
|
| Codigo | string |
None. |
|
| Descripcion | string |
None. |
|
| FechaCrea | string |
None. |
|
| Responsable | string |
None. |
|
| Indices | Collection of IndiceNuevoExpediente |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdUnidadDoc": 1.0,
"Nombre": "sample string 2",
"Codigo": "sample string 3",
"Descripcion": "sample string 4",
"FechaCrea": "sample string 5",
"Responsable": "sample string 6",
"Indices": [
{
"CODINDICE": 1,
"VALOR_TXT": "sample string 2",
"VALOR_NUM": 1.0,
"VALOR_FEC": "2026-04-04T02:48:37.2763651-05:00"
},
{
"CODINDICE": 1,
"VALOR_TXT": "sample string 2",
"VALOR_NUM": 1.0,
"VALOR_FEC": "2026-04-04T02:48:37.2763651-05:00"
}
]
}
application/xml, text/xml
Sample:
<NuevoExpedienteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIMAPI.Models.DigitalizacionSIMV5">
<Codigo>sample string 3</Codigo>
<Descripcion>sample string 4</Descripcion>
<FechaCrea>sample string 5</FechaCrea>
<IdUnidadDoc>1</IdUnidadDoc>
<Indices>
<IndiceNuevoExpediente>
<CODINDICE>1</CODINDICE>
<VALOR_FEC>2026-04-04T02:48:37.2763651-05:00</VALOR_FEC>
<VALOR_NUM>1</VALOR_NUM>
<VALOR_TXT>sample string 2</VALOR_TXT>
</IndiceNuevoExpediente>
<IndiceNuevoExpediente>
<CODINDICE>1</CODINDICE>
<VALOR_FEC>2026-04-04T02:48:37.2763651-05:00</VALOR_FEC>
<VALOR_NUM>1</VALOR_NUM>
<VALOR_TXT>sample string 2</VALOR_TXT>
</IndiceNuevoExpediente>
</Indices>
<Nombre>sample string 2</Nombre>
<Responsable>sample string 6</Responsable>
</NuevoExpedienteModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>