All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
apiV2UnitDetailsPost | POST /api/v2/Unit/Details | |
apiV2UnitSearchPost | POST /api/v2/Unit/Search |
\Swagger\Client\Model\EtimUnit apiV2UnitDetailsPost($body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\UnitApi(
// 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()
);
$body = new \Swagger\Client\Model\EntityDetailsInput(); // \Swagger\Client\Model\EntityDetailsInput |
try {
$result = $apiInstance->apiV2UnitDetailsPost($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling UnitApi->apiV2UnitDetailsPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Swagger\Client\Model\EntityDetailsInput | [optional] |
\Swagger\Client\Model\EtimUnit
No authorization required
- Content-Type: application/json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\UnitSearchOutput apiV2UnitSearchPost($body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\UnitApi(
// 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()
);
$body = new \Swagger\Client\Model\EntitySearchInput(); // \Swagger\Client\Model\EntitySearchInput |
try {
$result = $apiInstance->apiV2UnitSearchPost($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling UnitApi->apiV2UnitSearchPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Swagger\Client\Model\EntitySearchInput | [optional] |
\Swagger\Client\Model\UnitSearchOutput
No authorization required
- Content-Type: application/json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]