public interface UsersApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<InlineResponse20015> |
getUsers(Integer companyId,
Integer limit)
事業所に所属するユーザー一覧の取得
<h2 id=\"\">概要</h2> <p>事業所に所属するユーザーの一覧を取得する</p>
|
io.reactivex.Observable<InlineResponse20016> |
getUsersCapabilities(Integer companyId)
ログインユーザーの権限の取得
<h2 id=\"\">概要</h2> <p>ユーザーの権限情報を取得する</p>
|
io.reactivex.Observable<MeResponse> |
getUsersMe(Boolean companies)
ログインユーザー情報の取得
<h2 id=\"\">概要</h2> <p>ユーザーの情報を取得する</p>
|
io.reactivex.Observable<UserResponse> |
updateUser(UserParams userParams)
ユーザー情報の更新
<h2 id=\"\">概要</h2> <p>ユーザー情報を更新する</p>
|
@GET(value="api/1/users") io.reactivex.Observable<InlineResponse20015> getUsers(@Query(value="company_id") Integer companyId, @Query(value="limit") Integer limit)
companyId - 事業所ID (required)limit - 取得レコードの件数 (デフォルト: 50, 最小: 1, 最大: 3000) (optional)@GET(value="api/1/users/capabilities") io.reactivex.Observable<InlineResponse20016> getUsersCapabilities(@Query(value="company_id") Integer companyId)
companyId - 事業所ID (required)@GET(value="api/1/users/me") io.reactivex.Observable<MeResponse> getUsersMe(@Query(value="companies") Boolean companies)
companies - 取得情報にユーザーが所属する事業所一覧を含める (optional)@Headers(value="Content-Type:application/json") @PUT(value="api/1/users/me") io.reactivex.Observable<UserResponse> updateUser(@Body UserParams userParams)
userParams - ユーザー情報の更新 (optional)Copyright © 2020. All rights reserved.