Class: DocuSign_eSign::TrustServiceProvidersApi
- Inherits:
-
Object
- Object
- DocuSign_eSign::TrustServiceProvidersApi
- Defined in:
- lib/docusign_esign/api/trust_service_providers_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#complete_sign_hash(complete_sign_request) ⇒ CompleteSignHashResponse
Complete Sign Hash.
-
#complete_sign_hash_with_http_info(complete_sign_request) ⇒ Array<(CompleteSignHashResponse, Fixnum, Hash)>
Complete Sign Hash.
-
#get_seal_providers(account_id) ⇒ AccountSeals
Returns Account available seals for specified account.
-
#get_seal_providers_with_http_info(account_id) ⇒ Array<(AccountSeals, Fixnum, Hash)>
Returns Account available seals for specified account.
-
#get_user_info ⇒ UserInfoResponse
Get User Info To Sign Document.
-
#get_user_info_with_http_info ⇒ Array<(UserInfoResponse, Fixnum, Hash)>
Get User Info To Sign Document.
-
#health_check(tsp_health_check_request) ⇒ nil
Report status from the TSP to DocuSign.
-
#health_check_with_http_info(tsp_health_check_request) ⇒ Array<(nil, Fixnum, Hash)>
Report status from the TSP to DocuSign.
-
#initialize(api_client = TrustServiceProvidersApi.default) ⇒ TrustServiceProvidersApi
constructor
A new instance of TrustServiceProvidersApi.
-
#sign_hash_session_info(sign_session_info_request) ⇒ SignHashSessionInfoResponse
Get Signature Session Info To Sign Document Hash.
-
#sign_hash_session_info_with_http_info(sign_session_info_request) ⇒ Array<(SignHashSessionInfoResponse, Fixnum, Hash)>
Get Signature Session Info To Sign Document Hash.
-
#update_transaction(update_transaction_request) ⇒ UpdateTransactionResponse
Report an error from the tsp to docusign.
-
#update_transaction_with_http_info(update_transaction_request) ⇒ Array<(UpdateTransactionResponse, Fixnum, Hash)>
Report an error from the tsp to docusign.
Constructor Details
#initialize(api_client = TrustServiceProvidersApi.default) ⇒ TrustServiceProvidersApi
Returns a new instance of TrustServiceProvidersApi.
20 21 22 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 20 def initialize(api_client = TrustServiceProvidersApi.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
18 19 20 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 18 def api_client @api_client end |
Instance Method Details
#complete_sign_hash(complete_sign_request) ⇒ CompleteSignHashResponse
Complete Sign Hash
28 29 30 31 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 28 def complete_sign_hash(complete_sign_request) data, _status_code, _headers = complete_sign_hash_with_http_info( complete_sign_request) return data end |
#complete_sign_hash_with_http_info(complete_sign_request) ⇒ Array<(CompleteSignHashResponse, Fixnum, Hash)>
Complete Sign Hash
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 37 def complete_sign_hash_with_http_info(complete_sign_request) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.complete_sign_hash ..." end # resource path local_var_path = "/v2.1/signature/completesignhash".sub('{format}','json') # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(complete_sign_request) auth_names = [] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CompleteSignHashResponse') if @api_client.config.debugging @api_client.config.logger.debug "API called: TrustServiceProvidersApi#complete_sign_hash\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_seal_providers(account_id) ⇒ AccountSeals
Returns Account available seals for specified account.
75 76 77 78 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 75 def get_seal_providers(account_id) data, _status_code, _headers = get_seal_providers_with_http_info(account_id) return data end |
#get_seal_providers_with_http_info(account_id) ⇒ Array<(AccountSeals, Fixnum, Hash)>
Returns Account available seals for specified account.
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 84 def get_seal_providers_with_http_info(account_id) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.get_seal_providers ..." end # verify the required parameter 'account_id' is set fail ArgumentError, "Missing the required parameter 'account_id' when calling TrustServiceProvidersApi.get_seal_providers" if account_id.nil? # resource path local_var_path = "/v2.1/accounts/{accountId}/seals".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'AccountSeals') if @api_client.config.debugging @api_client.config.logger.debug "API called: TrustServiceProvidersApi#get_seal_providers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_user_info ⇒ UserInfoResponse
Get User Info To Sign Document
123 124 125 126 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 123 def get_user_info() data, _status_code, _headers = get_user_info_with_http_info() return data end |
#get_user_info_with_http_info ⇒ Array<(UserInfoResponse, Fixnum, Hash)>
Get User Info To Sign Document
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 131 def get_user_info_with_http_info() if @api_client.config.debugging @api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.get_user_info ..." end # resource path local_var_path = "/v2.1/signature/userInfo".sub('{format}','json') # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'UserInfoResponse') if @api_client.config.debugging @api_client.config.logger.debug "API called: TrustServiceProvidersApi#get_user_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#health_check(tsp_health_check_request) ⇒ nil
Report status from the TSP to DocuSign
169 170 171 172 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 169 def health_check(tsp_health_check_request) health_check_with_http_info( tsp_health_check_request) return nil end |
#health_check_with_http_info(tsp_health_check_request) ⇒ Array<(nil, Fixnum, Hash)>
Report status from the TSP to DocuSign
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 178 def health_check_with_http_info(tsp_health_check_request) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.health_check ..." end # resource path local_var_path = "/v2.1/signature/healthcheck".sub('{format}','json') # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(tsp_health_check_request) auth_names = [] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: TrustServiceProvidersApi#health_check\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#sign_hash_session_info(sign_session_info_request) ⇒ SignHashSessionInfoResponse
Get Signature Session Info To Sign Document Hash
215 216 217 218 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 215 def sign_hash_session_info(sign_session_info_request) data, _status_code, _headers = sign_hash_session_info_with_http_info( sign_session_info_request) return data end |
#sign_hash_session_info_with_http_info(sign_session_info_request) ⇒ Array<(SignHashSessionInfoResponse, Fixnum, Hash)>
Get Signature Session Info To Sign Document Hash
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 224 def sign_hash_session_info_with_http_info(sign_session_info_request) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.sign_hash_session_info ..." end # resource path local_var_path = "/v2.1/signature/signhashsessioninfo".sub('{format}','json') # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(sign_session_info_request) auth_names = [] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'SignHashSessionInfoResponse') if @api_client.config.debugging @api_client.config.logger.debug "API called: TrustServiceProvidersApi#sign_hash_session_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#update_transaction(update_transaction_request) ⇒ UpdateTransactionResponse
Report an error from the tsp to docusign
262 263 264 265 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 262 def update_transaction(update_transaction_request) data, _status_code, _headers = update_transaction_with_http_info( update_transaction_request) return data end |
#update_transaction_with_http_info(update_transaction_request) ⇒ Array<(UpdateTransactionResponse, Fixnum, Hash)>
Report an error from the tsp to docusign
271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 |
# File 'lib/docusign_esign/api/trust_service_providers_api.rb', line 271 def update_transaction_with_http_info(update_transaction_request) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.update_transaction ..." end # resource path local_var_path = "/v2.1/signature/updatetransaction".sub('{format}','json') # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(update_transaction_request) auth_names = [] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'UpdateTransactionResponse') if @api_client.config.debugging @api_client.config.logger.debug "API called: TrustServiceProvidersApi#update_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |