WorkflowController.java 842 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package pwc.taxtech.atms.controller;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import pwc.taxtech.atms.dto.taxadmin.NotificationFilterDto;
import pwc.taxtech.atms.dto.taxadmin.PushNotificationsWithTasksInfor;

@RestController
@RequestMapping("/api/v1/workflow/")
public class WorkflowController {//TODO:only for index running,should be delete future (neo)
    @RequestMapping(value = "getPushNotifications", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    public @ResponseBody
    PushNotificationsWithTasksInfor getPushNotifications(@RequestBody NotificationFilterDto notificationFilterDto) {
        PushNotificationsWithTasksInfor notificationsWithTasksInfor = new PushNotificationsWithTasksInfor();
        return notificationsWithTasksInfor;
    }
}