Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
프로세스
(1)
GET/api/invitation/{invitationId} 요청(2)
invitationId에 해당하는 초대장 데이터를 응답한다.(3) 초대장 수정 페이지에 사용되는 정보
TODO
쿼리
쿼리 메서드
응답 데이터
예약한 장소를 사용한 경우
{ "data": { "commonPlaceId": 1, "officeName": "5층 공용 라운지", "purpose": "회의", "description": "건물 앞으로 오세요.", "startDate": "2023-10-12", "endDate": "2023-10-12", "startTime": "10:30:00", "endTime": "11:30:00", "visitors": [ { "visitorId": 1, "name": "김방문", "contact": "01012341234" }, { "visitorId": 2, "name": "박방문", "contact": "01013492358" }, { "visitorId": 3, "name": "홍방문", "contact": "01059842739" } ] } }예약하지 않은 장소를 사용한 경우
{ "data": { "commonPlaceId": null, "officeName": "5층 공용 라운지 (5층 509호)", "purpose": "회의", "description": "엘리베이터에서 내려서 오른쪽으로 쭉 오시면 있습니다.", "startDate": "2023-09-18", "endDate": "2023-09-21", "startTime": "16:00:00", "endTime": "16:30:00", "visitors": [ { "visitorId": 75, "name": "일방문", "contact": "01012341234" }, { "visitorId": 76, "name": "이방문", "contact": "01012341234" }, { "visitorId": 77, "name": "삼방문", "contact": "01012341234" }, { "visitorId": 78, "name": "사방문", "contact": "01012341234" } ] } }초대장을 작성한 Member가 아닌 다른 Member가 요청한 경우
{ "message": "초대장을 작성한 회원만 접근이 가능합니다." }