ePages 7.26.0 - DE_EPAGES/SEUR/UI/JSON.pm

Package DE_EPAGES::SEUR::UI::JSON

Handler for AJAX request to reload a tracking request

Base
DE_EPAGES::Presentation::UI::JSON

Functions

JSONCheckPC
JSONViewTracking

JSONCheckPC

The function receive a ShippingFulfillmentMethod via POST and call the Seur web service. With the response from Seur it processes the cities html template. The Result will retuned as a String back to the Java script. If a Error appears the function will return a positiv Error flag.

Syntax
JSONCheckPC( $Servlet );
Input
$Servlet (object)
servlet object
Return
$ReturnValue (String)
a html template

JSONViewTracking

The function receive a main product ASIN via POST and call the MWSProduct web service. With the response from Amazon it processes the main product html template. The Result will retuned as a String back to the Java script. If a Error appears the function will return a positiv Error flag.

Syntax
JSONViewTracking( $Servlet );
Input
$Servlet (object)
servlet object
Return
$ReturnValue (String)
a html template