Interface SupplierService


  • public interface SupplierService
    • Method Detail

      • getSupplier

        @GET("{cloudId}/{id}")
        retrofit2.Call<Supplier> getSupplier​(@Path("cloudId")
                                             java.lang.Long cloudId,
                                             @Path("id")
                                             java.lang.Long id)
      • getSuppliers

        @GET("{cloudId}")
        retrofit2.Call<java.util.Collection<Supplier>> getSuppliers​(@Path("cloudId")
                                                                    java.lang.Long cloudId,
                                                                    @Query("limit")
                                                                    java.lang.Integer limit,
                                                                    @Query("offset")
                                                                    java.lang.Integer offset,
                                                                    @Query("sort")
                                                                    java.lang.String sort)
      • deleteSupplier

        @GET("{cloudId}/{id}/delete")
        retrofit2.Call<Supplier> deleteSupplier​(@Path("cloudId")
                                                java.lang.Long cloudId,
                                                @Path("id")
                                                java.lang.Long id,
                                                @Query("anonymize")
                                                java.lang.Boolean anonymizeSupplier)
      • updateSupplier

        @POST("{cloudId}/{id}/update")
        @Headers({"Content-Type: application/json","Accept: application/json"})
        retrofit2.Call<Supplier> updateSupplier​(@Path("cloudId")
                                                java.lang.Long cloudId,
                                                @Path("id")
                                                java.lang.Long id,
                                                @Body
                                                Supplier supplier)
      • createSupplier

        @Headers({"Content-Type: application/json","Accept: application/json"})
        @POST("{cloudId}/create")
        retrofit2.Call<Supplier> createSupplier​(@Path("cloudId")
                                                java.lang.Long cloudId,
                                                @Body
                                                Supplier supplier)