All URIs are relative to https://api.freee.co.jp.
Method | HTTP request | Description |
---|---|---|
getFormsSelectables() | GET /api/1/forms/selectables | フォーム用選択項目情報の取得 |
getFormsSelectables($company_id, $includes): \Freee\Accounting\Model\SelectablesIndexResponse
フォーム用選択項目情報の取得
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Freee\Accounting\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Freee\Accounting\Api\SelectablesApi(
// 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
);
$company_id = 56; // int | 事業所ID
$includes = 'includes_example'; // string | 取得する項目(項目: account_item)
try {
$result = $apiInstance->getFormsSelectables($company_id, $includes);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SelectablesApi->getFormsSelectables: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
company_id | int | 事業所ID | |
includes | string | 取得する項目(項目: account_item) | [optional] |
\Freee\Accounting\Model\SelectablesIndexResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]