백엔드 API 요청서

작성일: 2025-01-08 작성자: 프론트엔드 팀 김덕환 대상: 백엔드 개발자


요약

우선순위 개수 상태
🔴 높음 5개 대기
🟠 중간 9개 대기
🟢 낮음 5개 대기

현재 구현 완료된 API


🔴 우선순위: 높음

1. 배차 상세 조회

항목 내용
Endpoint GET /api/v1/office/dispatch/:id
사용처 배차 상세 페이지 (/dispatch/[id])
담당자 @익명
완료 예정일 2026-01-13

Response 예시

{
  "code": "SUCCESS",
  "message": "성공",
  "data": {
    "id": 1,
    "dispatchNumber": "2024-0001",
    "status": "OPEN",
    "charge": 150000,
    "startLocation": "서울특별시 강남구 테헤란로 123",
    "startLatitude": 37.5065,
    "startLongitude": 127.0536,
    "destinationLocation": "부산광역시 해운대구 우동 456",
    "destinationLatitude": 35.1595,
    "destinationLongitude": 129.1603,
    "clientPhoneNumber": "010-****-5678",
    "memo": "현관 비밀번호 1234",
    "call": "INTERNAL",
    "service": "DELIVERY",
    "paymentMethod": "CASH",
    "tollType": "HIPASS",
    "transporterId": null,
    "transporterName": null,
    "transporterPhone": null,
    "officeId": 1,
    "createdAt": "2024-01-15T10:00:00Z",
    "updatedAt": "2024-01-15T10:00:00Z",
    "assignedAt": null,
    "completedAt": null,
    "canceledAt": null,
    "cancelReason": null
  }
}