Simulation

내가 저장한 시뮬레이션 목록

로그인한 사용자가 저장한 시뮬레이션을 최신순으로 반환한다. 목록은 어떤 조합을 저장했는지 알아볼 정도의 요약만 담으며, 예산·추정치와 매체별 항목은 상세 조회에서 받는다. 매체명은 예산을 배분한 매체만 저장 순서대로 담는다.

정렬은 최신순 고정이고 page/size 를 생략하면 0 페이지 5건을 반환한다. 저장된 결과가 없으면 빈 목록으로 200 을 반환한다.

get/api/v1/simulations

Request

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

Query parameters

pageinteger

페이지 번호(0-base)

sizeinteger

페이지 크기

Example:5

Response

조회 성공

successboolean required

요청 성공 여부

codestring nullable required

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

Example response

{
  "success": true,
  "data": {
    "content": [
      {
        "id": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
        "serviceName": "채소집",
        "channelNames": [
          "11번가 광고",
          "당근마켓 광고"
        ]
      }
    ],
    "size": 12,
    "totalElements": 101,
    "totalPages": 9
  },
  "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.