ePages 7.3.0 - DE_EPAGES/Janolaw/API/JanolawRequest.pm

Package DE_EPAGES::Janolaw::API::JanolawRequest

This package functionality for janolaw requests

@EXPORT_OK
BuildJanolawRequestUrl
ExecJanolawRequest

Functions

BuildJanolawRequestUrl
ExecJanolawRequest

BuildJanolawRequestUrl

create url for a janolaw request

Syntax
BuildJanolawRequestUrl();
Input
Shop (object)
the shop object
templateAttrName (String)
the name of the system attribute for the template
langPKey (integer)
the shop object
Return
$url (string)
URL as string

ExecJanolawRequest

execute a janolaw request

Syntax
ExecJanolawRequest();
Input
$method (String)
the name of the request method
$url (String)
url for a janolaw request
Return
$hResult (ref.hash)
hash with result of the request
  • CONTENT - content of the request
  • ERROR - error code