Simulation

최신 시뮬레이션 결과 불러오기

사용자가 가장 최근에 저장한 결과를 재계산 없이 그대로 반환한다. 저장된 결과가 없으면 본문 없이 204 를 반환한다.

get/api/v1/simulations/latest

Request

  • Base URL: https://api.chaeso-zip.com
  • URL: https://api.chaeso-zip.com/api/v1/simulations/latest
  • Auth: HTTP bearer

Response

조회 성공

successboolean required

요청 성공 여부

codestring nullable required

성공 안내 코드. 안내할 것이 없으면 null

Example response

{
  "success": true,
  "data": {
    "totalBudgetWon": 3000000,
    "period": "M1",
    "totalEstImpressions": 1200000,
    "totalEstClicks": 24000,
    "executableChannelCount": 2,
    "items": [
      {
        "channelName": "11번가 광고",
        "iconUrl": "https://assets.chaeso-zip.com/channels/550e8400-e29b-41d4-a716-446655440000/icon.png",
        "allocatedBudgetWon": 1000000,
        "allocationPct": 40,
        "estImpressions": {
          "min": 170000,
          "max": 230000
        },
        "estClicks": {
          "min": 170000,
          "max": 230000
        },
        "minBudgetWon": 1000000,
        "shortfallWon": 500000
      }
    ]
  },
  "error": {
    "code": "C-001",
    "message": "입력값이 올바르지 않습니다.",
    "fieldErrors": [
      {
        "field": "name",
        "reason": "이름은 필수입니다."
      }
    ]
  },
  "code": "GOOGLE_ACCOUNT_LINKED"
}

Changes

No recorded changes to this operation across all 1 revision of this API.