cybersource-rest-client
Version:
Node.js SDK for the CyberSource REST API
56 lines (35 loc) • 1.63 kB
Markdown
//apitest.cybersource.com*
Method | HTTP request | Description
------------- | ------------- | -------------
[**getDTDV2**](DownloadDTDApi.md
<a name="getDTDV2"></a>
> getDTDV2(reportDefinitionNameVersion)
Download DTD for Report
Used to download DTDs for reports on no-auth.
```javascript
var CyberSource = require('CyberSource');
var apiInstance = new CyberSource.DownloadDTDApi();
var reportDefinitionNameVersion = "reportDefinitionNameVersion_example"; // String | Name and version of DTD file to download. Some DTDs only have one version. In that case version name is not needed. Some example values are ctdr-1.0, tdr, pbdr-1.1
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.getDTDV2(reportDefinitionNameVersion, callback);
```
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**reportDefinitionNameVersion** | **String**| Name and version of DTD file to download. Some DTDs only have one version. In that case version name is not needed. Some example values are ctdr-1.0, tdr, pbdr-1.1 |
null (empty response body)
No authorization required
- **Content-Type**: application/json;charset=utf-8
- **Accept**: application/xml-dtd
All URIs are relative to *https: