res
// 확정된 견적이 없는 요청일 때
{
"estimateReqId": "견적 요청 ID",
"customerName": "소비자 이름",
"movingType": "이사 종류",
"movingDate": "이사 날짜 (예시, 2024. 11. 28)",
"departure": "출발지",
"arrival": "도착지",
"comment": "요구사항",
"isConfirmed": "확정된 요청인지 확인",
"createAt": "견적 요청일"
}
// 확정된 견적이 있는 요청일 때
{
"estimateReqId": "견적 요청 ID",
"customerName": "소비자 이름",
"movingType": "이사 종류",
"movingDate": "이사 날짜 (예시, 2024. 11. 28)",
"departure": "출발지",
"arrival": "도착지",
"comment": "요구사항",
"isConfirmed": "확정된 요청인지 확인",
"createAt": "견적 요청일"
"moverName": "확정 견적을 보낸 기사님 별명",
"estimateId": "확정 견적 ID"
}
// 확정된 견적이 없는 요청일 때
{
"estimateReqId": 1,
"customerName": "소비자 이름",
"movingType": "SMALL",
"movingDate": "2024. 11. 28.",
"departure": "경남 고성군 상정대로1119 (상리면)",
"arrival": "경기 안성시 만세로498 (대덕면)",
"comment": "요구사항",
"isConfirmed": false,
"createAt": "2024. 11. 28."
}
// 확정된 견적이 있는 요청일 때
{
"estimateReqId": 1,
"customerName": "소비자 이름",
"movingType": "SMALL",
"movingDate": "2024. 11. 28.",
"departure": "경남 고성군 상정대로1119 (상리면)",
"arrival": "경기 안성시 만세로498 (대덕면)",
"comment": "요구사항",
"isConfirmed": true,
"createAt": "2024. 11. 28.",
"moverName": "확정 견적을 보낸 기사님 별명",
"estimateId": 20
}
ERROR
{
"code": 401,
"path": "/estimateReq",
"method": "GET",
"message": "권한이 없습니다.",
"date": "2024-12-19T02:46:31.854Z"
}
{"status": "message"}
// 인증 문제가 있을 시 (유효하지 않은 쿠키)
{401: '권한이 없습니다.'}
// 로그인한 사람이 소비자가 아닌 경우
{403: '소비자 전용 API 입니다.'}
// 견적 요청이 없을 시 or 이사일이 지났을 시
{400: '견적 요청 내역이 없습니다.'}