|
| 1 | +# CyberSource::DownloadDTDApi |
| 2 | + |
| 3 | +All URIs are relative to *https://apitest.cybersource.com* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**get_dtdv2**](DownloadDTDApi.md#get_dtdv2) | **GET** /dtds/{reportDefinitionNameVersion} | Used to download DTDs for reports |
| 8 | + |
| 9 | + |
| 10 | +# **get_dtdv2** |
| 11 | +> get_dtdv2(report_definition_name_version) |
| 12 | +
|
| 13 | +Used to download DTDs for reports |
| 14 | + |
| 15 | +Downloads DTDs for reports on no-auth. |
| 16 | + |
| 17 | +### Example |
| 18 | +```ruby |
| 19 | +# load the gem |
| 20 | +require 'cybersource_rest_client' |
| 21 | + |
| 22 | +api_instance = CyberSource::DownloadDTDApi.new |
| 23 | + |
| 24 | +report_definition_name_version = "report_definition_name_version_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 |
| 25 | + |
| 26 | + |
| 27 | +begin |
| 28 | + #Used to download DTDs for reports |
| 29 | + api_instance.get_dtdv2(report_definition_name_version) |
| 30 | +rescue CyberSource::ApiError => e |
| 31 | + puts "Exception when calling DownloadDTDApi->get_dtdv2: #{e}" |
| 32 | +end |
| 33 | +``` |
| 34 | + |
| 35 | +### Parameters |
| 36 | + |
| 37 | +Name | Type | Description | Notes |
| 38 | +------------- | ------------- | ------------- | ------------- |
| 39 | + **report_definition_name_version** | **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 | |
| 40 | + |
| 41 | +### Return type |
| 42 | + |
| 43 | +nil (empty response body) |
| 44 | + |
| 45 | +### Authorization |
| 46 | + |
| 47 | +No authorization required |
| 48 | + |
| 49 | +### HTTP request headers |
| 50 | + |
| 51 | + - **Content-Type**: application/json;charset=utf-8 |
| 52 | + - **Accept**: application/xml-dtd |
| 53 | + |
| 54 | + |
| 55 | + |
0 commit comments