Inoculation List
user pk, pet pk 값에 해당하는 펫의 백신 접종 목록을 반환합니다.
URL
/medical/<user_pk>/pets/<pet_pk>/inoculations/
Method
GET
Header
| Headers Key | Headers Value | 설명 | Required | 
|---|---|---|---|
| Authorization | Token 321*************************** | 로그인에서 획득한 Token값 입력 | False (입력하지 않으면 Anonymous user로 간주) | 
Success Response
HTTP Status code
200
Content
{
    "count": 3,
    "next": null,
    "previous": null,
    "results": [
        {
            "vaccine_info": {
                "species": "dog",
                "name": "종합백신(DHPPL)",
                "turn": 5,
                "period": "14 00:00:00"
            },
            "inoculation_info": {
                "medical": "빵빵이",
                "pk": 1,
                "vaccine": "종합백신(DHPPL)",
                "num_of_times": 1,
                "inoculated_date": "2017-01-01T15:00:00+09:00",
                "hospital": "패캠동물병원",
                "is_alarm": false
            }
        },
        {
            "vaccine_info": {
                "species": "dog",
                "name": "종합백신(DHPPL)",
                "turn": 5,
                "period": "14 00:00:00"
            },
            "inoculation_info": {
                "medical": "빵빵이",
                "pk": 2,
                "vaccine": "종합백신(DHPPL)",
                "num_of_times": 1,
                "inoculated_date": "2017-01-01T15:00:00+09:00",
                "hospital": "패캠동물병원",
                "is_alarm": false
            }
        },
        {
            "vaccine_info": {
                "species": "dog",
                "name": "종합백신(DHPPL)",
                "turn": 5,
                "period": "14 00:00:00"
            },
            "inoculation_info": {
                "medical": "빵빵이",
                "pk": 3,
                "vaccine": "종합백신(DHPPL)",
                "num_of_times": 1,
                "inoculated_date": "2017-12-01T17:00:00+09:00",
                "hospital": "패캠동물병원",
                "is_alarm": false
            }
        }
    ]
}
Error Response
HTTP Status code
404 Not Found
# pk값이 올바르지 않게 입력된 경우
{
    "detail": "Not found."
}