POST api/Documento
Request Information
URI Parameters
None.
Body Parameters
DocumentoName | Description | Type | Additional information |
---|---|---|---|
IdDocumento | globally unique identifier |
None. |
|
IdTipoDocumento | string |
None. |
|
NroDocumento | string |
None. |
|
FechaEmision | date |
None. |
|
CodEntidad | string |
None. |
|
TipoCambio | decimal number |
None. |
|
Concepto | string |
None. |
|
FechaVencimiento | date |
None. |
|
ValorVenta | decimal number |
None. |
|
IGV | decimal number |
None. |
|
Descuento | decimal number |
None. |
|
Total | decimal number |
None. |
|
ImporteCancelado | decimal number |
None. |
|
Saldo | decimal number |
None. |
|
CitaCodigo | string |
None. |
|
Cobertura | decimal number |
None. |
|
Documentodetalle | Collection of DocumentoDetalle |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdDocumento": "5e8fce6f-88c0-4a77-bb6d-de1498322745", "IdTipoDocumento": "sample string 2", "NroDocumento": "sample string 3", "FechaEmision": "2024-10-15T14:08:55.9159958-05:00", "CodEntidad": "sample string 5", "TipoCambio": 6.0, "Concepto": "sample string 7", "FechaVencimiento": "2024-10-15T14:08:55.9159958-05:00", "ValorVenta": 9.0, "IGV": 10.0, "Descuento": 11.0, "Total": 12.0, "ImporteCancelado": 13.0, "Saldo": 14.0, "CitaCodigo": "sample string 15", "Cobertura": 16.0, "Documentodetalle": [ { "CodRecurso": "sample string 1", "Cantidad": 2.0, "Precio": 3.0, "ImporteBruto": 4.0, "PorcentajeDescuento": 5.0, "ImporteDescuento": 6.0, "ImporteNeto": 7.0, "ImporteIGV": 8.0, "PrecioSinIGV": 9.0, "CodCita": "sample string 10", "item": 11, "EstudioId": "sample string 12", "Cobertura": 13.0 }, { "CodRecurso": "sample string 1", "Cantidad": 2.0, "Precio": 3.0, "ImporteBruto": 4.0, "PorcentajeDescuento": 5.0, "ImporteDescuento": 6.0, "ImporteNeto": 7.0, "ImporteIGV": 8.0, "PrecioSinIGV": 9.0, "CodCita": "sample string 10", "item": 11, "EstudioId": "sample string 12", "Cobertura": 13.0 } ] }
Response Information
Resource Description
ErroresBEName | Description | Type | Additional information |
---|---|---|---|
Fila | integer |
None. |
|
number | string |
None. |
|
status | string |
None. |
|
code | string |
None. |
|
description | string |
None. |
|
value | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Fila": 1, "number": "sample string 2", "status": "sample string 3", "code": "sample string 4", "description": "sample string 5", "value": "sample string 6" }