Default 쿼리파라미터 값
- categories : 해당 유저가 가지고 있는 모든 카테고리
- minprice : 등록할 수 있는 최소 금액(1원)
- maxprice: 등록할 수 있는 최대 금액(1조)
- start: 2000년 1월 1일
- end : 3000년 12월 31일
- content : “” — 빈 스트링
- size : 10
- page : 1
Example Response Body:
{ "results": [ { "registerTime": "2022-08-31T22:21:00", "amount": 10000, "content": "점심지출", "id": 1, // expenditure, Income의 id "type": "EXPENDITURE", "categoryName": "식비" }, { "registerTime": "2022-08-31T22:21:00" "amount": 20000, "content": "저녁지출", "id": 3, // expenditure, Income의 id "type": "EXPENDITURE", "categoryName": "식비" }, { "registerTime": "2022-08-31T22:21:00" "amount": 20000, "content": "수입", "id": 4, // expenditure, Income의 id "type": "INCOME", "categoryName": "월급" }, ... ] "currentPage": 1, "nextPage": null "totalPages": 1 "totalElements": 3 }
- 시간을 이용하여 정렬한 후 보내는 registerDate는 날짜까지만
- totalCount는 해당 검색 조건에 대한 전체 결과. results는 paging 요청에 대한 응답값
Response Code
200