All URIs are relative to https://localhost:8080/RestAPI
Method | HTTP request | Description |
---|---|---|
get_email_by_id | GET /emails/{email-ID} | Retrieves a single invoice, specified by the version-ID parameter. |
get_email_html_by_id | GET /emails/{email-ID}.html | Retrieves a single invoice, specified by the version-ID parameter. |
get_email_text_by_id | GET /emails/{email-ID}.txt | Retrieves a single invoice, specified by the version-ID parameter. |
EmailPagedMetadata get_email_by_id(email_id, opts)
Retrieves a single invoice, specified by the version-ID parameter.
{ "nickname" : "Retrieve by version","response" : "getEmailByID.html"}
# load the gem
require 'bf_ruby2'
api_instance = Bfwd::EmailsApi.new
email_id = "email_id_example" # String |
opts = {
organizations: ["organizations_example"] # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
}
begin
#Retrieves a single invoice, specified by the version-ID parameter.
result = api_instance.get_email_by_id(email_id, opts)
p result
rescue Bfwd::ApiError => e
puts "Exception when calling EmailsApi->get_email_by_id: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
email_id | String | ||
organizations | Array<String> | A list of organization-IDs used to restrict the scope of API calls. | [optional] |
No authorization required
- Content-Type: text/plain
- Accept: application/json; charset=utf-8, text/xml
String get_email_html_by_id(email_id, opts)
Retrieves a single invoice, specified by the version-ID parameter.
{ "nickname" : "Retrieve by version","response" : "getEmailByID.html"}
# load the gem
require 'bf_ruby2'
api_instance = Bfwd::EmailsApi.new
email_id = "email_id_example" # String |
opts = {
organizations: ["organizations_example"] # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
}
begin
#Retrieves a single invoice, specified by the version-ID parameter.
result = api_instance.get_email_html_by_id(email_id, opts)
p result
rescue Bfwd::ApiError => e
puts "Exception when calling EmailsApi->get_email_html_by_id: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
email_id | String | ||
organizations | Array<String> | A list of organization-IDs used to restrict the scope of API calls. | [optional] |
String
No authorization required
- Content-Type: text/plain
- Accept: text/html
String get_email_text_by_id(email_id, opts)
Retrieves a single invoice, specified by the version-ID parameter.
{ "nickname" : "Retrieve by version","response" : "getEmailByID.html"}
# load the gem
require 'bf_ruby2'
api_instance = Bfwd::EmailsApi.new
email_id = "email_id_example" # String |
opts = {
organizations: ["organizations_example"] # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
}
begin
#Retrieves a single invoice, specified by the version-ID parameter.
result = api_instance.get_email_text_by_id(email_id, opts)
p result
rescue Bfwd::ApiError => e
puts "Exception when calling EmailsApi->get_email_text_by_id: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
email_id | String | ||
organizations | Array<String> | A list of organization-IDs used to restrict the scope of API calls. | [optional] |
String
No authorization required
- Content-Type: text/plain
- Accept: text/plain