json data : / percent에 따라 내림차순으로 정렬필요
- name: 카테고리명
- percent: 소숫점 둘째자리까지
- 백엔드에서 계산해서 보내줘야 함
- total: 양의 정수
{ year: 2022, month: 7, // 년 별 조회일 경우, null로 전달 incomeTotalSum: 80000, expenditureTotalSum: 12000000, incomes: [ { name: '월급', percent: 50, total: 500000, }, { name: '주식', percent: 30, total: 300000, }, ], expenditures: [ { name: '식비', percent: 50, total: 50000, }, { name: '패션/미용', percent: 30, total: 30000, }, { name: '교육', percent: 20, total: 20000, }, ], };
사용방법
- 년 조건으로 통계를 조회할 수 있다.
- 년 조건은
1900년도 이상
부터 조회가능하다.
- 월 조건으로 통계를 조회할 수 있다.
월 조건은 반드시 연도가 포함
되어야 한다.월 조건은 1~12
만 조회가능하다.
- 연 요청 예시
- 월 요청 예시