Request Header
Name | Type | Required? | Description |
fidtoken | token | Yes | firebase id token |
Responses
Response Body | Description | Reason | |
200 | 하단 데이터 참조 | 조회 완료 | |
404 | [] | 조회 실패 | 유저 아이디가 없는 경우 |
400 | [] | 조회 실패 | 기타 예외 발생의 경우 |
Responses data
•
onedayClassList : 원데이 클래스 예약 리스트
•
ptList : PT 예약 리스트
{
"onedayClassList": [
{
"billingInfo": {
"cardName": "국민카드",
"cardNumber": "527289*********8",
"cardQuota": 0,
"orderId": "imp_004795098779",
"paidAt": 1712542959,
"payMethod": "card",
"price": 33000,
"receiptUrl": "https://iniweb.inicis.com/receipt/iniReceipt.jsp?noTid=INIMX_CARDMOI321662120240408112239185243"
},
"classInfo": {
"classId": 4,
"endTime": "2024-04-20T07:00:00.000Z",
"reservationStatus": 2,
"scheduleId": 4,
"sessionInformation": null,
"startTime": "2024-04-20T05:00:00.000Z",
"tag": [
"서울",
"수행 개선"
],
"thumbnailName": "미스터스트레치",
"thumbnailSquareImage": "https://bunnfit-assets.s3.ap-northeast-2.amazonaws.com/oneday_class/04_passiveStretching/thumbnailSquare.png",
"title": "하체 가동범위 향상을 위한 패시브 스트레칭"
},
"orderId": "imp_004795098779",
"reservationId": 38,
"userInfo": {
"birthdate": "1993-01-01",
"gender": "male",
"name": "ㅂㅂ",
"phone": "00000000000",
"surveyAnswer": [
{
"answer": "ㅂㅂ",
"question": "운동경력"
},
{
"answer": "ㅂㅂ",
"question": "부상 이력 및 기타 참고"
}
]
}
}
],
"ptList": [
{
"billingInfo": {
"cardName": "국민카드",
"cardNumber": "527289*********8",
"cardQuota": 0,
"orderId": "imp_160321829696",
"paidAt": 1723169709,
"payMethod": "card",
"price": 49900,
"receiptUrl": "https://iniweb.inicis.com/receipt/iniReceipt.jsp?noTid=INIMX_CARDMOI321662120240809111509555565"
},
"orderId": "imp_160321829696",
"ptInfo": {
"date": "2024-08-17 15:00",
"ptId": 1,
"ptReservationStatus": 0,
"tag": [
"서울",
"프리웨이트"
],
"thumbnailName": "에임트레이닝랩",
"thumbnailSquareImage": "https://bunnfit-assets.s3.ap-northeast-2.amazonaws.com/pt/01_SEOSEONGSU/thumbnailSquareImage.png",
"title": "서성수 코치님의 PT"
},
"ptReservationId": 4,
"userInfo": {
"birthdate": "1995-01-01",
"gender": "female",
"name": "테스트헤일리",
"phone": "11111111111",
"ptSurveyAnswer": [
{
"answer": "체형 관리",
"isRequired": true,
"option": [
"목표를 선택해주세요.",
"근력 증가",
"체형 관리",
"바디 프로필 촬영",
"신체 밸런스 향상",
"기타"
],
"question": "운동 목표",
"type": "dropdown"
},
{
"answer": "맞춤형 프로그램 설계",
"isRequired": true,
"option": [
"목적을 선택해주세요.",
"운동 자세 교정",
"새로운 운동 탐색",
"맞춤형 프로그램 설계",
"근골격 통증 완화",
"기타"
],
"question": "수업 목적",
"type": "dropdown"
}
],
"surveyAnswer": [
{
"answer": "ㅂ",
"isRequired": true,
"placeholder": "운동 경력을 적어주세요.",
"question": "운동경력"
}
]
}
}
]
}
JavaScript
복사