pjmakey2

Untitled

May 22nd, 2020
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. requests is string
  2. requests = gsRequestUrl + "/imp_man/execute_module"
  3. //sGrupo, sDescripcion, sLabel are strings
  4. sistema is string
  5. sistema = 'E'
  6. //sistema puede ser
  7. //E
  8. //M
  9. //R
  10. //S
  11. //E = egresos, M = mesa de entrada, R = reparto
  12. paramsUser is string
  13. paramsUser = StringBuild("app_name=%1&module_name=%2&class_name=%3&method_name=%4&username=%5&sistema=%6&api_key=%7", ...
  14. "imp_man", ...
  15. "imp_man.imp_man_bloqueo", ...
  16. "ImpBloqueo", ...
  17. "get_notify", ...
  18. username, ...
  19. sistema, ...
  20. gsApiKey)
  21.  
  22. IF HTTPRequest(requests, "", "", paramsUser) = True THEN
  23. // Info("Request OK, result: ", ...
  24. // HTMLToText(HTTPGetResult(httpResult)))
  25. gvBloqueos = JSONToVariant(HTTPGetResult(httpResult))
  26. ELSE
  27. Error(ErrorInfo())
  28. END
Advertisement
Add Comment
Please, Sign In to add comment