SAC WS01

<back to all web services

Variables

The following routes are available for this service:
All Verbs/api/variables
All Verbs/rest/variables
Variables Parameters:
NameParameterData TypeRequiredDescription
UsuarioquerystringNo
TokenquerystringNo
DocumentoquerystringNo
RazonSocialquerystringNo
SexoquerystringNo
VRquerystringNo
CdaquerystringNo
FexquerystringNo
InformequerystringNo
RespuestaReducidaquerystringNo
TimeoutquerystringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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
				}
			]
		}
	}
}