디버 OpenAPI
  1. API 명세
디버 OpenAPI
  • 디버 주문접수 OpenAPI 이용안내
  • 공통
    • 1. 꼭 읽어주세요 ‼️
    • 2. 주문 상태
    • 3. API Signature 생성
    • 4. 날짜&시간 형식
    • 5. 물품정보(items) 형식
    • 6. Vehicle 상세 (퀵)
    • 7. Vehicle 상세 (화물)
    • 8. 변경이력
  • API 명세
    • 운임조회(퀵)
      POST
    • 운임조회(화물)
      POST
    • 주문접수(퀵/화물 공통)
      POST
    • 주문 상태 리스트 조회
      POST
    • 주문 상세조회(퀵/화물 공통)
      GET
    • 주문 취소요청(퀵/화물 공통)
      DELETE
  • 콜백 명세
    • 주문상태 변경 웹훅(콜백)
  • Schemas
    • Response
      • OrderLIstDTO
      • OrderListPinDTO
    • Request
      • calculator
        • quick-calculator-scheme
        • freight-calculator-scheme
        • item dto
        • vehicle dto
        • vehicle-freight-dto
      • orders
        • 구버전 orders 요청
        • 신버전 orders 요청
        • pins
    • eventName Resource
      • additionalPrice resource
      • orderDispatched resource
      • orderReDispatched resource
      • orderOngoing resource
      • orderOneCompleted resource
      • orderAllCompleted
      • orderCanceled
    • 웹훅 공통
    • calculator schema Copy
    • 운임계산 상세정보
    • 운임 상세정보
    • 주문 상태
  1. API 명세

운임조회(화물)

POST
https://openapi.dver.pe.kr/v2/calculator
화물 운임을 조회합니다.
매 주문 건 별 운임조회 API를 호출해야 하며, 제공된 uuid 필드를 주문접수 시 첨부해야 합니다.

Request

Header Params

Body Params application/json

Example
{
    "departure": {
        "latitude": 37.54549,
        "longitude": 126.95267,
        "loadUnloadPosition": "LOADING_PARKING_SPACE",
        "loadUnloadMethod": "LOADING_YOURSELF"
    },
    "destination": {
        "latitude": 37.51362,
        "longitude": 127.04166,
        "loadUnloadPosition": "UNLOADING_PARKING_SPACE",
        "loadUnloadMethod": "UNLOADING_YOURSELF"
    },
    "waypoint": [],
    "item": {
        "etc": "화환 1개"
    },
    "vehicle": {
        "category": "TRUCK",
        "type": "1T",
        "option": "BOX_TRUCK"
    },
    "isReserved": false
}

Responses

🟢200Success
application/json
운임조회 성공
Body

Example
{
    "status": 200,
    "data": {
        "basic": {
            "uuid": "69d88e43-74fd-43ba-8095-5e65a704733d",
            "amount": 14300,
            "amountDetail": {
                "base": 7000,
                "distance": 6500,
                "freightOptions": 0,
                "weight": 0,
                "waypoints": 0,
                "fixed": -500,
                "surchargeFixed": 0,
                "express": 0,
                "time": 0,
                "weather": 0,
                "specialDay": 0,
                "vat": 1300
            },
            "duration": 120
        },
        "express": {
            "uuid": "293f83ee-4769-4cc0-8d0a-79ae7d6623d8",
            "amount": 24200,
            "amountDetail": {
                "base": 7000,
                "distance": 6500,
                "freightOptions": 0,
                "weight": 0,
                "waypoints": 0,
                "fixed": -410,
                "surchargeFixed": 0,
                "express": 8910,
                "time": 0,
                "weather": 0,
                "specialDay": 0,
                "vat": 2200
            },
            "duration": 90
        },
        "totalDistance": 13163,
        "expireAt": "2024-08-22T06:07:25.529Z"
    }
}
🟠400Bad Request
🟠401Unauthorized
🔴500Internal Server Error
Previous
운임조회(퀵)
Next
주문접수(퀵/화물 공통)
Built with