All URIs are relative to https://kingsrook.localhost-testsubdomain1.infopluswms.com:8443/infoplus-wms/api
Method | HTTP request | Description |
---|---|---|
addPackingDetailAudit | PUT /beta/packingDetail/{packingDetailId}/audit/{packingDetailAudit} | Add new audit for a packingDetail |
addPackingDetailFile | POST /beta/packingDetail/{packingDetailId}/file/{fileName} | Attach a file to a packingDetail |
addPackingDetailFileByURL | POST /beta/packingDetail/{packingDetailId}/file | Attach a file to a packingDetail by URL. |
addPackingDetailTag | PUT /beta/packingDetail/{packingDetailId}/tag/{packingDetailTag} | Add new tags for a packingDetail. |
deletePackingDetailFile | DELETE /beta/packingDetail/{packingDetailId}/file/{fileId} | Delete a file for a packingDetail. |
deletePackingDetailTag | DELETE /beta/packingDetail/{packingDetailId}/tag/{packingDetailTag} | Delete a tag for a packingDetail. |
getDuplicatePackingDetailById | GET /beta/packingDetail/duplicate/{packingDetailId} | Get a duplicated a packingDetail by id |
getPackingDetailByFilter | GET /beta/packingDetail/search | Search packingDetails by filter |
getPackingDetailById | GET /beta/packingDetail/{packingDetailId} | Get a packingDetail by id |
getPackingDetailFiles | GET /beta/packingDetail/{packingDetailId}/file | Get the files for a packingDetail. |
getPackingDetailTags | GET /beta/packingDetail/{packingDetailId}/tag | Get the tags for a packingDetail. |
updatePackingDetailCustomFields | PUT /beta/packingDetail/customFields | Update a packingDetail custom fields |
addPackingDetailAudit($packing_detail_id, $packing_detail_audit)
Add new audit for a packingDetail
Adds an audit to an existing packingDetail.
<?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\PackingDetailApi(
// 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
);
$packing_detail_id = 56; // int | Id of the packingDetail to add an audit to
$packing_detail_audit = "packing_detail_audit_example"; // string | The audit to add
try {
$apiInstance->addPackingDetailAudit($packing_detail_id, $packing_detail_audit);
} catch (Exception $e) {
echo 'Exception when calling PackingDetailApi->addPackingDetailAudit: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
packing_detail_id | int | Id of the packingDetail to add an audit to | |
packing_detail_audit | string | The audit to add |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
addPackingDetailFile($packing_detail_id, $file_name)
Attach a file to a packingDetail
Adds a file to an existing packingDetail.
<?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\PackingDetailApi(
// 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
);
$packing_detail_id = 56; // int | Id of the packingDetail to add a file to
$file_name = "file_name_example"; // string | Name of file
try {
$apiInstance->addPackingDetailFile($packing_detail_id, $file_name);
} catch (Exception $e) {
echo 'Exception when calling PackingDetailApi->addPackingDetailFile: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
packing_detail_id | int | Id of the packingDetail to add a file to | |
file_name | string | Name of file |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
addPackingDetailFileByURL($body, $packing_detail_id)
Attach a file to a packingDetail by URL.
Adds a file to an existing packingDetail by URL.
<?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\PackingDetailApi(
// 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.
$packing_detail_id = 56; // int | Id of the packingDetail to add an file to
try {
$apiInstance->addPackingDetailFileByURL($body, $packing_detail_id);
} catch (Exception $e) {
echo 'Exception when calling PackingDetailApi->addPackingDetailFileByURL: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Infoplus\Infoplus\Model\RecordFile | The url and optionly fileName to be used. | |
packing_detail_id | int | Id of the packingDetail to add an file to |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
addPackingDetailTag($packing_detail_id, $packing_detail_tag)
Add new tags for a packingDetail.
Adds a tag to an existing packingDetail.
<?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\PackingDetailApi(
// 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
);
$packing_detail_id = 56; // int | Id of the packingDetail to add a tag to
$packing_detail_tag = "packing_detail_tag_example"; // string | The tag to add
try {
$apiInstance->addPackingDetailTag($packing_detail_id, $packing_detail_tag);
} catch (Exception $e) {
echo 'Exception when calling PackingDetailApi->addPackingDetailTag: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
packing_detail_id | int | Id of the packingDetail to add a tag to | |
packing_detail_tag | string | The tag to add |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deletePackingDetailFile($packing_detail_id, $file_id)
Delete a file for a packingDetail.
Deletes an existing packingDetail file using the specified data.
<?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\PackingDetailApi(
// 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
);
$packing_detail_id = 56; // int | Id of the packingDetail to remove file from
$file_id = 56; // int | Id of the file to delete
try {
$apiInstance->deletePackingDetailFile($packing_detail_id, $file_id);
} catch (Exception $e) {
echo 'Exception when calling PackingDetailApi->deletePackingDetailFile: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
packing_detail_id | int | Id of the packingDetail to remove file from | |
file_id | int | Id of the file to delete |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deletePackingDetailTag($packing_detail_id, $packing_detail_tag)
Delete a tag for a packingDetail.
Deletes an existing packingDetail tag using the specified data.
<?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\PackingDetailApi(
// 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
);
$packing_detail_id = 56; // int | Id of the packingDetail to remove tag from
$packing_detail_tag = "packing_detail_tag_example"; // string | The tag to delete
try {
$apiInstance->deletePackingDetailTag($packing_detail_id, $packing_detail_tag);
} catch (Exception $e) {
echo 'Exception when calling PackingDetailApi->deletePackingDetailTag: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
packing_detail_id | int | Id of the packingDetail to remove tag from | |
packing_detail_tag | string | The tag to delete |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Infoplus\Infoplus\Model\PackingDetail getDuplicatePackingDetailById($packing_detail_id)
Get a duplicated a packingDetail by id
Returns a duplicated packingDetail identified by the specified id.
<?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\PackingDetailApi(
// 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
);
$packing_detail_id = 56; // int | Id of the packingDetail to be duplicated.
try {
$result = $apiInstance->getDuplicatePackingDetailById($packing_detail_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PackingDetailApi->getDuplicatePackingDetailById: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
packing_detail_id | int | Id of the packingDetail to be duplicated. |
\Infoplus\Infoplus\Model\PackingDetail
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Infoplus\Infoplus\Model\PackingDetail[] getPackingDetailByFilter($filter, $page, $limit, $sort)
Search packingDetails by filter
Returns the list of packingDetails that match the given filter.
<?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\PackingDetailApi(
// 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->getPackingDetailByFilter($filter, $page, $limit, $sort);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PackingDetailApi->getPackingDetailByFilter: ', $e->getMessage(), PHP_EOL;
}
?>
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] |
\Infoplus\Infoplus\Model\PackingDetail[]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Infoplus\Infoplus\Model\PackingDetail getPackingDetailById($packing_detail_id)
Get a packingDetail by id
Returns the packingDetail identified by the specified id.
<?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\PackingDetailApi(
// 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
);
$packing_detail_id = 56; // int | Id of the packingDetail to be returned.
try {
$result = $apiInstance->getPackingDetailById($packing_detail_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PackingDetailApi->getPackingDetailById: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
packing_detail_id | int | Id of the packingDetail to be returned. |
\Infoplus\Infoplus\Model\PackingDetail
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getPackingDetailFiles($packing_detail_id)
Get the files for a packingDetail.
Get all existing packingDetail files.
<?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\PackingDetailApi(
// 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
);
$packing_detail_id = 56; // int | Id of the packingDetail to get files for
try {
$apiInstance->getPackingDetailFiles($packing_detail_id);
} catch (Exception $e) {
echo 'Exception when calling PackingDetailApi->getPackingDetailFiles: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
packing_detail_id | int | Id of the packingDetail to get files for |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getPackingDetailTags($packing_detail_id)
Get the tags for a packingDetail.
Get all existing packingDetail tags.
<?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\PackingDetailApi(
// 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
);
$packing_detail_id = 56; // int | Id of the packingDetail to get tags for
try {
$apiInstance->getPackingDetailTags($packing_detail_id);
} catch (Exception $e) {
echo 'Exception when calling PackingDetailApi->getPackingDetailTags: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
packing_detail_id | int | Id of the packingDetail to get tags for |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updatePackingDetailCustomFields($body)
Update a packingDetail custom fields
Updates an existing packingDetail custom fields using the specified data.
<?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\PackingDetailApi(
// 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\PackingDetail(); // \Infoplus\Infoplus\Model\PackingDetail | PackingDetail to be updated.
try {
$apiInstance->updatePackingDetailCustomFields($body);
} catch (Exception $e) {
echo 'Exception when calling PackingDetailApi->updatePackingDetailCustomFields: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Infoplus\Infoplus\Model\PackingDetail | PackingDetail to be updated. |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]