-- desactivación de servicio POG
This commit is contained in:
@@ -100,18 +100,18 @@ Public Class E119 : Implements IHttpHandler
|
||||
Try
|
||||
Dim Metodo = If(context.Request("Metodo") = Nothing, "", context.Request("Metodo").ToString())
|
||||
'OBTENER EXISTENCIAS
|
||||
If Metodo = "BASF_POG40" Then
|
||||
context.Response.ContentType = "application/json"
|
||||
Dim Auth = ValidarSolicitud(context)
|
||||
'If Metodo = "BASF_POG40" Then
|
||||
' context.Response.ContentType = "application/json"
|
||||
' Dim Auth = ValidarSolicitud(context)
|
||||
|
||||
If Auth.IsSucces Then
|
||||
retorno = ConsultaDatos(context)
|
||||
Else
|
||||
context.Response.StatusCode = Auth.StatusCode
|
||||
retorno = JsonConvert.SerializeObject(Auth.ErrorMessage)
|
||||
End If
|
||||
' If Auth.IsSucces Then
|
||||
' retorno = ConsultaDatos(context)
|
||||
' Else
|
||||
' context.Response.StatusCode = Auth.StatusCode
|
||||
' retorno = JsonConvert.SerializeObject(Auth.ErrorMessage)
|
||||
' End If
|
||||
|
||||
End If
|
||||
'End If
|
||||
|
||||
context.Response.Write(retorno)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user