You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/TransactionBatchesApi.md
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@ All URIs are relative to *https://apitest.cybersource.com*
4
4
5
5
Method | HTTP request | Description
6
6
------------- | ------------- | -------------
7
-
[**pts_v1_transaction_batches_get**](TransactionBatchesApi.md#pts_v1_transaction_batches_get) | **GET** /pts/v1/transaction-batches | Gets a list of batch files
8
-
[**pts_v1_transaction_batches_id_get**](TransactionBatchesApi.md#pts_v1_transaction_batches_id_get) | **GET** /pts/v1/transaction-batches/{id} | Get individual batch file
7
+
[**get_transaction_batch_id**](TransactionBatchesApi.md#get_transaction_batch_id) | **GET** /pts/v1/transaction-batches/{id} | Get individual batch file
8
+
[**get_transaction_batches**](TransactionBatchesApi.md#get_transaction_batches) | **GET** /pts/v1/transaction-batches | Gets a list of batch files
start_time =DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
26
-
27
-
end_time =DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
25
+
id ="id_example"# String | The batch id assigned for the template.
28
26
29
27
30
28
begin
31
-
#Gets a list of batch files
32
-
result = api_instance.pts_v1_transaction_batches_get(start_time, end_time)
29
+
#Get individual batch file
30
+
result = api_instance.get_transaction_batch_id(id)
33
31
p result
34
32
rescueCyberSource::ApiError => e
35
-
puts"Exception when calling TransactionBatchesApi->pts_v1_transaction_batches_get: #{e}"
33
+
puts"Exception when calling TransactionBatchesApi->get_transaction_batch_id: #{e}"
**start_time** | **DateTime**| Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14**Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ |
44
-
**end_time** | **DateTime**| Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14**Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ |
41
+
**id** | **String**| The batch id assigned for the template. |
id ="id_example"# String | The batch id assigned for the template.
72
+
start_time =DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
73
+
74
+
end_time =DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
76
75
77
76
78
77
begin
79
-
#Get individual batch file
80
-
result = api_instance.pts_v1_transaction_batches_id_get(id)
78
+
#Gets a list of batch files
79
+
result = api_instance.get_transaction_batches(start_time, end_time)
81
80
p result
82
81
rescueCyberSource::ApiError => e
83
-
puts"Exception when calling TransactionBatchesApi->pts_v1_transaction_batches_id_get: #{e}"
82
+
puts"Exception when calling TransactionBatchesApi->get_transaction_batches: #{e}"
**id** | **String**| The batch id assigned for the template. |
90
+
**start_time** | **DateTime**| Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14**Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ |
91
+
**end_time** | **DateTime**| Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14**Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ |
0 commit comments