Skip to content

Latest commit

 

History

History
800 lines (572 loc) · 28.4 KB

InvoiceWorksheetApi.md

File metadata and controls

800 lines (572 loc) · 28.4 KB

Infoplus\InvoiceWorksheetApi

All URIs are relative to https://kingsrook.localhost-testsubdomain1.infopluswms.com:8443/infoplus-wms/api

Method HTTP request Description
addInvoiceWorksheet POST /beta/invoiceWorksheet Create an invoiceWorksheet
addInvoiceWorksheetAudit PUT /beta/invoiceWorksheet/{invoiceWorksheetId}/audit/{invoiceWorksheetAudit} Add new audit for an invoiceWorksheet
addInvoiceWorksheetFile POST /beta/invoiceWorksheet/{invoiceWorksheetId}/file/{fileName} Attach a file to an invoiceWorksheet
addInvoiceWorksheetFileByURL POST /beta/invoiceWorksheet/{invoiceWorksheetId}/file Attach a file to an invoiceWorksheet by URL.
addInvoiceWorksheetTag PUT /beta/invoiceWorksheet/{invoiceWorksheetId}/tag/{invoiceWorksheetTag} Add new tags for an invoiceWorksheet.
deleteInvoiceWorksheet DELETE /beta/invoiceWorksheet/{invoiceWorksheetId} Delete an invoiceWorksheet
deleteInvoiceWorksheetFile DELETE /beta/invoiceWorksheet/{invoiceWorksheetId}/file/{fileId} Delete a file for an invoiceWorksheet.
deleteInvoiceWorksheetTag DELETE /beta/invoiceWorksheet/{invoiceWorksheetId}/tag/{invoiceWorksheetTag} Delete a tag for an invoiceWorksheet.
getDuplicateInvoiceWorksheetById GET /beta/invoiceWorksheet/duplicate/{invoiceWorksheetId} Get a duplicated an invoiceWorksheet by id
getInvoiceWorksheetByFilter GET /beta/invoiceWorksheet/search Search invoiceWorksheets by filter
getInvoiceWorksheetById GET /beta/invoiceWorksheet/{invoiceWorksheetId} Get an invoiceWorksheet by id
getInvoiceWorksheetFiles GET /beta/invoiceWorksheet/{invoiceWorksheetId}/file Get the files for an invoiceWorksheet.
getInvoiceWorksheetTags GET /beta/invoiceWorksheet/{invoiceWorksheetId}/tag Get the tags for an invoiceWorksheet.
updateInvoiceWorksheet PUT /beta/invoiceWorksheet Update an invoiceWorksheet

addInvoiceWorksheet

\Infoplus\Infoplus\Model\InvoiceWorksheet addInvoiceWorksheet($body)

Create an invoiceWorksheet

Inserts a new invoiceWorksheet using the specified data.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$body = new \Infoplus\Infoplus\Model\InvoiceWorksheet(); // \Infoplus\Infoplus\Model\InvoiceWorksheet | InvoiceWorksheet to be inserted.

try {
    $result = $apiInstance->addInvoiceWorksheet($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->addInvoiceWorksheet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
body \Infoplus\Infoplus\Model\InvoiceWorksheet InvoiceWorksheet to be inserted.

Return type

\Infoplus\Infoplus\Model\InvoiceWorksheet

Authorization

api_key

HTTP request headers

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

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

addInvoiceWorksheetAudit

addInvoiceWorksheetAudit($invoice_worksheet_id, $invoice_worksheet_audit)

Add new audit for an invoiceWorksheet

Adds an audit to an existing invoiceWorksheet.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$invoice_worksheet_id = 56; // int | Id of the invoiceWorksheet to add an audit to
$invoice_worksheet_audit = "invoice_worksheet_audit_example"; // string | The audit to add

try {
    $apiInstance->addInvoiceWorksheetAudit($invoice_worksheet_id, $invoice_worksheet_audit);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->addInvoiceWorksheetAudit: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
invoice_worksheet_id int Id of the invoiceWorksheet to add an audit to
invoice_worksheet_audit string The audit to add

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

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

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

addInvoiceWorksheetFile

addInvoiceWorksheetFile($invoice_worksheet_id, $file_name)

Attach a file to an invoiceWorksheet

Adds a file to an existing invoiceWorksheet.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$invoice_worksheet_id = 56; // int | Id of the invoiceWorksheet to add a file to
$file_name = "file_name_example"; // string | Name of file

try {
    $apiInstance->addInvoiceWorksheetFile($invoice_worksheet_id, $file_name);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->addInvoiceWorksheetFile: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
invoice_worksheet_id int Id of the invoiceWorksheet to add a file to
file_name string Name of file

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

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

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

addInvoiceWorksheetFileByURL

addInvoiceWorksheetFileByURL($body, $invoice_worksheet_id)

Attach a file to an invoiceWorksheet by URL.

Adds a file to an existing invoiceWorksheet by URL.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$body = new \Infoplus\Infoplus\Model\RecordFile(); // \Infoplus\Infoplus\Model\RecordFile | The url and optionly fileName to be used.
$invoice_worksheet_id = 56; // int | Id of the invoiceWorksheet to add an file to

try {
    $apiInstance->addInvoiceWorksheetFileByURL($body, $invoice_worksheet_id);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->addInvoiceWorksheetFileByURL: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
body \Infoplus\Infoplus\Model\RecordFile The url and optionly fileName to be used.
invoice_worksheet_id int Id of the invoiceWorksheet to add an file to

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

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

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

addInvoiceWorksheetTag

addInvoiceWorksheetTag($invoice_worksheet_id, $invoice_worksheet_tag)

Add new tags for an invoiceWorksheet.

Adds a tag to an existing invoiceWorksheet.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$invoice_worksheet_id = 56; // int | Id of the invoiceWorksheet to add a tag to
$invoice_worksheet_tag = "invoice_worksheet_tag_example"; // string | The tag to add

try {
    $apiInstance->addInvoiceWorksheetTag($invoice_worksheet_id, $invoice_worksheet_tag);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->addInvoiceWorksheetTag: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
invoice_worksheet_id int Id of the invoiceWorksheet to add a tag to
invoice_worksheet_tag string The tag to add

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

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

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

deleteInvoiceWorksheet

deleteInvoiceWorksheet($invoice_worksheet_id)

Delete an invoiceWorksheet

Deletes the invoiceWorksheet identified by the specified id.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$invoice_worksheet_id = 56; // int | Id of the invoiceWorksheet to be deleted.

try {
    $apiInstance->deleteInvoiceWorksheet($invoice_worksheet_id);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->deleteInvoiceWorksheet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
invoice_worksheet_id int Id of the invoiceWorksheet to be deleted.

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

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

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

deleteInvoiceWorksheetFile

deleteInvoiceWorksheetFile($invoice_worksheet_id, $file_id)

Delete a file for an invoiceWorksheet.

Deletes an existing invoiceWorksheet file using the specified data.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$invoice_worksheet_id = 56; // int | Id of the invoiceWorksheet to remove file from
$file_id = 56; // int | Id of the file to delete

try {
    $apiInstance->deleteInvoiceWorksheetFile($invoice_worksheet_id, $file_id);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->deleteInvoiceWorksheetFile: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
invoice_worksheet_id int Id of the invoiceWorksheet to remove file from
file_id int Id of the file to delete

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

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

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

deleteInvoiceWorksheetTag

deleteInvoiceWorksheetTag($invoice_worksheet_id, $invoice_worksheet_tag)

Delete a tag for an invoiceWorksheet.

Deletes an existing invoiceWorksheet tag using the specified data.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$invoice_worksheet_id = 56; // int | Id of the invoiceWorksheet to remove tag from
$invoice_worksheet_tag = "invoice_worksheet_tag_example"; // string | The tag to delete

try {
    $apiInstance->deleteInvoiceWorksheetTag($invoice_worksheet_id, $invoice_worksheet_tag);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->deleteInvoiceWorksheetTag: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
invoice_worksheet_id int Id of the invoiceWorksheet to remove tag from
invoice_worksheet_tag string The tag to delete

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

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

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

getDuplicateInvoiceWorksheetById

\Infoplus\Infoplus\Model\InvoiceWorksheet getDuplicateInvoiceWorksheetById($invoice_worksheet_id)

Get a duplicated an invoiceWorksheet by id

Returns a duplicated invoiceWorksheet identified by the specified id.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$invoice_worksheet_id = 56; // int | Id of the invoiceWorksheet to be duplicated.

try {
    $result = $apiInstance->getDuplicateInvoiceWorksheetById($invoice_worksheet_id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->getDuplicateInvoiceWorksheetById: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
invoice_worksheet_id int Id of the invoiceWorksheet to be duplicated.

Return type

\Infoplus\Infoplus\Model\InvoiceWorksheet

Authorization

api_key

HTTP request headers

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

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

getInvoiceWorksheetByFilter

\Infoplus\Infoplus\Model\InvoiceWorksheet[] getInvoiceWorksheetByFilter($filter, $page, $limit, $sort)

Search invoiceWorksheets by filter

Returns the list of invoiceWorksheets that match the given filter.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$filter = "filter_example"; // string | Query string, used to filter results.
$page = 56; // int | Result page number.  Defaults to 1.
$limit = 56; // int | Maximum results per page.  Defaults to 20.  Max allowed value is 250.
$sort = "sort_example"; // string | Sort results by specified field.

try {
    $result = $apiInstance->getInvoiceWorksheetByFilter($filter, $page, $limit, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->getInvoiceWorksheetByFilter: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
filter string Query string, used to filter results. [optional]
page int Result page number. Defaults to 1. [optional]
limit int Maximum results per page. Defaults to 20. Max allowed value is 250. [optional]
sort string Sort results by specified field. [optional]

Return type

\Infoplus\Infoplus\Model\InvoiceWorksheet[]

Authorization

api_key

HTTP request headers

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

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

getInvoiceWorksheetById

\Infoplus\Infoplus\Model\InvoiceWorksheet getInvoiceWorksheetById($invoice_worksheet_id)

Get an invoiceWorksheet by id

Returns the invoiceWorksheet identified by the specified id.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$invoice_worksheet_id = 56; // int | Id of the invoiceWorksheet to be returned.

try {
    $result = $apiInstance->getInvoiceWorksheetById($invoice_worksheet_id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->getInvoiceWorksheetById: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
invoice_worksheet_id int Id of the invoiceWorksheet to be returned.

Return type

\Infoplus\Infoplus\Model\InvoiceWorksheet

Authorization

api_key

HTTP request headers

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

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

getInvoiceWorksheetFiles

getInvoiceWorksheetFiles($invoice_worksheet_id)

Get the files for an invoiceWorksheet.

Get all existing invoiceWorksheet files.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$invoice_worksheet_id = 56; // int | Id of the invoiceWorksheet to get files for

try {
    $apiInstance->getInvoiceWorksheetFiles($invoice_worksheet_id);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->getInvoiceWorksheetFiles: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
invoice_worksheet_id int Id of the invoiceWorksheet to get files for

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

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

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

getInvoiceWorksheetTags

getInvoiceWorksheetTags($invoice_worksheet_id)

Get the tags for an invoiceWorksheet.

Get all existing invoiceWorksheet tags.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$invoice_worksheet_id = 56; // int | Id of the invoiceWorksheet to get tags for

try {
    $apiInstance->getInvoiceWorksheetTags($invoice_worksheet_id);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->getInvoiceWorksheetTags: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
invoice_worksheet_id int Id of the invoiceWorksheet to get tags for

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

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

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

updateInvoiceWorksheet

updateInvoiceWorksheet($body)

Update an invoiceWorksheet

Updates an existing invoiceWorksheet using the specified data.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Infoplus\Configuration::getDefaultConfiguration()->setApiKey('API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Infoplus\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API-Key', 'Bearer');

$apiInstance = new Infoplus\Api\InvoiceWorksheetApi(
    // 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
);
$body = new \Infoplus\Infoplus\Model\InvoiceWorksheet(); // \Infoplus\Infoplus\Model\InvoiceWorksheet | InvoiceWorksheet to be updated.

try {
    $apiInstance->updateInvoiceWorksheet($body);
} catch (Exception $e) {
    echo 'Exception when calling InvoiceWorksheetApi->updateInvoiceWorksheet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
body \Infoplus\Infoplus\Model\InvoiceWorksheet InvoiceWorksheet to be updated.

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

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

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