req

res

{
  "total": "리스트 총 갯수", 
  "list": [
	  // 확정된 견적 요청일 때
    {
      "estimateReqId": "견적 요청 ID",
      "moverId": "기사 ID"
      "isConfirmed": "확정된 요청인지 확인(true)",
      "isCancelled": "취소 여부 (false)",
      "isAssigned": "지정이사 여부(true , false)"
      "profileImg": "프로필 이미지 URL",
		  "moverName": "기사 별명",
		  "reviewStats": { // 리뷰 내용
		    "averageScore": "총 별점",,
	      "totalReviews": "리뷰 갯수",
	    },  
		  "career": "기사님 경력", 
		  "confirmationCount": "총 확정 갯수", 
		  "favoriteCount": "기사님이 찜된 횟수",
		  "isFavorite": "찜 여부 (true , false)",
		  "movingType": "이사 종류",
		  "movingDate": "이사 날짜 (예시, 2024. 11. 28)", 
      "departure": "출발지", 
      "arrival": "도착지"
		  "price": "견적가",
		  "createAt": "생성일자" 
    },
    // 확정되지 않은 견적 요청일 때
    {
      "estimateReqId": "견적 요청 ID", 
      "isConfirmed": "확정된 요청인지 확인(false)",
      "isCancelled": "취소 여부 (false)",
      "movingType": "이사 종류", 
      "movingDate": "이사 날짜 (예시, 2024. 11. 28)", 
      "departure": "출발지", 
      "arrival": "도착지", 
      "comment": "요구사항", 
      "createAt": "생성일자" 
    },
    // 취소된 견적 요청일 때
    {
      "estimateReqId": "견적 요청 ID", 
      "isConfirmed": "확정된 요청인지 확인(false)",
      "isCancelled": "취소 여부 (true)",
      "movingType": "이사 종류", 
      "movingDate": "이사 날짜 (예시, 2024. 11. 28)", 
      "departure": "출발지", 
      "arrival": "도착지", 
      "comment": "요구사항", 
      "createAt": "생성일자" 
    },
    ...
  ]
}
{
  "total": 10, 
  "list": [
	  // 확정된 견적 요청일 때
    {
      "estimateReqId": 1,
      "isConfirmed": "true",
      "isCancelled": "false",
      "isAssigned": "true"
      "profileImg": "프로필 이미지 URL",
		  "moverName": "기사 별명",
		  "reviewStats": { // 리뷰 내용
		    "averageScore": 4.4,
	      "totalReviews": 524,
	    },  
		  "career": 8, 
		  "confirmationCount": 22, 
		  "favoriteCount": 45,
		  "isFavorite":  false",
		  "movingType": "SMALL",
		  "movingDate": "2024. 11. 28.", 
      "departure": "경남 고성군",
      "arrival": "경기 안성시",
		  "price": 200000,
		  "createAt": "2024. 11. 28." 
    },
    // 확정되지 않은 견적 요청일 때
    {
      "estimateReqId": 2, 
      "isConfirmed": false",
      "isCancelled": false",
      "movingType": "SMALL", 
      "movingDate": "2024. 11. 28.", 
      "departure": "경남 고성군",
      "arrival": "경기 안성시", 
      "comment": "요구사항", 
      "createAt": "2024. 11. 28." 
    },
    // 취소된 견적 요청일 때
    {
      "estimateReqId": 3, 
      "isConfirmed": false,
      "isCancelled": true,
      "movingType": "이사 종류", 
      "movingDate": "이사 날짜 (예시, 2024. 11. 28)", 
      "departure": "경남 고성군",
      "arrival": "경기 안성시", 
      "comment": "요구사항", 
      "createAt": "2024. 11. 28." 
    },
    ...
  ]
}

ERROR

{
  "code": 401,
  "path": "/estimateReq",
  "method": "GET",
  "message": "권한이 없습니다.",
  "date": "2024-12-19T02:46:31.854Z"
}
{"status": "message"}

// 인증 문제가 있을 시 (유효하지 않은 쿠키)
{401: '권한이 없습니다.'}

// 로그인한 사람이 소비자가 아닌 경우
{403: '소비자 전용 API 입니다.'}