프로젝트

일반

사용자정보

POSTMAN_TEST_COMMAND_제1주차장.txt

Postman Command 1 Parking Lot - 최윤호, 2020/10/23 16:33

 
1
10.25.253.72:35042 ( Restful 주소 입력시 포트 ) 
2
10.25.253.72:35052 ( 로그인 주소 ) 
3

    
4

    
5
==========입출차
6
http://10.25.253.72:35042/nxpms/v2.0/spaces
7
{
8
    "tkNo": "",
9
    "siteCode": "0081-0002-0001-0001",
10
    "deviceCode": "0038-0001",
11
    "userLaneCode": "0001", /* 면번호 */ 
12
    "status": 1, /* 1: 입차, 2: 출차 */ 
13
    "carNo": "No_Detection", /* 차번을 넣으면 된다.  */ 
14
    "carNo2": "",
15
    "carInDate": 1601265411, /* 입차시간 */ 
16
    "carOutDate": 1600938017, /* 출차시간 */
17
    "parkingLotNo": "01",
18
    "parkingLevelCode": "L01F",
19
    "parkingZoneCode": "000",
20
    "laneSeqNum": "0001",
21
    "laneCode": "01L01F0000007",
22
    "laneLocation": "0012",
23
    "imagePath": "http://192.168.1.40:65080/gImage/2019/03/23/01L01F0000007/20190323105554_No_Detection.jpg"
24
}
25

    
26
-> Tkno. 가 응답으로 옮. ( 예: 0081-0002-0001-0001-0038-0001-0002-200924070416 )
27

    
28
==========조회
29
http://10.25.253.72:35042/nxpms/v2.0/unit/0081-0002-0001-0001-0012-0001/serial/0081-0002-0001-0001-0038-0001-0015-200928221002/payments
30

    
31
-> 요금이 응답으로 옮. 
32

    
33
==========할인
34
http://10.25.253.72:35042/nxpms/v2.0/discount-tickets
35
{
36
	"unit": {
37
		"fullCode": "0081-0002-0001-0001-0012-0001"
38
	},
39
	"tkNo": "0081-0002-0001-0001-0038-0001-0002-200924070416",
40
	"serialNo": "0001200914011000120000009", /* 0120 분 / 1440 분 (24시간) / 000009 일련번호 (6자리) */  
41
	"ticketType": "BR"
42
}
43
2
44

    
45

    
46
==========결제
47
http://10.25.253.72:35042/nxpms/v2.0/payment-details
48
{
49
    "unit": {
50
        "fullCode": "0081-0002-0001-0001-0012-0001"
51
    },
52
    "payment": {
53
        "car": {
54
            "tkNo": "0081-0002-0001-0001-0038-0001-0001-200924070416"
55
        }
56
    },
57
    "payDate": 1600937984, /* 결제시간   */ 
58
    "payType": 0,  /* 0: 0원 결제, 1: 현금 */ 
59
    "payAmt": 0,  /* 현금인경우 채워준다 */
60
    "recvAmt": 0, /* 현금인경우 위와 동일하게 채워준다. */ 
61
    "retAmt": 0,  /* 반환금 */ 
62
    "notRetAmt": 0,
63
    "vatAmt": 0,
64
    "card": null,
65
    "cash": {
66
        "sendTime": 1600937984,
67
        "inOutType": 1,
68
        "currCoin1": 0,
69
        "currCoin2": 0,
70
        "currCoin3": 0,
71
        "currCoin4": 4,
72
        "currCoin5": 0,
73
        "currCoin6": 0,
74
        "currBill1": 0,
75
        "currBill2": 0,
76
        "currBill3": 0,
77
        "currBill4": 0,
78
        "currBill5": 0,
79
        "currBill6": 0,
80
        "inCoin1": 0,
81
        "inCoin2": 0,
82
        "inCoin3": 0,
83
        "inCoin4": 0,
84
        "inCoin5": 0,
85
        "inCoin6": 0,
86
        "inBill1": 0,
87
        "inBill2": 0,
88
        "inBill3": 0,
89
        "inBill4": 0,
90
        "inBill5": 0,
91
        "inBill6": 0,
92
        "outCoin1": 0,
93
        "outCoin2": 0,
94
        "outCoin3": 0,
95
        "outCoin4": 0,
96
        "outCoin5": 0,
97
        "outCoin6": 0,
98
        "outBill1": 0,
99
        "outBill2": 0,
100
        "outBill3": 0,
101
        "outBill4": 0,
102
        "outBill5": 0,
103
        "outBill6": 0,
104
        "notCoin1": 0,
105
        "notCoin2": 0,
106
        "notCoin3": 0,
107
        "notCoin4": 0,
108
        "notCoin5": 0,
109
        "notCoin6": 0,
110
        "notBill1": 0,
111
        "notBill2": 0,
112
        "notBill3": 0,
113
        "notBill4": 0,
114
        "notBill5": 0,
115
        "notBill6": 0
116
    }
117
}
클립보드 이미지 추가 (최대 크기: 400 MB)