Simulation

저장된 시뮬레이션 상세

저장된 시뮬레이션 하나를 매체별 항목까지 재계산 없이 그대로 반환한다. 본인이 저장한 것만 조회할 수 있고, 다른 사용자의 시뮬레이션은 그 id 가 존재한다는 사실을 숨기기 위해 없는 것과 같은 404(SIM-001) 로 응답한다.

get/api/v1/simulations/{simulationId}

Request

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

Path parameters

simulationIdstring uuid required

저장된 시뮬레이션 id

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.