# \RenewsApi All URIs are relative to *https://api.freee.co.jp* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_deal_renew**](RenewsApi.md#create_deal_renew) | **POST** /api/1/deals/{id}/renews | 取引(収入・支出)の+更新の作成 [**delete_deal_renew**](RenewsApi.md#delete_deal_renew) | **DELETE** /api/1/deals/{id}/renews/{renew_id} | 取引(収入・支出)の+更新の削除 [**update_deal_renew**](RenewsApi.md#update_deal_renew) | **PUT** /api/1/deals/{id}/renews/{renew_id} | 取引(収入・支出)の+更新の更新 ## create_deal_renew > crate::models::DealResponse create_deal_renew(id, renew_create_params) 取引(収入・支出)の+更新の作成

概要

指定した事業所の取引(収入・支出)の+更新を作成する

定義

注意点

### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **id** | **i32** | 取引ID | [required] | **renew_create_params** | [**RenewCreateParams**](RenewCreateParams.md) | 取引(収入・支出)の+更新の作成 | [required] | ### Return type [**crate::models::DealResponse**](dealResponse.md) ### Authorization [oauth2](../README.md#oauth2) ### HTTP request headers - **Content-Type**: application/json, application/x-www-form-urlencoded - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## delete_deal_renew > crate::models::DealResponse delete_deal_renew(id, renew_id, company_id) 取引(収入・支出)の+更新の削除

概要

指定した事業所の取引(収入・支出)の+更新を削除する

注意点

### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **id** | **i32** | 取引ID | [required] | **renew_id** | **i32** | +更新ID | [required] | **company_id** | **i32** | 事業所ID | [required] | ### Return type [**crate::models::DealResponse**](dealResponse.md) ### Authorization [oauth2](../README.md#oauth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## update_deal_renew > crate::models::DealResponse update_deal_renew(id, renew_id, renew_update_params) 取引(収入・支出)の+更新の更新

概要

指定した事業所の取引(収入・支出)の+更新を更新する

定義

注意点

### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **id** | **i32** | 取引ID | [required] | **renew_id** | **i32** | +更新ID | [required] | **renew_update_params** | [**RenewUpdateParams**](RenewUpdateParams.md) | 取引(収入・支出)の+更新の更新 | [required] | ### Return type [**crate::models::DealResponse**](dealResponse.md) ### Authorization [oauth2](../README.md#oauth2) ### HTTP request headers - **Content-Type**: application/json, application/x-www-form-urlencoded - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)