@Multipart @PUT("/appointments/{id}/") void updateAppointments(@Path("id") long appointmentID, @Part("patient") String patientId, @Part("owner") String owner, @Part("notes") String notes, @Part("appointment_date") String date, @Part("title") String appointmentType, @Part("end_time") String endTime, @Part("start_time") String startTime, Callback<Appointment> serverResponseCallback);
@PUT(PDAPIConfig.PD_USERS_PATH + "/{id}") void updateUserLocationAndDeviceTokenWithReferral( @Body String emptyBody, @Path("id") String id, @Query("user[platform]") String platform, @Query("user[device_token]") String deviceToken, @Query("user[latitude]") String latitude, @Query("user[longitude]") String longitude, @Query("user[unique_identifier]") String uid, @Query("user[referral][referrer_id]") String referrerId, @Query("user[referral][type]") String type, @Query("user[referral][referrer_app_name]") String referrerAppName, @Query("user[referral][request_id]") String requestId, @Query("user[third_party_user_token]") String thirdPartyToken, Callback<PDUser> callback);
@Multipart @PUT("/enrollments/{id}/") void updateEnrollments(@Path("id") long enrollmentID, @Part("patient") String patient, @Part("comment") String comment, @Part("program") String program, @Part("date_enrolled") String date, Callback<Enrollment> serverResponseCallback);
@FormUrlEncoded @PUT(API_VERSION + "/projects/{id}/milestones/{milestone_id}") Call<Milestone> editMilestone(@Path("id") long projectId, @Path("milestone_id") long milestoneId, @Field("title") String title, @Field("description") String description, @Field("due_date") String dueDate);
@Multipart @PUT("/events/{id}/") void updateEvent(@Path("id") long eventID, @Part("name") String name, @Part("description") String description, @Part("event_date") String date, @Part("start_time") String startTime, @Part("end_time") String endTime, Callback<Events> serverResponseCallback);
@PUT("/v1/config/deployments/{deploymentName}/pubsubs/{pubsubName}/subscriptions/subscription/{subscriptionName}/") DaemonTask<Halconfig, Void> setSubscription( @Path("deploymentName") String deploymentName, @Path("pubsubName") String pubsubName, @Path("subscriptionName") String subscriptionName, @Query("validate") boolean validate, @Body Subscription subscription);
@PUT(MAIN_PATH+"/{idSponsor}") Call<Status> updateSponsor(@Body Sponsor sponsor, @Path("idSponsor") int idSponsor);
@Multipart @PUT("/adverseEventType/{id}/") void updateAdverseEventType(@Path("id") long adverseEventTypeID, @Part("name") String patientID, @Part("description") String admissionDate, @Part("emergency_contacts") String dischargeDate, Callback<AdverseEvent> serverResponseCallback);
@PUT("/stories/{id}") Observable<Story> updateStory(@Path("id") String id, @Body UpdateStoryRequestData data);
@Multipart @PUT("/adverseEvents/{id}/") void updateAdverseEvent(@Path("id") long adverseEventID, @Part("patient") String patientID, @Part("adverse_event_type") String admissionDate, @Part("event_date") String dischargeDate, @Part("notes") String notes, Callback<AdverseEvent> serverResponseCallback);
@Multipart @PUT("/counselling/{id}/") void updateCounselling(@Path("id") long sessionID, @Part("patient") String patient, @Part("counselling_session_type") String sessionType, @Part("notes") String notes, Callback<Counselling> serverResponseCallback);
@PUT("/v1/config/deployments/{deploymentName}/providers/{providerName}/accounts/account/{accountName}/") DaemonTask<Halconfig, Void> setAccount( @Path("deploymentName") String deploymentName, @Path("providerName") String providerName, @Path("accountName") String accountName, @Query("validate") boolean validate, @Body Account account);
@PUT("/v1/config/deployments/{deploymentName}/artifactProviders/{providerName}/artifactAccounts/account/{accountName}/") DaemonTask<Halconfig, Void> setArtifactAccount( @Path("deploymentName") String deploymentName, @Path("providerName") String providerName, @Path("accountName") String accountName, @Query("validate") boolean validate, @Body ArtifactAccount account);
@PUT("/v1/config/deployments/{deploymentName}/providers/{providerName}/clusters/cluster/{clusterName}/") DaemonTask<Halconfig, Void> setCluster( @Path("deploymentName") String deploymentName, @Path("providerName") String providerName, @Path("clusterName") String clusterName, @Query("validate") boolean validate, @Body Cluster cluster);
@Multipart @PUT("/medicalReport/{id}/") void updateMedicalReport(@Path("id") long reportID, @Part("title") String title, @Part("report_type") String reportType, @Part("patient") String patient, @Part("notes") String notes, Callback<MedicalRecord> serverResponseCallback);
@Multipart @PUT("/admissions/{id}/") void updateAdmissions(@Path("id") long admissionID, @Part("patient") String patientID, @Part("admission_date") String admissionDate, @Part("discharge_date") String dischargeDate, @Part("health_centre") String healthCentre, @Part("notes") String notes, Callback<Admission> serverResponseCallback);
@PUT("/v1/config/deployments/{deploymentName}/providers/{providerName}/bakery/defaults/baseImage/{baseImageId}/") DaemonTask<Halconfig, Void> setBaseImage( @Path("deploymentName") String deploymentName, @Path("providerName") String providerName, @Path("baseImageId") String baseImageId, @Query("validate") boolean validate, @Body BaseImage baseImage);
@PUT("/v1/config/deployments/{deploymentName}/ci/{ciName}/masters/{masterName}/") DaemonTask<Halconfig, Void> setMaster( @Path("deploymentName") String deploymentName, @Path("ciName") String ciName, @Path("masterName") String masterName, @Query("validate") boolean validate, @Body Master master);
@Multipart @PUT("/outcome/{id}/") void updateOutcome(@Path("id") long outcomeID, @Part("patient") String patientID, @Part("outcome_type") String outcomeType, @Part("outcome_date") String outcomeDate, @Part("notes") String notes, Callback<Outcome> serverResponseCallback);
/*** * section contains all the methods with endpoints to update information on the server */ @Multipart @PUT("/regimen/{id}/") void updateRegimen(@Path("id") long regimenId, @Part("patient") String patientId, @Part("notes") String notes, @Part("drugs") String[] drugs, @Part("date_started") String startDate, @Part("date_ended") String endDate, Callback<Regimen> serverResponseCallback);
@Multipart @PUT("/notifications/{id}/") void updateNotification(@Path("id") long notificationID, @Part("recipient") String recipientID, @Part("verb") String verb, @Part("unread") String unread, @Part("actor_object_id") String actor, Callback<Notifications> serverResponseCallback);
@PUT("/collectors/{collectorId}") Response register(@Path("collectorId") String collectorId, @Body CollectorRegistrationRequest request);
@PUT("/system/collectors/{collectorId}") Response legacyRegister(@Path("collectorId") String collectorId, @Body CollectorRegistrationRequest request);
@Headers("Content-Type: application/json") @PUT("/notifications/{id}/") void openedOneSignalPush(@Path("id") String id, @Body OneSignalBody data, Callback<OneSignalResponse> response);
@FormUrlEncoded @PUT("/v1/devices/{deviceID}") Response nameDevice(@Path("deviceID") String deviceID, @Field("name") String name);
@FormUrlEncoded @PUT("/v1/devices/{deviceID}") Response flashKnownApp(@Path("deviceID") String deviceID, @Field("app") String appName);
@Multipart @PUT("/v1/devices/{deviceID}") Response flashFile(@Path("deviceID") String deviceID, @Part("file") TypedOutput file);
/** * <b>OAuth Required</b> * * <p> Update a custom list by sending 1 or more parameters. If you update the list name, the original slug will * still be retained so existing references to this list won't break. */ @PUT("/users/{username}/lists/{id}") com.uwetrottmann.trakt.v2.entities.List updateList( @Path("username") String username, @Path("id") String id, @Body com.uwetrottmann.trakt.v2.entities.List list ) throws OAuthUnauthorizedException;
@PUT(Constants.GOOGLE_API_BASE_URL + "/drive/v2/files/{fileId}") Call<DriveFile> setFileFolder(@Path("fileId") String fileId, @Query("fields") String fields, @Header("Authorization") String authorization, @Body RequestBody data);
@PUT("/users/{id}") Observable<User> updateUser(@Path("id") String userId, @Body UserUpdateData data);
@FormUrlEncoded @PUT("/preferences") Observable<Preference> updateEmailNotification(@Field("emailNotification") boolean isOn);
@PUT(MAIN_PATH+"/{idPlayer}") Call<Status> updatePlayer(@Body Player player, @Path("idPlayer") int idPlayer);
@FormUrlEncoded @PUT("/preferences") Observable<Preference> updatePushOnWorkTime( @Field("pushOnWorkTime") boolean isOn, @Field("timezone") String timezone);
@PUT("/teams/{id}") Observable<Team> updateTeam(@Path("id") String teamId, @Body TeamUpdateRequestData data);
@PUT(MAIN_PATH+"/{idStadium}") Call<Status> updateStadium(@Body Stadium stadium, @Path("idStadium") int idStadium);
@PUT("/rooms/{id}") Observable<Room> updateRoom(@Path("id") String roomId, @Body RoomUpdateRequestData data);
@FormUrlEncoded @PUT("/messages/{id}") Observable<Message> updateMessage(@Path("id") String messageId, @Field(("body")) String body);
@PUT("/messages/{messageId}") Observable<Message> createMessageTag(@Path("messageId") String messageId, @Body MessageAddTagData data);
@PUT("user/addresses/{id}") Call<Address> updateAddress(@Path("id") int addressId, @Query("token") String token, @Body Address address);
@PUT("checkouts/{orderId}/next") Call<Order> moveToNextState(@Path("orderId") String orderId, @Query("token") String token);