PayPal Payflow Pro - 2010 Betriebsanweisung Seite 47

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 104
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 46
Reporting Developer’s Guide 47
Reporting Samples
Creating a Report Template
B
Creating a Report Template
This sample demonstrates how to create a report template from a standard Daily Activity
Report.
Creating a Report Template Request
This request creates a report template from a Daily Activity Report with a report template
name of ‘My Template.’ It sets the values of two parameters (name1 and name2). The
parameter names and values are stored in the database.
<?xml version="1.0" encoding="UTF-8"?>
<reportingEngineRequest>
<authRequest>
<user>User</user>
<vendor>Vendor</vendor>
<partner>Partner</partner>
<password>Password</password>
</authRequest>
<createTemplateRequest>
<templateDefinition>
<templateName>My Template</templateName>
<reportName>DailyActivityReport</reportName>
<reportParam>
<paramName>name1</paramName>
<paramValue>value1</paramValue>
</reportParam>
<reportParam>
<paramName>name2</paramName>
<paramValue>value2</paramValue>
</reportParam>
</templateDefinition>
</createTemplateRequest>
</reportingEngineRequest>
Creating a Report Template Response
In the response to creating a report template, the response code of 100 indicates that the
request completed successfully. Thereafter, when ‘My Template’ is run, these parameters are
automatically retrieved from the database and used to generate the Daily Activity Report.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<reportingEngineResponse>
<baseResponse>
<responseCode>100</responseCode>
<responseMsg>Request has completed successfully</responseMsg>
</baseResponse>
</reportingEngineResponse>
Seitenansicht 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 103 104

Kommentare zu diesen Handbüchern

Keine Kommentare