Sha256: edb2398d5261a60ef44a6c9de4bf3aeb4f0c172f7b6b1a896da9efb82a1b5d29

Contents?: true

Size: 1.45 KB

Versions: 2

Compression:

Stored size: 1.45 KB

Contents

# SubskribeDevClient::RateCardApi

All URIs are relative to *https://api.dev2.subskribe.net*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_price_attributes_csv**](RateCardApi.md#get_price_attributes_csv) | **GET** /ratecards/attributes/csv | Fetch the price attributes defined in the system in CSV format


# **get_price_attributes_csv**
> get_price_attributes_csv

Fetch the price attributes defined in the system in CSV format

Get all the price attributes in the system in CSV format one per row

### Example
```ruby
# load the gem
require 'subskribe_dev'
# setup authorization
SubskribeDevClient.configure do |config|
  # Configure API key authorization: ApiKeyAuth
  config.api_key['X-API-Key'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
end

api_instance = SubskribeDevClient::RateCardApi.new

begin
  #Fetch the price attributes defined in the system in CSV format
  api_instance.get_price_attributes_csv
rescue SubskribeDevClient::ApiError => e
  puts "Exception when calling RateCardApi->get_price_attributes_csv: #{e}"
end
```

### Parameters
This endpoint does not need any parameter.

### Return type

nil (empty response body)

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/octet-stream, application/json



Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
subskribe_dev-1.3.1 docs/RateCardApi.md
subskribe_dev-1.2.0 docs/RateCardApi.md