public interface SectionsApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<SectionResponse> |
createSection(SectionParams sectionParams)
部門の作成
|
io.reactivex.Completable |
destroySection(Integer id,
Integer companyId)
部門の削除
|
io.reactivex.Observable<SectionResponse> |
getSection(Integer id,
Integer companyId) |
io.reactivex.Observable<InlineResponse2006> |
getSections(Integer companyId)
部門一覧の取得
|
io.reactivex.Observable<SectionResponse> |
updateSection(Integer id,
SectionParams sectionParams)
部門の更新
|
@Headers(value="Content-Type:application/json") @POST(value="api/1/sections") io.reactivex.Observable<SectionResponse> createSection(@Body SectionParams sectionParams)
sectionParams - 部門の作成 (optional)@DELETE(value="api/1/sections/{id}")
io.reactivex.Completable destroySection(@Path(value="id")
Integer id,
@Query(value="company_id")
Integer companyId)
id - (required)companyId - 事業所ID (required)@GET(value="api/1/sections/{id}")
io.reactivex.Observable<SectionResponse> getSection(@Path(value="id")
Integer id,
@Query(value="company_id")
Integer companyId)
id - 部門ID (required)companyId - 事業所ID (required)@GET(value="api/1/sections") io.reactivex.Observable<InlineResponse2006> getSections(@Query(value="company_id") Integer companyId)
companyId - 事業所ID (required)@Headers(value="Content-Type:application/json")
@PUT(value="api/1/sections/{id}")
io.reactivex.Observable<SectionResponse> updateSection(@Path(value="id")
Integer id,
@Body
SectionParams sectionParams)
id - (required)sectionParams - 部門の更新 (optional)Copyright © 2022. All rights reserved.