All URIs are relative to https://api.yousign.com
Method | HTTP request | Description |
---|---|---|
fileObjectsIdDelete | DELETE /file_objects/{id} | Delete a File Object |
fileObjectsIdGet | GET /file_objects/{id} | Find a File Object by ID |
fileObjectsIdPut | PUT /file_objects/{id} | Update a File Object |
fileObjectsPost | POST /file_objects | Create a new File Object |
fileObjectsIdDelete($id)
Delete a File Object
Delete a File Object
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new YouSign\Client\Api\FileObjectApi(
// 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()
);
$id = "id_example"; // string |
try {
$apiInstance->fileObjectsIdDelete($id);
} catch (Exception $e) {
echo 'Exception when calling FileObjectApi->fileObjectsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\YouSign\Client\Model\FileObjectOutput fileObjectsIdGet($id)
Find a File Object by ID
Get a File Object
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new YouSign\Client\Api\FileObjectApi(
// 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()
);
$id = "id_example"; // string |
try {
$result = $apiInstance->fileObjectsIdGet($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FileObjectApi->fileObjectsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string |
\YouSign\Client\Model\FileObjectOutput
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\YouSign\Client\Model\FileObjectOutput fileObjectsIdPut($id, $body)
Update a File Object
Update a File Object
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new YouSign\Client\Api\FileObjectApi(
// 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()
);
$id = "id_example"; // string |
$body = new \YouSign\Client\Model\FileObjectInput(); // \YouSign\Client\Model\FileObjectInput |
try {
$result = $apiInstance->fileObjectsIdPut($id, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FileObjectApi->fileObjectsIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | ||
body | \YouSign\Client\Model\FileObjectInput |
\YouSign\Client\Model\FileObjectOutput
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\YouSign\Client\Model\FileObjectOutput fileObjectsPost($body)
Create a new File Object
Create a new fileObject
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new YouSign\Client\Api\FileObjectApi(
// 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()
);
$body = new \YouSign\Client\Model\FileObjectInput(); // \YouSign\Client\Model\FileObjectInput |
try {
$result = $apiInstance->fileObjectsPost($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FileObjectApi->fileObjectsPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \YouSign\Client\Model\FileObjectInput |
\YouSign\Client\Model\FileObjectOutput
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]