public interface AccountItemsApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<AccountItemResponse> |
createAccountItem(AccountItemCreateParams accountItemCreateParams)
勘定科目の作成
|
io.reactivex.Completable |
destroyAccountItem(Integer id,
Integer companyId)
勘定科目の削除
|
io.reactivex.Observable<AccountItemResponse> |
getAccountItem(Integer id,
Integer companyId)
勘定科目の詳細情報の取得
|
io.reactivex.Observable<AccountItemsResponse> |
getAccountItems(Integer companyId,
String baseDate)
勘定科目一覧の取得
|
io.reactivex.Observable<AccountItemResponse> |
updateAccountItem(Integer id,
AccountItemUpdateParams accountItemUpdateParams)
勘定科目の更新
|
@Headers(value="Content-Type:application/json") @POST(value="api/1/account_items") io.reactivex.Observable<AccountItemResponse> createAccountItem(@Body AccountItemCreateParams accountItemCreateParams)
accountItemCreateParams - 勘定科目の作成 (required)@DELETE(value="api/1/account_items/{id}")
io.reactivex.Completable destroyAccountItem(@Path(value="id")
Integer id,
@Query(value="company_id")
Integer companyId)
id - (required)companyId - 事業所ID (required)@GET(value="api/1/account_items/{id}")
io.reactivex.Observable<AccountItemResponse> getAccountItem(@Path(value="id")
Integer id,
@Query(value="company_id")
Integer companyId)
id - 勘定科目ID (required)companyId - 事業所ID (required)@GET(value="api/1/account_items") io.reactivex.Observable<AccountItemsResponse> getAccountItems(@Query(value="company_id") Integer companyId, @Query(value="base_date") String baseDate)
companyId - 事業所ID (required)baseDate - 基準日:指定した場合、勘定科目に紐づく税区分(default_tax_code)が、基準日の税率に基づいて返ります。 (optional)@Headers(value="Content-Type:application/json")
@PUT(value="api/1/account_items/{id}")
io.reactivex.Observable<AccountItemResponse> updateAccountItem(@Path(value="id")
Integer id,
@Body
AccountItemUpdateParams accountItemUpdateParams)
id - (required)accountItemUpdateParams - 勘定科目の更新 (required)Copyright © 2022. All rights reserved.