Class: SignRequestsManager

SignRequestsManager(client)

Simple manager for interacting with all Sign Requests endpoints and actions.

Constructor

new SignRequestsManager(client)

Parameters:
Name Type Description
client BoxClient The Box API Client that is responsible for making calls to the API
Source:

Classes

SignRequestsManager

Methods

cancelById(options, callbackopt) → {Promise.<schemas.SignRequest>}

Cancel Box Sign request Cancels a sign request.
Parameters:
Name Type Attributes Description
options object Options for the request
Properties
Name Type Description
sign_request_id string The ID of the signature request
callback function <optional>
Passed the result if successful, error otherwise
Source:
Returns:
A promise resolving to the result or rejecting with an error
Type
Promise.<schemas.SignRequest>

cancelById(options, callbackopt) → {Promise.<schemas.SignRequest>}

Cancel Box Sign request Cancels a sign request.
Parameters:
Name Type Attributes Description
options object Options for the request
Properties
Name Type Description
sign_request_id string The ID of the signature request
callback function <optional>
Passed the result if successful, error otherwise
Source:
Returns:
A promise resolving to the result or rejecting with an error
Type
Promise.<schemas.SignRequest>

create(body, optionsopt, callbackopt) → {Promise.<schemas.SignRequest>}

Create Box Sign request Creates a signature request. This involves preparing a document for signing and sending the signature request to signers.
Parameters:
Name Type Attributes Description
body schemas.SignRequestCreateRequest
options object <optional>
Options for the request
callback function <optional>
Passed the result if successful, error otherwise
Source:
Returns:
A promise resolving to the result or rejecting with an error
Type
Promise.<schemas.SignRequest>

create(body, optionsopt, callbackopt) → {Promise.<schemas.SignRequest>}

Create Box Sign request Creates a signature request. This involves preparing a document for signing and sending the signature request to signers.
Parameters:
Name Type Attributes Description
body schemas.SignRequestCreateRequest
options object <optional>
Options for the request
callback function <optional>
Passed the result if successful, error otherwise
Source:
Returns:
A promise resolving to the result or rejecting with an error
Type
Promise.<schemas.SignRequest>

getAll(optionsopt, callbackopt) → {Promise.<schemas.SignRequests>}

List Box Sign requests Gets signature requests created by a user. If the `sign_files` and/or `parent_folder` are deleted, the signature request will not return in the list.
Parameters:
Name Type Attributes Description
options object <optional>
Options for the request
Properties
Name Type Attributes Description
marker string <optional>
Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
limit number <optional>
The maximum number of items to return per page.
callback function <optional>
Passed the result if successful, error otherwise
Source:
Returns:
A promise resolving to the result or rejecting with an error
Type
Promise.<schemas.SignRequests>

getAll(optionsopt, callbackopt) → {Promise.<schemas.SignRequests>}

List Box Sign requests Gets signature requests created by a user. If the `sign_files` and/or `parent_folder` are deleted, the signature request will not return in the list.
Parameters:
Name Type Attributes Description
options object <optional>
Options for the request
Properties
Name Type Attributes Description
marker string <optional>
Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
limit number <optional>
The maximum number of items to return per page.
callback function <optional>
Passed the result if successful, error otherwise
Source:
Returns:
A promise resolving to the result or rejecting with an error
Type
Promise.<schemas.SignRequests>

getById(options, callbackopt) → {Promise.<schemas.SignRequest>}

Get Box Sign request by ID Gets a sign request by ID.
Parameters:
Name Type Attributes Description
options object Options for the request
Properties
Name Type Description
sign_request_id string The ID of the signature request
callback function <optional>
Passed the result if successful, error otherwise
Source:
Returns:
A promise resolving to the result or rejecting with an error
Type
Promise.<schemas.SignRequest>

getById(options, callbackopt) → {Promise.<schemas.SignRequest>}

Get Box Sign request by ID Gets a sign request by ID.
Parameters:
Name Type Attributes Description
options object Options for the request
Properties
Name Type Description
sign_request_id string The ID of the signature request
callback function <optional>
Passed the result if successful, error otherwise
Source:
Returns:
A promise resolving to the result or rejecting with an error
Type
Promise.<schemas.SignRequest>

resendById(options, callbackopt) → {Promise.<void>}

Resend Box Sign request Resends a signature request email to all outstanding signers.
Parameters:
Name Type Attributes Description
options object Options for the request
Properties
Name Type Description
sign_request_id string The ID of the signature request
callback function <optional>
Passed the result if successful, error otherwise
Source:
Returns:
A promise resolving to the result or rejecting with an error
Type
Promise.<void>

resendById(options, callbackopt) → {Promise.<void>}

Resend Box Sign request Resends a signature request email to all outstanding signers.
Parameters:
Name Type Attributes Description
options object Options for the request
Properties
Name Type Description
sign_request_id string The ID of the signature request
callback function <optional>
Passed the result if successful, error otherwise
Source:
Returns:
A promise resolving to the result or rejecting with an error
Type
Promise.<void>