Package ch.aaap.harvestclient.service
Interface EstimateItemCategoryService
public interface EstimateItemCategoryService
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<EstimateItem.Category>
create
(EstimateItem.Category creationInfo) retrofit2.Call<Void>
delete
(long categoryId) retrofit2.Call<EstimateItem.Category>
get
(long categoryId) retrofit2.Call<PaginatedList>
retrofit2.Call<EstimateItem.Category>
update
(long categoryId, EstimateItem.Category updateInfo)
-
Field Details
-
basePath
- See Also:
-
id
- See Also:
-
path
- See Also:
-
-
Method Details
-
list
@GET("estimate_item_categories") retrofit2.Call<PaginatedList> list(@Query("updated_since") Instant updatedSince, @Query("page") int page, @Query("per_page") int perPage) -
get
@GET("estimate_item_categories/{categoryId}") retrofit2.Call<EstimateItem.Category> get(@Path("categoryId") long categoryId) -
create
@POST("estimate_item_categories") retrofit2.Call<EstimateItem.Category> create(@Body EstimateItem.Category creationInfo) -
update
@PATCH("estimate_item_categories/{categoryId}") retrofit2.Call<EstimateItem.Category> update(@Path("categoryId") long categoryId, @Body EstimateItem.Category updateInfo) -
delete
@DELETE("estimate_item_categories/{categoryId}") retrofit2.Call<Void> delete(@Path("categoryId") long categoryId)
-