The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/Proceso HTTP/1.1
Host: informativas.sar.gob.hn
Content-Type: text/jsv
Content-Length: length
{
data:
{
codigo: String,
periodo:
{
anio: 0,
mes: 0,
formatoTexto: 000,
formatoNumero: 0
},
rtn: String,
secuencia: 0,
nombreColeccionDetalle: String,
version:
{
menor: 0,
mayor: 0,
publicacion: 0
},
casillasComplementarias:
[
{
codigo: String,
valor:
{
entero:
{
valor: 0,
tipo: 1
},
texto:
{
valor: String,
tipo: 2
},
moneda:
{
valor: 0,
tipo: 3
},
fecha:
{
valor: 0001-01-01,
tipo: 4
},
id: 0
}
}
],
idPresentacion: String,
resumen:
[
{
idGrupo: 0,
totalRegistros: 0
}
],
valoresCriterioUnico:
[
{
codigo: 0,
valor: String
}
],
criterioUnico: String
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
idTransaccion: String,
conError: False,
sinError: True,
mensajes:
[
{
codigo: 0,
tipo: 0,
descripcion: String
}
]
}