10.22.5.212:36042 ( Restful 주소 입력시 포트 ) 10.22.5.212:36052 ( 접속 주소 ) ==========입출차 http://l10.22.5.212:36042/nxpms/v2.0/spaces { "tkNo": "", "siteCode": "0081-0002-0001-0002", "deviceCode": "0038-0002", "userLaneCode": "0001", /* 면번호 */ "status": 1, /* 1: 입차, 2: 출차 */ "carNo": "No_Detection", /* 차번을 넣으면 된다. */ "carNo2": "", "carInDate": 1601265411, /* 입차시간 */ "carOutDate": 1600938017, /* 출차시간 */ "parkingLotNo": "01", "parkingLevelCode": "L01F", "parkingZoneCode": "000", "laneSeqNum": "0001", "laneCode": "01L01F0000007", "laneLocation": "0012", "imagePath": "http://192.168.1.40:65080/gImage/2019/03/23/01L01F0000007/20190323105554_No_Detection.jpg" } -> Tkno. 가 응답으로 옮. ( 예: 0081-0002-0001-0002-0038-0002-0002-200924070416 ) ==========조회 http://10.22.5.212:36042/nxpms/v2.0/unit/0081-0002-0001-0002-0012-0001/serial/0081-0002-0001-0002-0038-0002-0015-200928221002/payments -> 요금이 응답으로 옮. ==========할인 http://10.22.5.212:36042/nxpms/v2.0/discount-tickets { "unit": { "fullCode": "0081-0002-0001-0002-0012-0001" }, "tkNo": "0081-0002-0001-0002-0038-0002-0002-200924070416", "serialNo": "0001200914011000120000009", /* 0120 분 / 1440 분 (24시간) / 000009 일련번호 (6자리) */ "ticketType": "BR" } 2 ==========결제 http://10.22.5.212:36042/nxpms/v2.0/payment-details { "unit": { "fullCode": "0081-0002-0001-0002-0012-0001" }, "payment": { "car": { "tkNo": "0081-0002-0001-0002-0038-0002-0001-200924070416" } }, "payDate": 1600937984, /* 결제시간 */ "payType": 0, /* 0: 0원 결제, 1: 현금 */ "payAmt": 0, /* 현금인경우 채워준다 */ "recvAmt": 0, /* 현금인경우 위와 동일하게 채워준다. */ "retAmt": 0, /* 반환금 */ "notRetAmt": 0, "vatAmt": 0, "card": null, "cash": { "sendTime": 1600937984, "inOutType": 1, "currCoin1": 0, "currCoin2": 0, "currCoin3": 0, "currCoin4": 4, "currCoin5": 0, "currCoin6": 0, "currBill1": 0, "currBill2": 0, "currBill3": 0, "currBill4": 0, "currBill5": 0, "currBill6": 0, "inCoin1": 0, "inCoin2": 0, "inCoin3": 0, "inCoin4": 0, "inCoin5": 0, "inCoin6": 0, "inBill1": 0, "inBill2": 0, "inBill3": 0, "inBill4": 0, "inBill5": 0, "inBill6": 0, "outCoin1": 0, "outCoin2": 0, "outCoin3": 0, "outCoin4": 0, "outCoin5": 0, "outCoin6": 0, "outBill1": 0, "outBill2": 0, "outBill3": 0, "outBill4": 0, "outBill5": 0, "outBill6": 0, "notCoin1": 0, "notCoin2": 0, "notCoin3": 0, "notCoin4": 0, "notCoin5": 0, "notCoin6": 0, "notBill1": 0, "notBill2": 0, "notBill3": 0, "notBill4": 0, "notBill5": 0, "notBill6": 0 } }