Simulation
예산 시뮬레이션 결과 저장
계산 결과를 스냅샷으로 저장하고 simulationId 를 포함해 반환한다. 사용자당 저장 개수에 제한이 없으며, 저장된 결과는 수정되지 않는다.
post/api/v1/simulations
Request
- Base URL: https://api.chaeso-zip.com
- URL: https://api.chaeso-zip.com/api/v1/simulations
- Auth: HTTP bearer
Request body
Example request
{
"serviceName": "채소집",
"totalBudgetWon": 3000000,
"allocations": [
{
"budgetWon": 1000000,
"allocationPct": 40
}
]
}Response
저장 성공
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.