Package ch.aaap.harvestclient.service
Interface EstimateMessagesService
public interface EstimateMessagesService
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<EstimateMessage>
create
(long estimateId, EstimateMessage creationInfo) retrofit2.Call<Void>
delete
(long estimateId, long estimateMessageId) retrofit2.Call<EstimateMessage>
get
(long estimateId, long estimateMessageId) retrofit2.Call<PaginatedList>
-
Field Details
-
messageId
- See Also:
-
estId
- See Also:
-
basePath
- See Also:
-
path
- See Also:
-
-
Method Details
-
list
@GET("estimates/{estimateId}/messages") retrofit2.Call<PaginatedList> list(@Path("estimateId") long estimateId, @Query("updated_since") Instant updatedSince, @Query("page") int page, @Query("per_page") int perPage) -
get
@GET("estimates/{estimateId}/messages/{id}") retrofit2.Call<EstimateMessage> get(@Path("estimateId") long estimateId, @Path("id") long estimateMessageId) -
create
@POST("estimates/{estimateId}/messages") retrofit2.Call<EstimateMessage> create(@Path("estimateId") long estimateId, @Body EstimateMessage creationInfo) -
delete
@DELETE("estimates/{estimateId}/messages/{id}") retrofit2.Call<Void> delete(@Path("estimateId") long estimateId, @Path("id") long estimateMessageId)
-