일정 종료 API 개발


일정 종료 API 개발

일정 종료 API Method: PUT URL: /schedule/closed Request @RequestParam private String creatorId; private String scheduleId; Response Status Code: 200 OK Exception 404 ScheduleNotFoundException: scheduleId Not Found 400 NotCreatedScheduleByMemberException: This is not a user-created schedule 401: Unauthorized (추후에 추가할 예정) 500 updateQueryException: update Fail 500: Server ScheduleController Controller에서 creatorId, scheduleId를 받아 Service 단으로 넘긴다. ..코드 생략 /** * 일정 종료 * * @param requestScheduleClosed the ...



원문링크 : 일정 종료 API 개발