| Package | Description |
|---|---|
| jp.co.freee.accounting.api | |
| jp.co.freee.accounting.models |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<SectionResponse> |
SectionsApi.createSection(SectionParams sectionParams)
部門の作成
<h2 id=\"\">概要</h2> <p>指定した事業所の部門を作成する</p> <h2 id=\"_2\">レスポンスの例</h2> <pre><code>// プレミアムプラン(個人)、ビジネスプラン(法人)、エンタープライズプラン(法人) { "section" : { "id" : 102, "company_id" : 1, "name" : "開発部門", "shortcut1" : "DEVELOPER", "shortcut2" : "123", "indent_count": 1, "parent_id": 101 } } // それ以外のプラン { "section" : { "id" : 102, "company_id" : 1, "name" : "開発部門", "shortcut1" : "DEVELOPER", "shortcut2" : "123" } }</code></pre>
|
io.reactivex.Observable<SectionResponse> |
SectionsApi.updateSection(Integer id,
SectionParams sectionParams)
部門の更新
<h2 id=\"\">概要</h2> <p>指定した事業所の部門を更新する</p><h2 id=\"_2\">レスポンスの例</h2> <pre><code>// プレミアムプラン(個人)、ビジネスプラン(法人)、エンタープライズプラン(法人) { "section" : { "id" : 102, "company_id" : 1, "name" : "開発部門", "long_name": "開発部門", "shortcut1" : "DEVELOPER", "shortcut2" : "123", "indent_count": 1, "parent_id": 101 } } // それ以外のプラン { "section" : { "id" : 102, "company_id" : 1, "name" : "開発部門", "long_name": "開発部門", "shortcut1" : "DEVELOPER", "shortcut2" : "123" } }</code></pre>
|
| Modifier and Type | Method and Description |
|---|---|
SectionParams |
SectionParams.companyId(Integer companyId) |
SectionParams |
SectionParams.longName(String longName) |
SectionParams |
SectionParams.name(String name) |
SectionParams |
SectionParams.parentId(Integer parentId) |
SectionParams |
SectionParams.shortcut1(String shortcut1) |
SectionParams |
SectionParams.shortcut2(String shortcut2) |
Copyright © 2020. All rights reserved.