1
|
10.22.5.212:36042 ( Restful 주소 입력시 포트 )
|
2
|
10.22.5.212:36052 ( 접속 주소 )
|
3
|
|
4
|
==========입출차
|
5
|
http://l10.22.5.212:36042/nxpms/v2.0/spaces
|
6
|
{
|
7
|
"tkNo": "",
|
8
|
"siteCode": "0081-0002-0001-0002",
|
9
|
"deviceCode": "0038-0002",
|
10
|
"userLaneCode": "0001", /* 면번호 */
|
11
|
"status": 1, /* 1: 입차, 2: 출차 */
|
12
|
"carNo": "No_Detection", /* 차번을 넣으면 된다. */
|
13
|
"carNo2": "",
|
14
|
"carInDate": 1601265411, /* 입차시간 */
|
15
|
"carOutDate": 1600938017, /* 출차시간 */
|
16
|
"parkingLotNo": "01",
|
17
|
"parkingLevelCode": "L01F",
|
18
|
"parkingZoneCode": "000",
|
19
|
"laneSeqNum": "0001",
|
20
|
"laneCode": "01L01F0000007",
|
21
|
"laneLocation": "0012",
|
22
|
"imagePath": "http://192.168.1.40:65080/gImage/2019/03/23/01L01F0000007/20190323105554_No_Detection.jpg"
|
23
|
}
|
24
|
|
25
|
-> Tkno. 가 응답으로 옮. ( 예: 0081-0002-0001-0002-0038-0002-0002-200924070416 )
|
26
|
|
27
|
==========조회
|
28
|
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
|
29
|
|
30
|
-> 요금이 응답으로 옮.
|
31
|
|
32
|
==========할인
|
33
|
http://10.22.5.212:36042/nxpms/v2.0/discount-tickets
|
34
|
{
|
35
|
"unit": {
|
36
|
"fullCode": "0081-0002-0001-0002-0012-0001"
|
37
|
},
|
38
|
"tkNo": "0081-0002-0001-0002-0038-0002-0002-200924070416",
|
39
|
"serialNo": "0001200914011000120000009", /* 0120 분 / 1440 분 (24시간) / 000009 일련번호 (6자리) */
|
40
|
"ticketType": "BR"
|
41
|
}
|
42
|
2
|
43
|
|
44
|
|
45
|
==========결제
|
46
|
http://10.22.5.212:36042/nxpms/v2.0/payment-details
|
47
|
{
|
48
|
"unit": {
|
49
|
"fullCode": "0081-0002-0001-0002-0012-0001"
|
50
|
},
|
51
|
"payment": {
|
52
|
"car": {
|
53
|
"tkNo": "0081-0002-0001-0002-0038-0002-0001-200924070416"
|
54
|
}
|
55
|
},
|
56
|
"payDate": 1600937984, /* 결제시간 */
|
57
|
"payType": 0, /* 0: 0원 결제, 1: 현금 */
|
58
|
"payAmt": 0, /* 현금인경우 채워준다 */
|
59
|
"recvAmt": 0, /* 현금인경우 위와 동일하게 채워준다. */
|
60
|
"retAmt": 0, /* 반환금 */
|
61
|
"notRetAmt": 0,
|
62
|
"vatAmt": 0,
|
63
|
"card": null,
|
64
|
"cash": {
|
65
|
"sendTime": 1600937984,
|
66
|
"inOutType": 1,
|
67
|
"currCoin1": 0,
|
68
|
"currCoin2": 0,
|
69
|
"currCoin3": 0,
|
70
|
"currCoin4": 4,
|
71
|
"currCoin5": 0,
|
72
|
"currCoin6": 0,
|
73
|
"currBill1": 0,
|
74
|
"currBill2": 0,
|
75
|
"currBill3": 0,
|
76
|
"currBill4": 0,
|
77
|
"currBill5": 0,
|
78
|
"currBill6": 0,
|
79
|
"inCoin1": 0,
|
80
|
"inCoin2": 0,
|
81
|
"inCoin3": 0,
|
82
|
"inCoin4": 0,
|
83
|
"inCoin5": 0,
|
84
|
"inCoin6": 0,
|
85
|
"inBill1": 0,
|
86
|
"inBill2": 0,
|
87
|
"inBill3": 0,
|
88
|
"inBill4": 0,
|
89
|
"inBill5": 0,
|
90
|
"inBill6": 0,
|
91
|
"outCoin1": 0,
|
92
|
"outCoin2": 0,
|
93
|
"outCoin3": 0,
|
94
|
"outCoin4": 0,
|
95
|
"outCoin5": 0,
|
96
|
"outCoin6": 0,
|
97
|
"outBill1": 0,
|
98
|
"outBill2": 0,
|
99
|
"outBill3": 0,
|
100
|
"outBill4": 0,
|
101
|
"outBill5": 0,
|
102
|
"outBill6": 0,
|
103
|
"notCoin1": 0,
|
104
|
"notCoin2": 0,
|
105
|
"notCoin3": 0,
|
106
|
"notCoin4": 0,
|
107
|
"notCoin5": 0,
|
108
|
"notCoin6": 0,
|
109
|
"notBill1": 0,
|
110
|
"notBill2": 0,
|
111
|
"notBill3": 0,
|
112
|
"notBill4": 0,
|
113
|
"notBill5": 0,
|
114
|
"notBill6": 0
|
115
|
}
|
116
|
}
|