All URIs are relative to https://api.dialmycalls.com/2.0
| Method | HTTP request | Description |
|---|---|---|
| get_do_not_contacts | GET /donotcontacts | List DoNotContacts |
Object get_do_not_contacts(opts)
List DoNotContacts
Retrieve a list of donotcontacts.
Returns a list of donotcontact objects.
curl -i -H \"Content-Type: application/json\" -X GET https://$API_KEY@api.dialmycalls.com/2.0/donotcontacts
# load the gem
require 'dialmycalls_client'
# setup authorization
DialMyCalls.configure do |config|
# Configure API key authorization: api_key
config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
end
api_instance = DialMyCalls::DoNotContactsApi.new
opts = {
range: "range_example" # String | Range (ie \"records=201-300\") of donotcontacts requested
}
begin
#List DoNotContacts
result = api_instance.get_do_not_contacts(opts)
p result
rescue DialMyCalls::ApiError => e
puts "Exception when calling DoNotContactsApi->get_do_not_contacts: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| range | String | Range (ie "records=201-300") of donotcontacts requested | [optional] |
Object
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml