Skip to content

4.3. 전체 펀딩 정보 조회

100yeeun edited this page Jan 3, 2020 · 3 revisions

전체 펀딩 정보 조회

수민

메소드 경로 설명
GET /storefund 전체 펀딩 정보 조회

Request Header

Content-Type: application/json
token: "사용자 token 값"

Response Body

Success Response

가게 정보 작성 성공

{
    "status": 200,
    "success": true,
    "message": "펀딩 정보 전체 조회 성공",
    "data": [
        {
            "storefund_idx": 20,
            "store_idx": 1,
            "margin_percent": 1,
            "register_time": "2019-12-26T14:17:15.000Z",
            "due_date": "2020-01-26T14:17:15.000Z",
            "regular_sales": 6000000,
            "goal_sales": 1200000,
            "current_sales": 0,
            "contributer_count": 1,
            "fund_status": 3
        },
        {
            "storefund_idx": 28,
            "store_idx": 8,
            "margin_percent": 0.3,
            "register_time": "2019-12-26T18:05:38.000Z",
            "due_date": "2019-12-30T18:05:38.000Z",
            "regular_sales": 60000,
            "goal_sales": 140000,
            "current_sales": 120000,
            "contributer_count": 4,
            "fund_status": 3
        },
        {
            "storefund_idx": 29,
            "store_idx": 20,
            "margin_percent": 1,
            "register_time": "2019-12-27T09:05:23.000Z",
            "due_date": "2019-12-27T09:05:23.000Z",
            "regular_sales": 100000,
            "goal_sales": 200000,
            "current_sales": 2000000,
            "contributer_count": 0,
            "fund_status": 1
        }
    ]
}

Fail Response

INTERNAL SERVER ERROR

{
    "status": 500,
    "success": false,
    "message": "서버 내부 오류"
}
Clone this wiki locally