/// <summary> /// 連携サービス一覧の取得 <h2 id=\"\">概要</h2> <p>連携しているサービス一覧を取得する</p> <h2 id=\"_2\">定義</h2> <ul> <li>type <ul> <li>bank_account : 銀行口座</li> <li>credit_card : クレジットカード</li> <li>wallet : その他の決済口座</li> </ul> </li> </ul> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="offset">開始位置 (optional)</param> /// <param name="limit">取得上限数,最大500件 (optional)</param> /// <param name="type">サービス種別 (optional)</param> /// <returns>Task of BanksIndexResponse</returns> public async System.Threading.Tasks.Task <BanksIndexResponse> GetBanksAsync(int?offset = default(int?), int?limit = default(int?), string type = default(string)) { Freee.Accounting.Client.ApiResponse <BanksIndexResponse> localVarResponse = await GetBanksAsyncWithHttpInfo(offset, limit, type); return(localVarResponse.Data); }
/// <summary> /// 申請経路の取得 <h2 id=\"\">概要</h2> <p>指定した事業所の申請経路を取得する</p> <p>各種申請APIの使い方については、<a href=\"https://developer.freee.co.jp/tips/accounting-approval-requests\" target=\"_blank\">会計freeeの各種申請APIの使い方</a>をご参照ください</p> <h2 id=\"\">注意点</h2> <ul> <li> <p>申請経路、承認者の指定として部門役職データ連携を活用し、以下のいずれかを利用している各種申請と申請経路はAPI経由で参照は可能ですが、作成と更新、承認ステータスの変更ができません。</p> <ul> <li>役職指定(申請者の所属部門)</li> <li>役職指定(申請時に部門指定)</li> <li>部門および役職指定</li> </ul> </li> <li>個人アカウントの場合は、プレミアムプランでご利用できます。</li> <li>法人アカウントの場合は、ベーシックプラン、プロフェッショナルプラン、エンタープライズプランでご利用できます。</li> </ul> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="id">経路申請ID</param> /// <param name="companyId">事業所ID</param> /// <returns>ApprovalFlowRouteResponse</returns> public ApprovalFlowRouteResponse GetApprovalFlowRoute(int id, int companyId) { Freee.Accounting.Client.ApiResponse <ApprovalFlowRouteResponse> localVarResponse = GetApprovalFlowRouteWithHttpInfo(id, companyId); return(localVarResponse.Data); }
/// <summary> /// 申請経路一覧の取得 <h2 id=\"\">概要</h2> <p>指定した事業所の申請経路一覧を取得する</p> <p>各種申請APIの使い方については、<a href=\"https://developer.freee.co.jp/tips/accounting-approval-requests\" target=\"_blank\">会計freeeの各種申請APIの使い方</a>をご参照ください</p> <h2 id=\"\">注意点</h2> <ul> <li> <p>申請経路、承認者の指定として部門役職データ連携を活用し、以下のいずれかを利用している各種申請と申請経路はAPI経由で参照は可能ですが、作成と更新、承認ステータスの変更ができません。</p> <ul> <li>役職指定(申請者の所属部門)</li> <li>役職指定(申請時に部門指定)</li> <li>部門および役職指定</li> </ul> </li> <li>個人アカウントの場合は、プレミアムプランでご利用できます。</li> <li>法人アカウントの場合は、ベーシックプラン、プロフェッショナルプラン、エンタープライズプランでご利用できます。</li> </ul> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companyId">事業所ID</param> /// <param name="includedUserId">経路に含まれるユーザーのユーザーID (optional)</param> /// <param name="usage">申請種別(各申請種別が使用できる申請経路に絞り込めます。例えば、ApprovalRequest を指定すると、各種申請が使用できる申請経路に絞り込めます。) * `TxnApproval` - 仕訳承認 * `ExpenseApplication` - 経費精算 * `PaymentRequest` - 支払依頼 * `ApprovalRequest` - 各種申請 * `DocApproval` - 請求書等 (見積書・納品書・請求書・発注書) (optional)</param> /// <param name="requestFormId">申請フォームID request_form_id指定時はusage条件をApprovalRequestに指定してください。指定しない場合無効になります。 (optional)</param> /// <returns>ApprovalFlowRoutesIndexResponse</returns> public ApprovalFlowRoutesIndexResponse GetApprovalFlowRoutes(int companyId, int?includedUserId = default(int?), string usage = default(string), int?requestFormId = default(int?)) { Freee.Accounting.Client.ApiResponse <ApprovalFlowRoutesIndexResponse> localVarResponse = GetApprovalFlowRoutesWithHttpInfo(companyId, includedUserId, usage, requestFormId); return(localVarResponse.Data); }
/// <summary> /// 税区分コードの取得 <h2 id=\"\">概要</h2> <p>税区分コードを取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="code">税区分コード</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of TaxResponse</returns> public async System.Threading.Tasks.Task <TaxResponse> GetTaxCodeAsync(int code, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Freee.Accounting.Client.ApiResponse <TaxResponse> localVarResponse = await GetTaxCodeWithHttpInfoAsync(code, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// 税区分コード詳細一覧の取得 /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companyId">事業所ID</param> /// <returns>InlineResponse20013</returns> public InlineResponse20013 GetTaxesCompanies(int companyId) { Freee.Accounting.Client.ApiResponse <InlineResponse20013> localVarResponse = GetTaxesCompaniesWithHttpInfo(companyId); return(localVarResponse.Data); }
/// <summary> /// 連携サービスの取得 <h2 id=\"\">概要</h2> <p>連携しているサービスを取得する</p> <h2 id=\"_2\">定義</h2> <ul> <li>type <ul> <li>bank_account : 銀行口座</li> <li>credit_card : クレジットカード</li> <li>wallet : その他の決済口座</li> </ul> </li> </ul> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="id">連携サービスID</param> /// <returns>BankResponse</returns> public BankResponse GetBank(int id) { Freee.Accounting.Client.ApiResponse <BankResponse> localVarResponse = GetBankWithHttpInfo(id); return(localVarResponse.Data); }
/// <summary> /// 連携サービス一覧の取得 <h2 id=\"\">概要</h2> <p>連携しているサービス一覧を取得する</p> <h2 id=\"_2\">定義</h2> <ul> <li>type <ul> <li>bank_account : 銀行口座</li> <li>credit_card : クレジットカード</li> <li>wallet : その他の決済口座</li> </ul> </li> </ul> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="offset">取得レコードのオフセット (デフォルト: 0) (optional)</param> /// <param name="limit">取得レコードの件数 (デフォルト: 20, 最小: 1, 最大: 500) (optional)</param> /// <param name="type">サービス種別 (optional)</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of InlineResponse2001</returns> public async System.Threading.Tasks.Task <InlineResponse2001> GetBanksAsync(int?offset = default(int?), int?limit = default(int?), string type = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Freee.Accounting.Client.ApiResponse <InlineResponse2001> localVarResponse = await GetBanksWithHttpInfoAsync(offset, limit, type, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// フォーム用選択項目情報の取得 <h2 id=\"\">概要</h2> <p>指定した事業所のフォーム用選択項目情報を取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companyId">事業所ID</param> /// <param name="includes">取得する項目(項目: account_item) (optional)</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of SelectablesIndexResponse</returns> public async System.Threading.Tasks.Task <SelectablesIndexResponse> GetFormsSelectablesAsync(int companyId, string includes = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Freee.Accounting.Client.ApiResponse <SelectablesIndexResponse> localVarResponse = await GetFormsSelectablesWithHttpInfoAsync(companyId, includes, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// 事業所に所属するユーザー一覧の取得 <h2 id=\"\">概要</h2> <p>事業所に所属するユーザーの一覧を取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companyId">事業所ID</param> /// <param name="limit">取得レコードの件数 (デフォルト: 50, 最小: 1, 最大: 3000) (optional)</param> /// <returns>InlineResponse20015</returns> public InlineResponse20015 GetUsers(int companyId, int?limit = default(int?)) { Freee.Accounting.Client.ApiResponse <InlineResponse20015> localVarResponse = GetUsersWithHttpInfo(companyId, limit); return(localVarResponse.Data); }
/// <summary> /// ユーザー情報の更新 <h2 id=\"\">概要</h2> <p>ユーザー情報を更新する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="parameters">ユーザー情報の更新 (optional)</param> /// <returns>Task of UsersUpdateResponse</returns> public async System.Threading.Tasks.Task <UsersUpdateResponse> UpdateUserAsync(UserUpdateParams parameters = default(UserUpdateParams)) { Freee.Accounting.Client.ApiResponse <UsersUpdateResponse> localVarResponse = await UpdateUserAsyncWithHttpInfo(parameters); return(localVarResponse.Data); }
/// <summary> /// フォーム用選択項目情報の取得 <h2 id=\"\">概要</h2> <p>指定した事業所のフォーム用選択項目情報を取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companyId">事業所ID</param> /// <param name="includes">取得する項目(項目: account_item) (optional)</param> /// <returns>SelectablesIndexResponse</returns> public SelectablesIndexResponse GetFormsSelectables(int companyId, string includes = default(string)) { Freee.Accounting.Client.ApiResponse <SelectablesIndexResponse> localVarResponse = GetFormsSelectablesWithHttpInfo(companyId, includes); return(localVarResponse.Data); }
/// <summary> /// ログインユーザ情報の取得 <h2 id=\"\">概要</h2> <p>ユーザの情報を取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companies">取得情報にユーザが所属する事業所一覧を含める (optional)</param> /// <returns>Task of UsersMeResponse</returns> public async System.Threading.Tasks.Task <UsersMeResponse> GetUsersMeAsync(bool?companies = default(bool?)) { Freee.Accounting.Client.ApiResponse <UsersMeResponse> localVarResponse = await GetUsersMeAsyncWithHttpInfo(companies); return(localVarResponse.Data); }
/// <summary> /// 事業所に所属するユーザー一覧の取得 <h2 id=\"\">概要</h2> <p>事業所に所属するユーザーの一覧を取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companyId">事業所ID</param> /// <param name="limit">取得上限数,最大3000件 (optional)</param> /// <returns>Task of UsersIndexResponse</returns> public async System.Threading.Tasks.Task <UsersIndexResponse> GetUsersAsync(int companyId, int?limit = default(int?)) { Freee.Accounting.Client.ApiResponse <UsersIndexResponse> localVarResponse = await GetUsersAsyncWithHttpInfo(companyId, limit); return(localVarResponse.Data); }
/// <summary> /// 事業所に所属するユーザー一覧の取得 <h2 id=\"\">概要</h2> <p>事業所に所属するユーザーの一覧を取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companyId">事業所ID</param> /// <param name="limit">取得上限数,最大3000件 (optional)</param> /// <returns>UsersIndexResponse</returns> public UsersIndexResponse GetUsers(int companyId, int?limit = default(int?)) { Freee.Accounting.Client.ApiResponse <UsersIndexResponse> localVarResponse = GetUsersWithHttpInfo(companyId, limit); return(localVarResponse.Data); }
/// <summary> /// 税区分コード詳細一覧の取得 /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companyId">事業所ID</param> /// <returns>TaxesCompaniesResponse</returns> public TaxesCompaniesResponse GetTaxesCompanies(int companyId) { Freee.Accounting.Client.ApiResponse <TaxesCompaniesResponse> localVarResponse = GetTaxesCompaniesWithHttpInfo(companyId); return(localVarResponse.Data); }
/// <summary> /// ログインユーザーの権限の取得 <h2 id=\"\">概要</h2> <p>ユーザーの権限情報を取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companyId">事業所ID</param> /// <returns>InlineResponse20016</returns> public InlineResponse20016 GetUsersCapabilities(int companyId) { Freee.Accounting.Client.ApiResponse <InlineResponse20016> localVarResponse = GetUsersCapabilitiesWithHttpInfo(companyId); return(localVarResponse.Data); }
/// <summary> /// 税区分コード詳細一覧の取得 /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companyId">事業所ID</param> /// <returns>Task of TaxesCompaniesResponse</returns> public async System.Threading.Tasks.Task <TaxesCompaniesResponse> GetTaxesCompaniesAsync(int companyId) { Freee.Accounting.Client.ApiResponse <TaxesCompaniesResponse> localVarResponse = await GetTaxesCompaniesAsyncWithHttpInfo(companyId); return(localVarResponse.Data); }
/// <summary> /// ログインユーザー情報の取得 <h2 id=\"\">概要</h2> <p>ユーザーの情報を取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companies">取得情報にユーザーが所属する事業所一覧を含める (optional)</param> /// <returns>MeResponse</returns> public MeResponse GetUsersMe(bool?companies = default(bool?)) { Freee.Accounting.Client.ApiResponse <MeResponse> localVarResponse = GetUsersMeWithHttpInfo(companies); return(localVarResponse.Data); }
/// <summary> /// 連携サービス一覧の取得 <h2 id=\"\">概要</h2> <p>連携しているサービス一覧を取得する</p> <h2 id=\"_2\">定義</h2> <ul> <li>type <ul> <li>bank_account : 銀行口座</li> <li>credit_card : クレジットカード</li> <li>wallet : その他の決済口座</li> </ul> </li> </ul> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="offset">取得レコードのオフセット (デフォルト: 0) (optional)</param> /// <param name="limit">取得レコードの件数 (デフォルト: 20, 最小: 1, 最大: 500) (optional)</param> /// <param name="type">サービス種別 (optional)</param> /// <returns>InlineResponse2001</returns> public InlineResponse2001 GetBanks(int?offset = default(int?), int?limit = default(int?), string type = default(string)) { Freee.Accounting.Client.ApiResponse <InlineResponse2001> localVarResponse = GetBanksWithHttpInfo(offset, limit, type); return(localVarResponse.Data); }
/// <summary> /// ログインユーザー情報の取得 <h2 id=\"\">概要</h2> <p>ユーザーの情報を取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companies">取得情報にユーザーが所属する事業所一覧を含める (optional)</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of MeResponse</returns> public async System.Threading.Tasks.Task <MeResponse> GetUsersMeAsync(bool?companies = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Freee.Accounting.Client.ApiResponse <MeResponse> localVarResponse = await GetUsersMeWithHttpInfoAsync(companies, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// 税区分コードの取得 <h2 id=\"\">概要</h2> <p>税区分コードを取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="code">税区分コード</param> /// <returns>TaxResponse</returns> public TaxResponse GetTaxCode(int code) { Freee.Accounting.Client.ApiResponse <TaxResponse> localVarResponse = GetTaxCodeWithHttpInfo(code); return(localVarResponse.Data); }
/// <summary> /// ユーザー情報の更新 <h2 id=\"\">概要</h2> <p>ユーザー情報を更新する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userParams">ユーザー情報の更新 (optional)</param> /// <returns>UserResponse</returns> public UserResponse UpdateUser(UserParams userParams = default(UserParams)) { Freee.Accounting.Client.ApiResponse <UserResponse> localVarResponse = UpdateUserWithHttpInfo(userParams); return(localVarResponse.Data); }
/// <summary> /// 税区分コード一覧の取得 <h2 id=\"\">概要</h2> <p>税区分コード一覧を取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>InlineResponse20012</returns> public InlineResponse20012 GetTaxCodes() { Freee.Accounting.Client.ApiResponse <InlineResponse20012> localVarResponse = GetTaxCodesWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// ユーザー情報の更新 <h2 id=\"\">概要</h2> <p>ユーザー情報を更新する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userParams">ユーザー情報の更新 (optional)</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of UserResponse</returns> public async System.Threading.Tasks.Task <UserResponse> UpdateUserAsync(UserParams userParams = default(UserParams), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Freee.Accounting.Client.ApiResponse <UserResponse> localVarResponse = await UpdateUserWithHttpInfoAsync(userParams, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// 税区分コード詳細一覧の取得 /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companyId">事業所ID</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of InlineResponse20013</returns> public async System.Threading.Tasks.Task <InlineResponse20013> GetTaxesCompaniesAsync(int companyId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Freee.Accounting.Client.ApiResponse <InlineResponse20013> localVarResponse = await GetTaxesCompaniesWithHttpInfoAsync(companyId, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// 税区分コード一覧の取得 <h2 id=\"\">概要</h2> <p>税区分コード一覧を取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>TaxesCodesIndexResponse</returns> public TaxesCodesIndexResponse GetTaxCodes() { Freee.Accounting.Client.ApiResponse <TaxesCodesIndexResponse> localVarResponse = GetTaxCodesWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// 申請経路の取得 <h2 id=\"\">概要</h2> <p>指定した事業所の申請経路を取得する</p> <p>各種申請APIの使い方については、<a href=\"https://developer.freee.co.jp/tips/accounting-approval-requests\" target=\"_blank\">会計freeeの各種申請APIの使い方</a>をご参照ください</p> <h2 id=\"\">注意点</h2> <ul> <li> <p>申請経路、承認者の指定として部門役職データ連携を活用し、以下のいずれかを利用している各種申請と申請経路はAPI経由で参照は可能ですが、作成と更新、承認ステータスの変更ができません。</p> <ul> <li>役職指定(申請者の所属部門)</li> <li>役職指定(申請時に部門指定)</li> <li>部門および役職指定</li> </ul> </li> <li>個人アカウントの場合は、プレミアムプランでご利用できます。</li> <li>法人アカウントの場合は、ベーシックプラン、プロフェッショナルプラン、エンタープライズプランでご利用できます。</li> </ul> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="id">経路申請ID</param> /// <param name="companyId">事業所ID</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApprovalFlowRouteResponse</returns> public async System.Threading.Tasks.Task <ApprovalFlowRouteResponse> GetApprovalFlowRouteAsync(int id, int companyId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Freee.Accounting.Client.ApiResponse <ApprovalFlowRouteResponse> localVarResponse = await GetApprovalFlowRouteWithHttpInfoAsync(id, companyId, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// 税区分コード一覧の取得 <h2 id=\"\">概要</h2> <p>税区分コード一覧を取得する</p> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>Task of TaxesCodesIndexResponse</returns> public async System.Threading.Tasks.Task <TaxesCodesIndexResponse> GetTaxCodesAsync() { Freee.Accounting.Client.ApiResponse <TaxesCodesIndexResponse> localVarResponse = await GetTaxCodesAsyncWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// 申請経路一覧の取得 <h2 id=\"\">概要</h2> <p>指定した事業所の申請経路一覧を取得する</p> <p>各種申請APIの使い方については、<a href=\"https://developer.freee.co.jp/tips/accounting-approval-requests\" target=\"_blank\">会計freeeの各種申請APIの使い方</a>をご参照ください</p> <h2 id=\"\">注意点</h2> <ul> <li> <p>申請経路、承認者の指定として部門役職データ連携を活用し、以下のいずれかを利用している各種申請と申請経路はAPI経由で参照は可能ですが、作成と更新、承認ステータスの変更ができません。</p> <ul> <li>役職指定(申請者の所属部門)</li> <li>役職指定(申請時に部門指定)</li> <li>部門および役職指定</li> </ul> </li> <li>個人アカウントの場合は、プレミアムプランでご利用できます。</li> <li>法人アカウントの場合は、ベーシックプラン、プロフェッショナルプラン、エンタープライズプランでご利用できます。</li> </ul> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="companyId">事業所ID</param> /// <param name="includedUserId">経路に含まれるユーザーのユーザーID (optional)</param> /// <param name="usage">申請種別(各申請種別が使用できる申請経路に絞り込めます。例えば、ApprovalRequest を指定すると、各種申請が使用できる申請経路に絞り込めます。) * `TxnApproval` - 仕訳承認 * `ExpenseApplication` - 経費精算 * `PaymentRequest` - 支払依頼 * `ApprovalRequest` - 各種申請 * `DocApproval` - 請求書等 (見積書・納品書・請求書・発注書) (optional)</param> /// <param name="requestFormId">申請フォームID request_form_id指定時はusage条件をApprovalRequestに指定してください。指定しない場合無効になります。 (optional)</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApprovalFlowRoutesIndexResponse</returns> public async System.Threading.Tasks.Task <ApprovalFlowRoutesIndexResponse> GetApprovalFlowRoutesAsync(int companyId, int?includedUserId = default(int?), string usage = default(string), int?requestFormId = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Freee.Accounting.Client.ApiResponse <ApprovalFlowRoutesIndexResponse> localVarResponse = await GetApprovalFlowRoutesWithHttpInfoAsync(companyId, includedUserId, usage, requestFormId, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// 連携サービスの取得 <h2 id=\"\">概要</h2> <p>連携しているサービスを取得する</p> <h2 id=\"_2\">定義</h2> <ul> <li>type <ul> <li>bank_account : 銀行口座</li> <li>credit_card : クレジットカード</li> <li>wallet : その他の決済口座</li> </ul> </li> </ul> /// </summary> /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="id">連携サービスID</param> /// <returns>Task of BanksShowResponse</returns> public async System.Threading.Tasks.Task <BanksShowResponse> GetBankAsync(int id) { Freee.Accounting.Client.ApiResponse <BanksShowResponse> localVarResponse = await GetBankAsyncWithHttpInfo(id); return(localVarResponse.Data); }