- 이 서비스는 위 Fit mate 프로젝트의 운동 기록, 운동 인증, 투표, 벌금 관리 역할을 담당하는 서비스 입니다.
Version 1.0.0 : 2024.03.08 ~ 2024.04.20
Version 2.0.0 : 2024.05.01 ~
- Git flow
환경 | url |
---|---|
테스트 |
|
운영서버 |
http-request
POST /my-fit-service/records HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 210 Host: localhost:8080
{"requestUserId":"testUserId","recordStartDate":"2024-04-19T08:17:24.200708300Z","recordEndDate":"2024-04-20T12:04:04.200708300Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}
request-fields
Path | Type | Description |
---|---|---|
|
|
Fit record를 등록하는 User id |
|
|
기록 시작 시간 |
|
|
기록 종료 시간 |
|
|
멀티 미디어 end point list ( 주어진 index 순으로 return ) |
request-body
{"requestUserId":"testUserId","recordStartDate":"2024-04-19T08:17:24.200708300Z","recordEndDate":"2024-04-20T12:04:04.200708300Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}
curl-request
$ curl 'http://localhost:8080/my-fit-service/records' -i -X POST \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserId","recordStartDate":"2024-04-19T08:17:24.200708300Z","recordEndDate":"2024-04-20T12:04:04.200708300Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}'
response-fields
Path | Type | Description |
---|---|---|
|
|
등록 성공 여부 |
|
|
등록 시 fit record id ( 실패시 null ) |
response-body
{"isRegisterSuccess":true,"fitRecordId":1}
http-response
HTTP/1.1 201 Created Content-Length: 42 Content-Type: application/json
{"isRegisterSuccess":true,"fitRecordId":1}
path-parameters
Parameter | Description |
---|---|
|
삭제할 Fit record id |
http-request
DELETE /my-fit-service/records/124 HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 30 Host: localhost:8080
{"requestUserId":"testUserId"}
request-fields
Path | Type | Description |
---|---|---|
|
|
Fit record를 삭제 요청한 User id |
request-body
{"requestUserId":"testUserId"}
curl-request
$ curl 'http://localhost:8080/my-fit-service/records/124' -i -X DELETE \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserId"}'
response-fields
Path | Type | Description |
---|---|---|
|
|
등록 성공 여부 |
response-body
{"isDeleteSuccess":true}
http-response
HTTP/1.1 200 OK Content-Length: 24 Content-Type: application/json
{"isDeleteSuccess":true}
http-request
GET /my-fit-service/records/filters?userId=testUserId&recordEndStartDate=2024-04-01T00:00:00Z&recordEndEndDate=2024-04-30T23:59:59Z HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
curl-request
$ curl 'http://localhost:8080/my-fit-service/records/filters?userId=testUserId&recordEndStartDate=2024-04-01T00:00:00Z&recordEndEndDate=2024-04-30T23:59:59Z' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
fit record list |
|
|
fit record의 id |
|
|
fit record의 기록 시작시간 |
|
|
fit record의 기록 종료시간 |
|
|
fit record의 생성일 |
|
|
fit record의 멀티 미디어 end point list |
|
|
fit record가 등록돼있는 fit certification 목록 ( fit group 포함 ) |
|
|
인증이 등록돼있는 fit group id |
|
|
인증이 등록돼있는 fit group의 이름 |
|
|
fit record가 인증으로 등록 돼 있는 fit certification id |
|
|
인증 상태 (REQUESTED, CERTIFIED, REJECTED) |
|
|
인증 등록 일시 |
|
|
인증 종료 일시 |
response-body
{"fitRecordDetailResponseDtoList":[{"fitRecordId":0,"recordStartDate":"2024-04-19T08:17:27.064607600Z","recordEndDate":"2024-04-20T12:04:07.064607600Z","createdAt":"2024-04-19T08:17:27.066602500Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":" 뿬吏깆㎟","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"},{"fitGroupId":767,"fitGroupName":" 젙 씪 뿬吏깆㎟ 紐⑥엫","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"}]},{"fitRecordId":1,"recordStartDate":"2024-04-19T08:17:27.064607600Z","recordEndDate":"2024-04-20T12:04:07.064607600Z","createdAt":"2024-04-19T08:17:27.066602500Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":" 뿬吏깆㎟","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"},{"fitGroupId":767,"fitGroupName":" 젙 씪 뿬吏깆㎟ 紐⑥엫","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"}]},{"fitRecordId":2,"recordStartDate":"2024-04-19T08:17:27.064607600Z","recordEndDate":"2024-04-20T12:04:07.064607600Z","createdAt":"2024-04-19T08:17:27.066602500Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":" 뿬吏깆㎟","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"},{"fitGroupId":767,"fitGroupName":" 젙 씪 뿬吏깆㎟ 紐⑥엫","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"}]},{"fitRecordId":3,"recordStartDate":"2024-04-19T08:17:27.064607600Z","recordEndDate":"2024-04-20T12:04:07.064607600Z","createdAt":"2024-04-19T08:17:27.066602500Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":" 뿬吏깆㎟","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"},{"fitGroupId":767,"fitGroupName":" 젙 씪 뿬吏깆㎟ 紐⑥엫","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"}]}]}
http-response
HTTP/1.1 200 OK Content-Length: 2748 Content-Type: application/json
{"fitRecordDetailResponseDtoList":[{"fitRecordId":0,"recordStartDate":"2024-04-19T08:17:27.064607600Z","recordEndDate":"2024-04-20T12:04:07.064607600Z","createdAt":"2024-04-19T08:17:27.066602500Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":"헬짱짱","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"},{"fitGroupId":767,"fitGroupName":"정일헬짱짱 모임","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"}]},{"fitRecordId":1,"recordStartDate":"2024-04-19T08:17:27.064607600Z","recordEndDate":"2024-04-20T12:04:07.064607600Z","createdAt":"2024-04-19T08:17:27.066602500Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":"헬짱짱","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"},{"fitGroupId":767,"fitGroupName":"정일헬짱짱 모임","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"}]},{"fitRecordId":2,"recordStartDate":"2024-04-19T08:17:27.064607600Z","recordEndDate":"2024-04-20T12:04:07.064607600Z","createdAt":"2024-04-19T08:17:27.066602500Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":"헬짱짱","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"},{"fitGroupId":767,"fitGroupName":"정일헬짱짱 모임","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"}]},{"fitRecordId":3,"recordStartDate":"2024-04-19T08:17:27.064607600Z","recordEndDate":"2024-04-20T12:04:07.064607600Z","createdAt":"2024-04-19T08:17:27.066602500Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":"헬짱짱","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"},{"fitGroupId":767,"fitGroupName":"정일헬짱짱 모임","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.064607600Z","voteEndDate":"2024-04-19T20:17:27.064607600Z"}]}]}
http-request
GET /my-fit-service/records/filters/slice?userId=testUserId&recordEndStartDate=2024-04-01T00:00:00Z&recordEndEndDate=2024-04-30T23:59:59Z&pageNumber=0&pageSize=5 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
curl-request
$ curl 'http://localhost:8080/my-fit-service/records/filters/slice?userId=testUserId&recordEndStartDate=2024-04-01T00:00:00Z&recordEndEndDate=2024-04-30T23:59:59Z&pageNumber=0&pageSize=5' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
fit record list |
|
|
fit record의 id |
|
|
fit record의 기록 시작시간 |
|
|
fit record의 기록 종료시간 |
|
|
fit record의 생성일 |
|
|
fit record의 멀티 미디어 end point list |
|
|
fit record가 등록돼있는 fit certification 목록 ( fit group 포함 ) |
|
|
인증이 등록돼있는 fit group id |
|
|
인증이 등록돼있는 fit group의 이름 |
|
|
fit record가 인증으로 등록 돼 있는 fit certification id |
|
|
인증 상태 (REQUESTED, CERTIFIED, REJECTED) |
|
|
인증 등록 일시 |
|
|
인증 종료 일시 |
|
|
pageable object |
|
|
조회 페이지 번호 |
|
|
조회 한 size |
|
|
sort object |
|
|
sort 요청 여부 |
|
|
sort 여부 |
|
|
unsort 여부 |
|
|
대상 시작 번호 |
|
|
unpaged |
|
|
paged |
|
|
List 크기 |
|
|
조회 페이지 번호 |
|
|
sort object |
|
|
sort 요청 여부 |
|
|
sort 여부 |
|
|
unsort 여부 |
|
|
numberOfElements |
|
|
처음인지 여부 |
|
|
마지막인지 여부 |
|
|
비어있는지 여부 |
response-body
{"content":[{"fitRecordId":0,"recordStartDate":"2024-04-19T08:17:27.127439600Z","recordEndDate":"2024-04-20T12:04:07.127439600Z","createdAt":"2024-04-19T08:17:27.128436700Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":" 뿬吏깆㎟","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"},{"fitGroupId":767,"fitGroupName":" 젙 씪 뿬吏깆㎟ 紐⑥엫","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"}]},{"fitRecordId":1,"recordStartDate":"2024-04-19T08:17:27.127439600Z","recordEndDate":"2024-04-20T12:04:07.127439600Z","createdAt":"2024-04-19T08:17:27.128436700Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":" 뿬吏깆㎟","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"},{"fitGroupId":767,"fitGroupName":" 젙 씪 뿬吏깆㎟ 紐⑥엫","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"}]},{"fitRecordId":2,"recordStartDate":"2024-04-19T08:17:27.127439600Z","recordEndDate":"2024-04-20T12:04:07.127439600Z","createdAt":"2024-04-19T08:17:27.128436700Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":" 뿬吏깆㎟","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"},{"fitGroupId":767,"fitGroupName":" 젙 씪 뿬吏깆㎟ 紐⑥엫","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"}]},{"fitRecordId":3,"recordStartDate":"2024-04-19T08:17:27.127439600Z","recordEndDate":"2024-04-20T12:04:07.127439600Z","createdAt":"2024-04-19T08:17:27.128436700Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":" 뿬吏깆㎟","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"},{"fitGroupId":767,"fitGroupName":" 젙 씪 뿬吏깆㎟ 紐⑥엫","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"}]}],"pageable":{"pageNumber":0,"pageSize":5,"sort":{"empty":true,"sorted":false,"unsorted":true},"offset":0,"unpaged":false,"paged":true},"size":5,"number":0,"sort":{"empty":true,"sorted":false,"unsorted":true},"numberOfElements":4,"first":true,"last":false,"empty":false}
http-response
HTTP/1.1 200 OK Content-Length: 2993 Content-Type: application/json
{"content":[{"fitRecordId":0,"recordStartDate":"2024-04-19T08:17:27.127439600Z","recordEndDate":"2024-04-20T12:04:07.127439600Z","createdAt":"2024-04-19T08:17:27.128436700Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":"헬짱짱","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"},{"fitGroupId":767,"fitGroupName":"정일헬짱짱 모임","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"}]},{"fitRecordId":1,"recordStartDate":"2024-04-19T08:17:27.127439600Z","recordEndDate":"2024-04-20T12:04:07.127439600Z","createdAt":"2024-04-19T08:17:27.128436700Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":"헬짱짱","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"},{"fitGroupId":767,"fitGroupName":"정일헬짱짱 모임","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"}]},{"fitRecordId":2,"recordStartDate":"2024-04-19T08:17:27.127439600Z","recordEndDate":"2024-04-20T12:04:07.127439600Z","createdAt":"2024-04-19T08:17:27.128436700Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":"헬짱짱","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"},{"fitGroupId":767,"fitGroupName":"정일헬짱짱 모임","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"}]},{"fitRecordId":3,"recordStartDate":"2024-04-19T08:17:27.127439600Z","recordEndDate":"2024-04-20T12:04:07.127439600Z","createdAt":"2024-04-19T08:17:27.128436700Z","multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"registeredFitCertifications":[{"fitGroupId":5,"fitGroupName":"헬짱짱","fitCertificationId":23,"certificationStatus":"REQUESTED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"},{"fitGroupId":767,"fitGroupName":"정일헬짱짱 모임","fitCertificationId":28,"certificationStatus":"CERTIFIED","createdAt":"2024-04-19T08:17:27.127439600Z","voteEndDate":"2024-04-19T20:17:27.127439600Z"}]}],"pageable":{"pageNumber":0,"pageSize":5,"sort":{"empty":true,"sorted":false,"unsorted":true},"offset":0,"unpaged":false,"paged":true},"size":5,"number":0,"sort":{"empty":true,"sorted":false,"unsorted":true},"numberOfElements":4,"first":true,"last":false,"empty":false}
http-request
POST /my-fit-service/certifications HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 71 Host: localhost:8080
{"requestUserId":"testUserId","fitRecordId":137,"fitGroupIds":[13,7,2]}
request-fields
Path | Type | Description |
---|---|---|
|
|
Fit 인증을 등록하는 User id |
|
|
인증으로 등록할 record의 id |
|
|
인증으로 등록할 group의 id list |
request-body
{"requestUserId":"testUserId","fitRecordId":137,"fitGroupIds":[13,7,2]}
curl-request
$ curl 'http://localhost:8080/my-fit-service/certifications' -i -X POST \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserId","fitRecordId":137,"fitGroupIds":[13,7,2]}'
response-fields
Path | Type | Description |
---|---|---|
|
|
등록 성공 여부 |
response-body
{"isRegisterSuccess":true}
http-response
HTTP/1.1 201 Created Content-Length: 26 Content-Type: application/json
{"isRegisterSuccess":true}
path-parameters
Parameter | Description |
---|---|
|
삭제할 Fit certification id |
http-request
DELETE /my-fit-service/certifications/137 HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 30 Host: localhost:8080
{"requestUserId":"testUserId"}
request-fields
Path | Type | Description |
---|---|---|
|
|
Fit certification을 삭제 요청한 User id |
request-body
{"requestUserId":"testUserId"}
curl-request
$ curl 'http://localhost:8080/my-fit-service/certifications/137' -i -X DELETE \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserId"}'
response-fields
Path | Type | Description |
---|---|---|
|
|
삭제 성공 여부 |
response-body
{"isDeleteSuccess":true}
http-response
HTTP/1.1 200 OK Content-Length: 24 Content-Type: application/json
{"isDeleteSuccess":true}
path-parameters
Parameter | Description |
---|---|
|
진행중인 Fit certification list를 조회할 group id |
|
Fit certification list를 조회하는 User id |
http-request
GET /my-fit-service/certifications/filters/12/testUserId HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
request-body
curl-request
$ curl 'http://localhost:8080/my-fit-service/certifications/filters/12/testUserId' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
진행중인 인증 list |
|
|
운동 인증 id (fit certification id) |
|
|
운동 인증의 record id |
|
|
운동 인증을 요청한 user id |
|
|
조회를 요청한 유저가 투표 했는지 여부 |
|
|
조회를 요청한 유저가 찬성 했는지 여부 |
|
|
찬성 수 |
|
|
반대 수 |
|
|
최대 투표 수 |
|
|
기록 썸네일 사진 |
|
|
기록 시작 일자 |
|
|
기록 종료 일자 |
|
|
투표 종료 일자 |
response-body
{"fitCertificationDetails":[{"certificationId":0,"recordId":0,"certificationRequestUserId":"testUserId0","isUserVoteDone":true,"isUserAgree":false,"agreeCount":4,"disagreeCount":1,"maxAgreeCount":13,"fitRecordStartDate":"2024-04-19T08:17:23.876574800Z","fitRecordEndDate":"2024-04-19T11:04:03.876574800Z","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","voteEndDate":"2024-04-30T22:04:03.876574800Z"},{"certificationId":1,"recordId":1,"certificationRequestUserId":"testUserId1","isUserVoteDone":true,"isUserAgree":false,"agreeCount":5,"disagreeCount":2,"maxAgreeCount":14,"fitRecordStartDate":"2024-04-19T08:17:23.876574800Z","fitRecordEndDate":"2024-04-19T11:04:03.876574800Z","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","voteEndDate":"2024-04-30T22:04:03.876574800Z"},{"certificationId":2,"recordId":2,"certificationRequestUserId":"testUserId2","isUserVoteDone":true,"isUserAgree":false,"agreeCount":6,"disagreeCount":3,"maxAgreeCount":15,"fitRecordStartDate":"2024-04-19T08:17:23.876574800Z","fitRecordEndDate":"2024-04-19T11:04:03.876574800Z","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","voteEndDate":"2024-04-30T22:04:03.876574800Z"},{"certificationId":3,"recordId":3,"certificationRequestUserId":"testUserId3","isUserVoteDone":true,"isUserAgree":false,"agreeCount":7,"disagreeCount":4,"maxAgreeCount":16,"fitRecordStartDate":"2024-04-19T08:17:23.876574800Z","fitRecordEndDate":"2024-04-19T11:04:03.876574800Z","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","voteEndDate":"2024-04-30T22:04:03.876574800Z"}]}
http-response
HTTP/1.1 200 OK Content-Length: 1633 Content-Type: application/json
{"fitCertificationDetails":[{"certificationId":0,"recordId":0,"certificationRequestUserId":"testUserId0","isUserVoteDone":true,"isUserAgree":false,"agreeCount":4,"disagreeCount":1,"maxAgreeCount":13,"fitRecordStartDate":"2024-04-19T08:17:23.876574800Z","fitRecordEndDate":"2024-04-19T11:04:03.876574800Z","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","voteEndDate":"2024-04-30T22:04:03.876574800Z"},{"certificationId":1,"recordId":1,"certificationRequestUserId":"testUserId1","isUserVoteDone":true,"isUserAgree":false,"agreeCount":5,"disagreeCount":2,"maxAgreeCount":14,"fitRecordStartDate":"2024-04-19T08:17:23.876574800Z","fitRecordEndDate":"2024-04-19T11:04:03.876574800Z","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","voteEndDate":"2024-04-30T22:04:03.876574800Z"},{"certificationId":2,"recordId":2,"certificationRequestUserId":"testUserId2","isUserVoteDone":true,"isUserAgree":false,"agreeCount":6,"disagreeCount":3,"maxAgreeCount":15,"fitRecordStartDate":"2024-04-19T08:17:23.876574800Z","fitRecordEndDate":"2024-04-19T11:04:03.876574800Z","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","voteEndDate":"2024-04-30T22:04:03.876574800Z"},{"certificationId":3,"recordId":3,"certificationRequestUserId":"testUserId3","isUserVoteDone":true,"isUserAgree":false,"agreeCount":7,"disagreeCount":4,"maxAgreeCount":16,"fitRecordStartDate":"2024-04-19T08:17:23.876574800Z","fitRecordEndDate":"2024-04-19T11:04:03.876574800Z","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","voteEndDate":"2024-04-30T22:04:03.876574800Z"}]}
path-parameters
Parameter | Description |
---|---|
|
fit mate들의 certification 진척도를 조회할 group id |
http-request
GET /my-fit-service/my-fits/certifications/progresses/12 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
request-body
curl-request
$ curl 'http://localhost:8080/my-fit-service/my-fits/certifications/progresses/12' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
조회한 fit group id |
|
|
조회한 fit group name |
|
|
인증 주기 ( 1: 일주일, 2: 한달, 3: 일년 ) - 현재는 일주일만 구현 |
|
|
주기별 인증 필요 횟수 |
|
|
fit mate들의 인증 진행도 |
|
|
fit mate의 user id |
|
|
금주 인증 횟수 |
response-body
{"fitGroupId":12,"fitGroupName":" 뿬 뿬 뿬 뿬 뒪瑜 빐 슂","cycle":1,"frequency":7,"fitCertificationProgresses":[{"fitMateUserId":"testUserId1","certificationCount":3},{"fitMateUserId":"testUserId2","certificationCount":1}]}
http-response
HTTP/1.1 200 OK Content-Length: 226 Content-Type: application/json
{"fitGroupId":12,"fitGroupName":"헬헬헬 헬스를 해요","cycle":1,"frequency":7,"fitCertificationProgresses":[{"fitMateUserId":"testUserId1","certificationCount":3},{"fitMateUserId":"testUserId2","certificationCount":1}]}
http-request
POST /my-fit-service/votes HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 76 Host: localhost:8080
{"requestUserId":"testUserId","agree":true,"targetCategory":1,"targetId":13}
request-fields
Path | Type | Description |
---|---|---|
|
|
Vote를 등록하는 User id |
|
|
찬반 여부 |
|
|
투표를 등록할 target의 category ( target category - 1: fit certification ) |
|
|
투표를 등록할 target의 id ( ex. fit certification id ) |
request-body
{"requestUserId":"testUserId","agree":true,"targetCategory":1,"targetId":13}
curl-request
$ curl 'http://localhost:8080/my-fit-service/votes' -i -X POST \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserId","agree":true,"targetCategory":1,"targetId":13}'
response-fields
Path | Type | Description |
---|---|---|
|
|
등록 성공 여부 |
response-body
{"isRegisterSuccess":true}
http-response
HTTP/1.1 201 Created Content-Length: 26 Content-Type: application/json
{"isRegisterSuccess":true}
http-request
DELETE /my-fit-service/votes HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 63 Host: localhost:8080
{"requestUserId":"testUserId","targetCategory":1,"targetId":13}
request-fields
Path | Type | Description |
---|---|---|
|
|
Vote를 삭제요청한 User id |
|
|
투표를 삭제할 target의 category ( target category - 1: fit certification ) |
|
|
투표를 삭제할 target의 id ( ex. fit certification id ) |
request-body
{"requestUserId":"testUserId","targetCategory":1,"targetId":13}
curl-request
$ curl 'http://localhost:8080/my-fit-service/votes' -i -X DELETE \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserId","targetCategory":1,"targetId":13}'
response-fields
Path | Type | Description |
---|---|---|
|
|
삭제 성공 여부 |
response-body
{"isDeleteSuccess":true}
http-response
HTTP/1.1 200 OK Content-Length: 24 Content-Type: application/json
{"isDeleteSuccess":true}
http-request
PUT /my-fit-service/votes HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 76 Host: localhost:8080
{"requestUserId":"testUserId","agree":true,"targetCategory":1,"targetId":13}
request-fields
Path | Type | Description |
---|---|---|
|
|
Vote를 수정요청한 User id |
|
|
찬반 여부 |
|
|
투표를 수정할 target의 category ( target category - 1: fit certification ) |
|
|
투표를 수정할 target의 id ( ex. fit certification id ) |
request-body
{"requestUserId":"testUserId","agree":true,"targetCategory":1,"targetId":13}
curl-request
$ curl 'http://localhost:8080/my-fit-service/votes' -i -X PUT \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserId","agree":true,"targetCategory":1,"targetId":13}'
response-fields
Path | Type | Description |
---|---|---|
|
|
등록 성공 여부 |
response-body
{"isUpdateSuccess":true}
http-response
HTTP/1.1 200 OK Content-Length: 24 Content-Type: application/json
{"isUpdateSuccess":true}
http-request
GET /my-fit-service/my-fits/certifications/progresses?requestUserId=testUserId HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
curl-request
$ curl 'http://localhost:8080/my-fit-service/my-fits/certifications/progresses?requestUserId=testUserId' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
진척도 list |
|
|
fit group id |
|
|
fit group 이름 |
|
|
fit group의 썸네일 사진 end point |
|
|
인증 주기 ( 1: 일주일, 2: 한달, 3: 일년 ) - 현재는 일주일만 구현 |
|
|
주기별 인증 필요 횟수 |
|
|
금주 인증 횟수 |
response-body
{"fitCertificationProgresses":[{"fitGroupId":1,"fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒1","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","cycle":1,"frequency":8,"certificationCount":5},{"fitGroupId":2,"fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒2","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","cycle":1,"frequency":9,"certificationCount":6},{"fitGroupId":3,"fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒3","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","cycle":1,"frequency":10,"certificationCount":7}]}
http-response
HTTP/1.1 200 OK Content-Length: 678 Content-Type: application/json
{"fitCertificationProgresses":[{"fitGroupId":1,"fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디1","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","cycle":1,"frequency":8,"certificationCount":5},{"fitGroupId":2,"fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디2","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","cycle":1,"frequency":9,"certificationCount":6},{"fitGroupId":3,"fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디3","thumbnailEndPoint":"https://avatars.githubusercontent.com/u/105261146?v=4","cycle":1,"frequency":10,"certificationCount":7}]}
http-request
GET /my-fit-service/my-fits/certifications/need-votes?requestUserId=testUserId HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
curl-request
$ curl 'http://localhost:8080/my-fit-service/my-fits/certifications/need-votes?requestUserId=testUserId' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
유저가 투표해야할 인증 목록 |
|
|
투표해야할 인증이 있는 fit group id |
|
|
투표해야할 인증이 있는 fit group의 이름 |
|
|
fit group 내의 투표해야할 인증 목록 |
|
|
투표해야할 인증의 id ( fit certification id ) |
|
|
투표해야할 인증의 recordId ( fit record id ) |
|
|
투표해야할 인증을 요청한 유저 id |
|
|
찬성 수 |
|
|
반대 수 |
|
|
최대 투표 수 |
|
|
투표 종료 일자 |
|
|
인증을 요청한 기록의 multi media end points |
response-body
{"needVoteCertificationFitGroupList":[{"fitGroupId":1,"fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒","needVoteCertificationList":[{"certificationId":1,"recordId":2,"certificationRequestUserId":"testUserId","agreeCount":4,"disagreeCount":2,"maxAgreeCount":10,"voteEndDate":"2024-04-19T08:17:30.524382300Z","recordMultiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]},{"certificationId":4,"recordId":2,"certificationRequestUserId":"testUserId","agreeCount":2,"disagreeCount":1,"maxAgreeCount":7,"voteEndDate":"2024-04-19T08:17:30.525379200Z","recordMultiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}]},{"fitGroupId":2,"fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒","needVoteCertificationList":[{"certificationId":2,"recordId":3,"certificationRequestUserId":"testUserId","agreeCount":5,"disagreeCount":3,"maxAgreeCount":11,"voteEndDate":"2024-04-19T08:17:30.525379200Z","recordMultiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]},{"certificationId":5,"recordId":3,"certificationRequestUserId":"testUserId","agreeCount":3,"disagreeCount":2,"maxAgreeCount":8,"voteEndDate":"2024-04-19T08:17:30.525379200Z","recordMultiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}]},{"fitGroupId":3,"fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒","needVoteCertificationList":[{"certificationId":3,"recordId":4,"certificationRequestUserId":"testUserId","agreeCount":6,"disagreeCount":4,"maxAgreeCount":12,"voteEndDate":"2024-04-19T08:17:30.525379200Z","recordMultiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]},{"certificationId":6,"recordId":4,"certificationRequestUserId":"testUserId","agreeCount":4,"disagreeCount":3,"maxAgreeCount":9,"voteEndDate":"2024-04-19T08:17:30.525379200Z","recordMultiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}]}]}
http-response
HTTP/1.1 200 OK Content-Length: 1971 Content-Type: application/json
{"needVoteCertificationFitGroupList":[{"fitGroupId":1,"fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디","needVoteCertificationList":[{"certificationId":1,"recordId":2,"certificationRequestUserId":"testUserId","agreeCount":4,"disagreeCount":2,"maxAgreeCount":10,"voteEndDate":"2024-04-19T08:17:30.524382300Z","recordMultiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]},{"certificationId":4,"recordId":2,"certificationRequestUserId":"testUserId","agreeCount":2,"disagreeCount":1,"maxAgreeCount":7,"voteEndDate":"2024-04-19T08:17:30.525379200Z","recordMultiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}]},{"fitGroupId":2,"fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디","needVoteCertificationList":[{"certificationId":2,"recordId":3,"certificationRequestUserId":"testUserId","agreeCount":5,"disagreeCount":3,"maxAgreeCount":11,"voteEndDate":"2024-04-19T08:17:30.525379200Z","recordMultiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]},{"certificationId":5,"recordId":3,"certificationRequestUserId":"testUserId","agreeCount":3,"disagreeCount":2,"maxAgreeCount":8,"voteEndDate":"2024-04-19T08:17:30.525379200Z","recordMultiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}]},{"fitGroupId":3,"fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디","needVoteCertificationList":[{"certificationId":3,"recordId":4,"certificationRequestUserId":"testUserId","agreeCount":6,"disagreeCount":4,"maxAgreeCount":12,"voteEndDate":"2024-04-19T08:17:30.525379200Z","recordMultiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]},{"certificationId":6,"recordId":4,"certificationRequestUserId":"testUserId","agreeCount":4,"disagreeCount":3,"maxAgreeCount":9,"voteEndDate":"2024-04-19T08:17:30.525379200Z","recordMultiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}]}]}
path-parameters
Parameter | Description |
---|---|
|
penalty list를 조회할 user id |
http-request
GET /my-fit-service/penalties/filters/by-users/testUserId?startDate=2024-04-01T00:00:00Z&endDate=2024-04-30T23:59:59Z&onlyPaid=true&onlyNotPaid=false&pageNumber=0&pageSize=5 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
curl-request
$ curl 'http://localhost:8080/my-fit-service/penalties/filters/by-users/testUserId?startDate=2024-04-01T00:00:00Z&endDate=2024-04-30T23:59:59Z&onlyPaid=true&onlyNotPaid=false&pageNumber=0&pageSize=5' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
조회 페이지 번호 |
|
|
조회 한 페이지 size |
|
|
다음 Slice가 있는지 |
|
|
총 금액 ( 결과 리스트 안의 Amount의 sum이 아닌 조회 조건으로 Paging 되지 않은 끝 Row의 Amount sum ) |
|
|
fit penalty 목록 |
|
|
fit penalty id |
|
|
fit penalty가 발생한 fit group id |
|
|
fit penalty (벌금) 이 발부된 user id |
|
|
fit penalty 금액 |
|
|
fit penalty 납부 했는지 여부 |
|
|
fit penalty 납부할 필요 없는지 여부 ( ex-fit reader가 취소시켰을때 true ) |
|
|
fit penalty가 발생한 일시 |
response-body
{"pageNumber":0,"pageSize":5,"hasNext":false,"totalAmount":15000,"content":[{"fitPenaltyId":1,"fitGroupId":4,"userId":"testUserId1","amount":5000,"paid":true,"noNeedPay":false,"createdAt":"2024-04-19T08:17:31.995447900Z"},{"fitPenaltyId":2,"fitGroupId":5,"userId":"testUserId2","amount":5000,"paid":true,"noNeedPay":false,"createdAt":"2024-04-19T08:17:31.995447900Z"},{"fitPenaltyId":3,"fitGroupId":6,"userId":"testUserId3","amount":5000,"paid":true,"noNeedPay":false,"createdAt":"2024-04-19T08:17:31.995447900Z"}]}
http-response
HTTP/1.1 200 OK Content-Length: 515 Content-Type: application/json
{"pageNumber":0,"pageSize":5,"hasNext":false,"totalAmount":15000,"content":[{"fitPenaltyId":1,"fitGroupId":4,"userId":"testUserId1","amount":5000,"paid":true,"noNeedPay":false,"createdAt":"2024-04-19T08:17:31.995447900Z"},{"fitPenaltyId":2,"fitGroupId":5,"userId":"testUserId2","amount":5000,"paid":true,"noNeedPay":false,"createdAt":"2024-04-19T08:17:31.995447900Z"},{"fitPenaltyId":3,"fitGroupId":6,"userId":"testUserId3","amount":5000,"paid":true,"noNeedPay":false,"createdAt":"2024-04-19T08:17:31.995447900Z"}]}
path-parameters
Parameter | Description |
---|---|
|
penalty list를 조회할 fit group id |
http-request
GET /my-fit-service/penalties/filters/by-fit-group/1634?startDate=2024-04-01T00:00:00Z&endDate=2024-04-30T23:59:59Z&onlyPaid=true&onlyNotPaid=false&pageNumber=0&pageSize=5 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
curl-request
$ curl 'http://localhost:8080/my-fit-service/penalties/filters/by-fit-group/1634?startDate=2024-04-01T00:00:00Z&endDate=2024-04-30T23:59:59Z&onlyPaid=true&onlyNotPaid=false&pageNumber=0&pageSize=5' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
조회 페이지 번호 |
|
|
조회 한 페이지 size |
|
|
다음 Slice가 있는지 |
|
|
총 금액 ( 결과 리스트 안의 Amount의 sum이 아닌 조회 조건으로 Paging 되지 않은 끝 Row의 Amount sum ) |
|
|
fit penalty 목록 |
|
|
fit penalty id |
|
|
fit penalty가 발생한 fit group id |
|
|
fit penalty (벌금) 이 발부된 user id |
|
|
fit penalty 금액 |
|
|
fit penalty 납부 했는지 여부 |
|
|
fit penalty 납부할 필요 없는지 여부 ( ex-fit reader가 취소시켰을때 true ) |
|
|
fit penalty가 발생한 일시 |
response-body
{"pageNumber":0,"pageSize":5,"hasNext":false,"totalAmount":15000,"content":[{"fitPenaltyId":1,"fitGroupId":4,"userId":"testUserId1","amount":5000,"paid":true,"noNeedPay":false,"createdAt":"2024-04-19T08:17:31.935608300Z"},{"fitPenaltyId":2,"fitGroupId":5,"userId":"testUserId2","amount":5000,"paid":true,"noNeedPay":false,"createdAt":"2024-04-19T08:17:31.935608300Z"},{"fitPenaltyId":3,"fitGroupId":6,"userId":"testUserId3","amount":5000,"paid":true,"noNeedPay":false,"createdAt":"2024-04-19T08:17:31.935608300Z"}]}
http-response
HTTP/1.1 200 OK Content-Length: 515 Content-Type: application/json
{"pageNumber":0,"pageSize":5,"hasNext":false,"totalAmount":15000,"content":[{"fitPenaltyId":1,"fitGroupId":4,"userId":"testUserId1","amount":5000,"paid":true,"noNeedPay":false,"createdAt":"2024-04-19T08:17:31.935608300Z"},{"fitPenaltyId":2,"fitGroupId":5,"userId":"testUserId2","amount":5000,"paid":true,"noNeedPay":false,"createdAt":"2024-04-19T08:17:31.935608300Z"},{"fitPenaltyId":3,"fitGroupId":6,"userId":"testUserId3","amount":5000,"paid":true,"noNeedPay":false,"createdAt":"2024-04-19T08:17:31.935608300Z"}]}
path-parameters
Parameter | Description |
---|---|
|
입금 완료 처리할 fit penalty id |
http-request
PUT /my-fit-service/management/penalties/162 HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 30 Host: localhost:8080
{"requestUserId":"testUserId"}
curl-request
$ curl 'http://localhost:8080/my-fit-service/management/penalties/162' -i -X PUT \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserId"}'
response-fields
Path | Type | Description |
---|---|---|
|
|
수납 완료 등록 성공 여부 |
response-body
{"isPaidSuccess":true}
http-response
HTTP/1.1 200 OK Content-Length: 22 Content-Type: application/json
{"isPaidSuccess":true}
path-parameters
Parameter | Description |
---|---|
|
입금 불필요 처리할 fit penalty id |
http-request
DELETE /my-fit-service/management/penalties/162 HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 30 Host: localhost:8080
{"requestUserId":"testUserId"}
curl-request
$ curl 'http://localhost:8080/my-fit-service/management/penalties/162' -i -X DELETE \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserId"}'
response-fields
Path | Type | Description |
---|---|---|
|
|
입금 불필요 등록 성공 여부 |
response-body
{"isNoNeedPaySuccess":true}
http-response
HTTP/1.1 200 OK Content-Length: 27 Content-Type: application/json
{"isNoNeedPaySuccess":true}