All URIs are relative to https://rest.clicksend.com/v3
| Method | HTTP request | Description |
|---|---|---|
| fax_inbound_automation_delete | DELETE /automations/fax/inbound/{inbound_rule_id} | Delete inbound fax automation |
| fax_inbound_automation_get | GET /automations/fax/inbound/{inbound_rule_id} | Get specific inbound fax automation |
| fax_inbound_automation_post | POST /automations/fax/inbound | Create new inbound fax automation |
| fax_inbound_automation_put | PUT /automations/fax/inbound/{inbound_rule_id} | Update inbound fax automation |
| fax_inbound_automations_get | GET /automations/fax/inbound | Get all inbound fax automations |
str fax_inbound_automation_delete(inbound_rule_id)
Delete inbound fax automation
Delete inbound fax automation
from __future__ import print_function
import time
import clicksend_client
from clicksend_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: BasicAuth
configuration = clicksend_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = clicksend_client.InboundFAXRulesApi(clicksend_client.ApiClient(configuration))
inbound_rule_id = 56 # int | Inbound rule id
try:
# Delete inbound fax automation
api_response = api_instance.fax_inbound_automation_delete(inbound_rule_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling InboundFAXRulesApi->fax_inbound_automation_delete: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| inbound_rule_id | int | Inbound rule id |
str
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str fax_inbound_automation_get(inbound_rule_id)
Get specific inbound fax automation
Get specific inbound fax automation
from __future__ import print_function
import time
import clicksend_client
from clicksend_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: BasicAuth
configuration = clicksend_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = clicksend_client.InboundFAXRulesApi(clicksend_client.ApiClient(configuration))
inbound_rule_id = 56 # int | Inbound rule id
try:
# Get specific inbound fax automation
api_response = api_instance.fax_inbound_automation_get(inbound_rule_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling InboundFAXRulesApi->fax_inbound_automation_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| inbound_rule_id | int | Inbound rule id |
str
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str fax_inbound_automation_post(inbound_fax_rule)
Create new inbound fax automation
Create new inbound fax automation
from __future__ import print_function
import time
import clicksend_client
from clicksend_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: BasicAuth
configuration = clicksend_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = clicksend_client.InboundFAXRulesApi(clicksend_client.ApiClient(configuration))
inbound_fax_rule = clicksend_client.InboundFaxRule() # InboundFaxRule | Inbound fax rule model
try:
# Create new inbound fax automation
api_response = api_instance.fax_inbound_automation_post(inbound_fax_rule)
pprint(api_response)
except ApiException as e:
print("Exception when calling InboundFAXRulesApi->fax_inbound_automation_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| inbound_fax_rule | InboundFaxRule | Inbound fax rule model |
str
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str fax_inbound_automation_put(inbound_rule_id, inbound_fax_rule)
Update inbound fax automation
Update inbound fax automation
from __future__ import print_function
import time
import clicksend_client
from clicksend_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: BasicAuth
configuration = clicksend_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = clicksend_client.InboundFAXRulesApi(clicksend_client.ApiClient(configuration))
inbound_rule_id = 56 # int | Inbound rule id
inbound_fax_rule = clicksend_client.InboundFaxRule() # InboundFaxRule | Inbound fax rule model
try:
# Update inbound fax automation
api_response = api_instance.fax_inbound_automation_put(inbound_rule_id, inbound_fax_rule)
pprint(api_response)
except ApiException as e:
print("Exception when calling InboundFAXRulesApi->fax_inbound_automation_put: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| inbound_rule_id | int | Inbound rule id | |
| inbound_fax_rule | InboundFaxRule | Inbound fax rule model |
str
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str fax_inbound_automations_get(q=q, page=page, limit=limit)
Get all inbound fax automations
Get all inbound fax automations
from __future__ import print_function
import time
import clicksend_client
from clicksend_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: BasicAuth
configuration = clicksend_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = clicksend_client.InboundFAXRulesApi(clicksend_client.ApiClient(configuration))
q = 'q_example' # str | Your keyword or query. (optional)
page = 1 # int | Page number (optional) (default to 1)
limit = 10 # int | Number of records per page (optional) (default to 10)
try:
# Get all inbound fax automations
api_response = api_instance.fax_inbound_automations_get(q=q, page=page, limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling InboundFAXRulesApi->fax_inbound_automations_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| q | str | Your keyword or query. | [optional] |
| page | int | Page number | [optional] [default to 1] |
| limit | int | Number of records per page | [optional] [default to 10] |
str
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]