Vaccine List
접종 정보 생성 시 동물이 맞을 수 있는 백신의 정보 리스트를 보여줍니다. (백신을 보여주는 드롭다운 메뉴를 구성할 때 사용하시면 됩니다)
URL
/medical/vaccine-list/
Method
POST
Input Data
| Key | Description | Value | Type | Required | 
|---|---|---|---|---|
| species | 펫 종류 | 'dog'/'cat' | String | True | 
Success Response
HTTP Status code
200
Content
# 'dog'를 입력했을 경우
[
    {
        "species": "dog",
        "name": "종합백신(DHPPL)",
        "turn": 5,
        "period": "14 00:00:00"
    },
    {
        "species": "dog",
        "name": "코로나(Corona)",
        "turn": 2,
        "period": "14 00:00:00"
    },
    {
        "species": "dog",
        "name": "기관지염(Kennel Cough)",
        "turn": 3,
        "period": "14 00:00:00"
    },
    {
        "species": "dog",
        "name": "광견병(Rabis)",
        "turn": 2,
        "period": "168 00:00:00"
    },
    {
        "species": "dog",
        "name": "심장사상충(Herat worm)",
        "turn": 1,
        "period": "28 00:00:00"
    },
    {
        "species": "dog",
        "name": "인플루엔자(Influenza)",
        "turn": 1,
        "period": "00:00:00"
    },
    {
        "species": "dog",
        "name": "내부구충",
        "turn": 3,
        "period": "14 00:00:00"
    },
    {
        "species": "dog",
        "name": "외부구충",
        "turn": 1,
        "period": "28 00:00:00"
    }
]
# 'cat'을 입력했을 경우
[
    {
        "species": "cat",
        "name": "혼합예방주사(CVRP)",
        "turn": 3,
        "period": "21 00:00:00"
    },
    {
        "species": "cat",
        "name": "백혈병(Feline Leukemia)",
        "turn": 2,
        "period": "21 00:00:00"
    },
    {
        "species": "cat",
        "name": "전염성 복막염(FIP)",
        "turn": 2,
        "period": "21 00:00:00"
    },
    {
        "species": "cat",
        "name": "광견병(Rabis)",
        "turn": 1,
        "period": "00:00:00"
    }
]
Error Response
HTTP Status code
400
Content
# species 값이 입력되지 않았거나 잘못 입력되었을 경우
{
    "detail": "Invalid or none value."
}