All URIs are relative to https://signrequest.com/api/v1
Method | HTTP request | Description |
---|---|---|
templatesList | GET /templates/ | Retrieve a list of Templates |
templatesRead | GET /templates/{uuid}/ | Retrieve a Template |
\SignRequest\Model\InlineResponse2008 templatesList($page, $limit)
Retrieve a list of Templates
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Token');
$apiInstance = new SignRequest\Api\TemplatesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$page = 56; // int | A page number within the paginated result set.
$limit = 56; // int | Number of results to return per page.
try {
$result = $apiInstance->templatesList($page, $limit);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TemplatesApi->templatesList: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
page | int | A page number within the paginated result set. | [optional] |
limit | int | Number of results to return per page. | [optional] |
\SignRequest\Model\InlineResponse2008
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\SignRequest\Model\Template templatesRead($uuid)
Retrieve a Template
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Token');
$apiInstance = new SignRequest\Api\TemplatesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$uuid = "uuid_example"; // string |
try {
$result = $apiInstance->templatesRead($uuid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TemplatesApi->templatesRead: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
uuid | string |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]