HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/Ticket HTTP/1.1
Host: informativas.sar.gob.hn
Content-Type: text/jsv
Content-Length: length
{
idTransaccion: String,
conError: False,
sinError: True,
mensajes:
[
{
codigo: 0,
tipo: 0,
descripcion: String
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
finalizo: False,
mensajes:
[
{
codigo: 0,
tipo: 0,
descripcion: String
}
],
adjuntos:
[
{
nombre: String,
descripcion: String,
contentType: String,
archivo: AA==
}
]
}