Skip to content

Latest commit

 

History

History
228 lines (153 loc) · 7.69 KB

SupplierInvoiceExternalUrlConnectionsResourceApi.md

File metadata and controls

228 lines (153 loc) · 7.69 KB

FortnoxApi\SupplierInvoiceExternalUrlConnectionsResourceApi

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()

createSupplierInvoiceExternalUrlConnectionsResource($request): \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionSingle

Create a supplier invoice external URL connection

Example

<?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;
}

Parameters

Name Type Description Notes
request \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionUpdate request [optional]

Return type

\FortnoxApi\Model\SupplierInvoiceExternalURLConnectionSingle

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

deleteSupplierInvoiceExternalUrlConnectionsResource()

deleteSupplierInvoiceExternalUrlConnectionsResource($id)

Remove a supplier invoice external URL connection

Example

<?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;
}

Parameters

Name Type Description Notes
id int id

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getSupplierInvoiceExternalUrlConnectionsResource()

getSupplierInvoiceExternalUrlConnectionsResource($id): \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionSingle

Retrieve a single supplier invoice external URL connection

Example

<?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;
}

Parameters

Name Type Description Notes
id int id

Return type

\FortnoxApi\Model\SupplierInvoiceExternalURLConnectionSingle

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

updateSupplierInvoiceExternalUrlConnectionsResource()

updateSupplierInvoiceExternalUrlConnectionsResource($id, $request): \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionSingle

Update a supplier invoice external URL connection

Example

<?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;
}

Parameters

Name Type Description Notes
id int id
request \FortnoxApi\Model\SupplierInvoiceExternalURLConnectionUpdate request [optional]

Return type

\FortnoxApi\Model\SupplierInvoiceExternalURLConnectionSingle

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]