Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Latest commit

 

History

History
68 lines (46 loc) · 1.97 KB

SelectablesApi.md

File metadata and controls

68 lines (46 loc) · 1.97 KB

Freee\Accounting\SelectablesApi

All URIs are relative to https://api.freee.co.jp.

Method HTTP request Description
getFormsSelectables() GET /api/1/forms/selectables フォーム用選択項目情報の取得

getFormsSelectables()

getFormsSelectables($company_id, $includes): \Freee\Accounting\Model\SelectablesIndexResponse

フォーム用選択項目情報の取得

Example

<?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;
}

Parameters

Name Type Description Notes
company_id int 事業所ID
includes string 取得する項目(項目: account_item) [optional]

Return type

\Freee\Accounting\Model\SelectablesIndexResponse

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]