
Reporting Samples
Deleting a Report Template
B
52 Gateway Reporting Developer Guide
<reportParam>
<paramName>name3</paramName>
<paramValue>value3</paramValue>
</reportParam>
<reportParam>
<paramName>name4</paramName>
<paramValue>value4</paramValue>
</reportParam>
</templateDefinition>
</getTemplateResponse>
</reportingEngineResponse>
Deleting a Report Template
This sample demonstrates how to delete a report template.
Deleting a Report Template Request
The request to delete a report template includes the templateName ‘My Template.’
<?xml version="1.0" encoding="UTF-8"?>
<reportingEngineRequest>
<authRequest>
<user>User</user>
<vendor>Vendor</vendor>
<partner>Partner</partner>
<password>Passwor d</password>
</authRequest>
<deleteTemplateRequest>
<templateName>My Template</templateName>
</deleteTemplateRequest>
</reportingEngineRequest>
Deleting a Report Template Response
In the response to deleting a report template, the response code of 100 indicates that the
request completed successfully. If you were to specify a bogus name for the report template (in
error), responseCode 113, “Unknown template requested.”
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<reportingEngineResponse>
<baseResponse>
<responseCode>113</responseCode>
<responseMsg>Unknown template requested</responseMsg>
</baseResponse>
</reportingEngineResponse>
</reportingEngineRequest>
Comentarios a estos manuales