All URIs are relative to http://localhost, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
createSupplierInvoiceExternalUrlConnectionsResource() | POST /3/supplierinvoiceexternalurlconnections | Create a supplier invoice external URL connection |
deleteSupplierInvoiceExternalUrlConnectionsResource() | DELETE /3/supplierinvoiceexternalurlconnections/{Id} | Remove a supplier invoice external URL connection |
getSupplierInvoiceExternalUrlConnectionsResource() | GET /3/supplierinvoiceexternalurlconnections/{Id} | Retrieve a single supplier invoice external URL connection |
updateSupplierInvoiceExternalUrlConnectionsResource() | PUT /3/supplierinvoiceexternalurlconnections/{Id} | Update a supplier invoice external URL connection |
createSupplierInvoiceExternalUrlConnectionsResource($request): \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionSingle
Create a supplier invoice external URL connection
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new FortnoxApi\Api\SupplierInvoiceExternalUrlConnectionsResourceApi(
// 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()
);
$request = new \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionUpdate(); // \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionUpdate | request
try {
$result = $apiInstance->createSupplierInvoiceExternalUrlConnectionsResource($request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SupplierInvoiceExternalUrlConnectionsResourceApi->createSupplierInvoiceExternalUrlConnectionsResource: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
request | \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionUpdate | request | [optional] |
\FortnoxApi\Model\SupplierInvoiceExternalURLConnectionSingle
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteSupplierInvoiceExternalUrlConnectionsResource($id)
Remove a supplier invoice external URL connection
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new FortnoxApi\Api\SupplierInvoiceExternalUrlConnectionsResourceApi(
// 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 = 56; // int | id
try {
$apiInstance->deleteSupplierInvoiceExternalUrlConnectionsResource($id);
} catch (Exception $e) {
echo 'Exception when calling SupplierInvoiceExternalUrlConnectionsResourceApi->deleteSupplierInvoiceExternalUrlConnectionsResource: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | int | id |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getSupplierInvoiceExternalUrlConnectionsResource($id): \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionSingle
Retrieve a single supplier invoice external URL connection
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new FortnoxApi\Api\SupplierInvoiceExternalUrlConnectionsResourceApi(
// 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 = 56; // int | id
try {
$result = $apiInstance->getSupplierInvoiceExternalUrlConnectionsResource($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SupplierInvoiceExternalUrlConnectionsResourceApi->getSupplierInvoiceExternalUrlConnectionsResource: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | int | id |
\FortnoxApi\Model\SupplierInvoiceExternalURLConnectionSingle
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateSupplierInvoiceExternalUrlConnectionsResource($id, $request): \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionSingle
Update a supplier invoice external URL connection
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new FortnoxApi\Api\SupplierInvoiceExternalUrlConnectionsResourceApi(
// 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 = 56; // int | id
$request = new \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionUpdate(); // \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionUpdate | request
try {
$result = $apiInstance->updateSupplierInvoiceExternalUrlConnectionsResource($id, $request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SupplierInvoiceExternalUrlConnectionsResourceApi->updateSupplierInvoiceExternalUrlConnectionsResource: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | int | id | |
request | \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionUpdate | request | [optional] |
\FortnoxApi\Model\SupplierInvoiceExternalURLConnectionSingle
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]