All URIs are relative to https://signrequest.com/api/v1
Method | HTTP request | Description |
---|---|---|
signrequests_cancel_signrequest | POST /signrequests/{uuid}/cancel_signrequest/ | Cancel a SignRequest |
signrequests_create | POST /signrequests/ | Create a SignRequest |
signrequests_list | GET /signrequests/ | Retrieve a list of SignRequests |
signrequests_read | GET /signrequests/{uuid}/ | Retrieve a SignRequest |
signrequests_resend_signrequest_email | POST /signrequests/{uuid}/resend_signrequest_email/ | Resend a SignRequest |
InlineResponse201 signrequests_cancel_signrequest(uuid)
Cancel a SignRequest
# load the gem
require 'signrequest_client'
# setup authorization
SignRequestClient.configure do |config|
# Configure API key authorization: Token
config.api_key['Authorization'] = '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['Authorization'] = 'Bearer'
end
api_instance = SignRequestClient::SignrequestsApi.new
uuid = 'uuid_example' # String |
begin
#Cancel a SignRequest
result = api_instance.signrequests_cancel_signrequest(uuid)
p result
rescue SignRequestClient::ApiError => e
puts "Exception when calling SignrequestsApi->signrequests_cancel_signrequest: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
uuid | String |
- Content-Type: application/json
- Accept: application/json
SignRequest signrequests_create(data)
Create a SignRequest
# load the gem
require 'signrequest_client'
# setup authorization
SignRequestClient.configure do |config|
# Configure API key authorization: Token
config.api_key['Authorization'] = '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['Authorization'] = 'Bearer'
end
api_instance = SignRequestClient::SignrequestsApi.new
data = SignRequestClient::SignRequest.new # SignRequest |
begin
#Create a SignRequest
result = api_instance.signrequests_create(data)
p result
rescue SignRequestClient::ApiError => e
puts "Exception when calling SignrequestsApi->signrequests_create: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
data | SignRequest |
- Content-Type: application/json
- Accept: application/json
InlineResponse2005 signrequests_list(opts)
Retrieve a list of SignRequests
# load the gem
require 'signrequest_client'
# setup authorization
SignRequestClient.configure do |config|
# Configure API key authorization: Token
config.api_key['Authorization'] = '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['Authorization'] = 'Bearer'
end
api_instance = SignRequestClient::SignrequestsApi.new
opts = {
who: 'who_example', # String |
from_email: 'from_email_example', # String |
page: 56, # Integer | A page number within the paginated result set.
limit: 56 # Integer | Number of results to return per page.
}
begin
#Retrieve a list of SignRequests
result = api_instance.signrequests_list(opts)
p result
rescue SignRequestClient::ApiError => e
puts "Exception when calling SignrequestsApi->signrequests_list: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
who | String | [optional] | |
from_email | String | [optional] | |
page | Integer | A page number within the paginated result set. | [optional] |
limit | Integer | Number of results to return per page. | [optional] |
- Content-Type: application/json
- Accept: application/json
SignRequest signrequests_read(uuid)
Retrieve a SignRequest
# load the gem
require 'signrequest_client'
# setup authorization
SignRequestClient.configure do |config|
# Configure API key authorization: Token
config.api_key['Authorization'] = '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['Authorization'] = 'Bearer'
end
api_instance = SignRequestClient::SignrequestsApi.new
uuid = 'uuid_example' # String |
begin
#Retrieve a SignRequest
result = api_instance.signrequests_read(uuid)
p result
rescue SignRequestClient::ApiError => e
puts "Exception when calling SignrequestsApi->signrequests_read: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
uuid | String |
- Content-Type: application/json
- Accept: application/json
InlineResponse2011 signrequests_resend_signrequest_email(uuid)
Resend a SignRequest
# load the gem
require 'signrequest_client'
# setup authorization
SignRequestClient.configure do |config|
# Configure API key authorization: Token
config.api_key['Authorization'] = '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['Authorization'] = 'Bearer'
end
api_instance = SignRequestClient::SignrequestsApi.new
uuid = 'uuid_example' # String |
begin
#Resend a SignRequest
result = api_instance.signrequests_resend_signrequest_email(uuid)
p result
rescue SignRequestClient::ApiError => e
puts "Exception when calling SignrequestsApi->signrequests_resend_signrequest_email: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
uuid | String |
- Content-Type: application/json
- Accept: application/json