PHP code example of dotsasteriskdots / swagger-client
1. Go to this page and download the library: Download dotsasteriskdots/swagger-client library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dotsasteriskdots / swagger-client example snippets
_instance = new Swagger\Client\Api\DefaultApi();
$object_id = "object_id_example"; // string | オブジェクトID
$object_value = new \Swagger\Client\Model\UserObjectValue(); // \Swagger\Client\Model\UserObjectValue | オブジェクト登録データ
try {
$result = $api_instance->addObjectValueUsingPOST($object_id, $object_value);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->addObjectValueUsingPOST: ', $e->getMessage(), PHP_EOL;
}