Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- requests is string
- requests = gsRequestUrl + "/imp_man/execute_module"
- //sGrupo, sDescripcion, sLabel are strings
- sistema is string
- sistema = 'E'
- //sistema puede ser
- //E
- //M
- //R
- //S
- //E = egresos, M = mesa de entrada, R = reparto
- paramsUser is string
- paramsUser = StringBuild("app_name=%1&module_name=%2&class_name=%3&method_name=%4&username=%5&sistema=%6&api_key=%7", ...
- "imp_man", ...
- "imp_man.imp_man_bloqueo", ...
- "ImpBloqueo", ...
- "get_notify", ...
- username, ...
- sistema, ...
- gsApiKey)
- IF HTTPRequest(requests, "", "", paramsUser) = True THEN
- // Info("Request OK, result: ", ...
- // HTMLToText(HTTPGetResult(httpResult)))
- gvBloqueos = JSONToVariant(HTTPGetResult(httpResult))
- ELSE
- Error(ErrorInfo())
- END
Advertisement
Add Comment
Please, Sign In to add comment