public interface JournalsApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<okhttp3.ResponseBody> |
downloadJournal(Integer id,
Integer companyId)
ダウンロード実行
|
io.reactivex.Observable<JournalsResponse> |
getJournals(String downloadType,
Integer companyId,
List<String> visibleTags,
List<String> visibleIds,
String startDate,
String endDate)
ダウンロード要求
|
io.reactivex.Observable<JournalStatusResponse> |
getJournalStatus(Integer id,
Integer companyId)
ステータス確認
|
@GET(value="api/1/journals/reports/{id}/download")
io.reactivex.Observable<okhttp3.ResponseBody> downloadJournal(@Path(value="id")
Integer id,
@Query(value="company_id")
Integer companyId)
id - 受け付けID (required)companyId - 事業所ID (required)@GET(value="api/1/journals/reports/{id}/status")
io.reactivex.Observable<JournalStatusResponse> getJournalStatus(@Path(value="id")
Integer id,
@Query(value="company_id")
Integer companyId)
id - 受け付けID (required)companyId - 事業所ID (required)@GET(value="api/1/journals") io.reactivex.Observable<JournalsResponse> getJournals(@Query(value="download_type") String downloadType, @Query(value="company_id") Integer companyId, @Query(value="visible_tags[]") List<String> visibleTags, @Query(value="visible_ids[]") List<String> visibleIds, @Query(value="start_date") String startDate, @Query(value="end_date") String endDate)
downloadType - ダウンロード形式 (required)companyId - 事業所ID (required)visibleTags - 補助科目やコメントとして出力する項目 (optional)visibleIds - 追加出力するID項目 (optional)startDate - 取得開始日 (yyyy-mm-dd) (optional)endDate - 取得終了日 (yyyy-mm-dd) (optional)Copyright © 2022. All rights reserved.