PayPal Gateway - 2013 Guía de usuario Pagina 50

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 124
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 49
Reporting Samples
Updating a Report Template
B
50 Gateway Reporting Developer Guide
<responseMsg>Request has completed successfully</responseMsg>
</baseResponse>
</reportingEngineResponse>
Updating a Report Template
This sample demonstrates how to update the parameter information in a report template.
Updating a Report Template Request
The request specifies the report template to update by its name ‘My Template’ and the report
type (Daily Activity Report) upon which it was originally based.Updating a report template is
not an additive process. It replaces the parameters and values previously defined for ‘My
Template’ with new parameters and values.
<?xml version="1.0" encoding="UTF-8"?>
<reportingEngineRequest>
<authRequest>
<user>User</user>
<vendor>Vendor</vendor>
<partner>Partner</partner>
<password>Passwor d</password>
</authRequest>
<updateTemplateRequest>
<templateDefinition>
<templateName>My Template</templateName>
<reportName>DailyActivityReport</reportName>
<reportParam>
<paramName>name3</paramName>
<paramValue>value3</paramValue>
</reportParam>
<reportParam>
<paramName>name4</paramName>
<paramValue>value4</paramValue>
</reportParam>
</templateDefinition>
</updateTemplateRequest>
</reportingEngineRequest>
Updating a Report Template Response
In the response to updating a report template, the response code of 100 indicates that the
request completed successfully. The getTemplateRequest can be used to check the new
parameters and values.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<reportingEngineResponse>
Vista de pagina 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 123 124

Comentarios a estos manuales

Sin comentarios