All URIs are relative to https://kingsrook.localhost-testsubdomain1.infopluswms.com:8443/infoplus-wms/api
Method | HTTP request | Description |
---|---|---|
getPredefinedCartonById | GET /beta/predefinedCarton/{predefinedCartonId} | Get a predefinedCarton by id |
getPredefinedCartonBySearchText | GET /beta/predefinedCarton/search | Search predefinedCartons |
\Infoplus\Infoplus\Model\PredefinedCarton getPredefinedCartonById($predefined_carton_id)
Get a predefinedCarton by id
Returns the predefinedCarton 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\PredefinedCartonApi(
// 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
);
$predefined_carton_id = "predefined_carton_id_example"; // string | Id of predefinedCarton to be returned.
try {
$result = $apiInstance->getPredefinedCartonById($predefined_carton_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PredefinedCartonApi->getPredefinedCartonById: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
predefined_carton_id | string | Id of predefinedCarton to be returned. |
\Infoplus\Infoplus\Model\PredefinedCarton
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Infoplus\Infoplus\Model\PredefinedCarton[] getPredefinedCartonBySearchText($search_text, $page, $limit)
Search predefinedCartons
Returns the list of predefinedCartons that match the given searchText.
<?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\PredefinedCartonApi(
// 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
);
$search_text = "search_text_example"; // string | Search text, 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.
try {
$result = $apiInstance->getPredefinedCartonBySearchText($search_text, $page, $limit);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PredefinedCartonApi->getPredefinedCartonBySearchText: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
search_text | string | Search text, 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] |
\Infoplus\Infoplus\Model\PredefinedCarton[]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]