| All Verbs | /api/variables | ||
|---|---|---|---|
| All Verbs | /rest/variables |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Usuario | query | string | No | |
| Token | query | string | No | |
| Documento | query | string | No | |
| RazonSocial | query | string | No | |
| Sexo | query | string | No | |
| VR | query | string | No | |
| Cda | query | string | No | |
| Fex | query | string | No | |
| Informe | query | string | No | |
| RespuestaReducida | query | string | No | |
| Timeout | query | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/Variables HTTP/1.1
Host: ws01.nosis.com
Content-Type: text/jsv
Content-Length: length
{
Usuario: String,
Token: String,
Documento: String,
RazonSocial: String,
Sexo: String,
VR: String,
CDA: String,
FEX: String,
Informe: String,
RespuestaReducida: String,
Timeout: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Contenido:
{
Pedido:
{
Usuario: 0,
Documento: String,
RazonSocial: String,
Sexo: String,
VR: String,
FEX: String
},
Resultado:
{
Estado: 0,
Novedad: String,
Tiempo: 0,
FechaRecepcion: String,
Transaccion: String,
Referencia: String,
Servidor: String,
Version: String
},
Datos:
{
Fuentes:
[
{
Nombre: String,
Estado: String
}
],
Informe:
{
Status: String,
Ticket: String
},
Variables:
[
{
Nombre: String,
Valor: String,
Descripcion: String,
Detalle: String,
Tipo: String,
FechaAct: String
}
],
Coincidencias:
[
{
Documento: String,
RazonSocial: String,
Sexo: String
}
]
}
}
}