Panagiotis Triantafyllou

added campaigns availability request

...@@ -100,6 +100,17 @@ public interface ApiService { ...@@ -100,6 +100,17 @@ public interface ApiService {
100 @Header(WarpConstants.HEADER_SIGNATURE) String signature); 100 @Header(WarpConstants.HEADER_SIGNATURE) String signature);
101 101
102 @Headers("Content-Type: application/json") 102 @Headers("Content-Type: application/json")
103 + @POST("/api/mobile/v2/{appUuid}/context/")
104 + Call<ResponseBody> getCampaignsAvailability(@Path("appUuid") String appUuid,
105 + @Body RequestBody request,
106 + @Header(WarpConstants.HEADER_DATE) String timeStamp,
107 + @Header(WarpConstants.HEADER_LOYALTY_BUNDLE_ID) String bundleId,
108 + @Header(WarpConstants.HEADER_UNIQUE_DEVICE_ID) String deviceId,
109 + @Header(WarpConstants.HEADER_CHANNEL) String channel,
110 + @Header(WarpConstants.HEADER_WEB_ID) String webId,
111 + @Header(WarpConstants.HEADER_SIGNATURE) String signature);
112 +
113 + @Headers("Content-Type: application/json")
103 @POST("/oauth/{appUuid}/context") 114 @POST("/oauth/{appUuid}/context")
104 Call<ResponseBody> getCampaignsPersonalized(@Path("appUuid") String appUuid, 115 Call<ResponseBody> getCampaignsPersonalized(@Path("appUuid") String appUuid,
105 @Body RequestBody request, 116 @Body RequestBody request,
......