-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestTemplate.txt
89 lines (89 loc) · 2.2 KB
/
TestTemplate.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"header": {
"Content-Type": "application/json;charset=UTF-8",
"Host": "your.application.endpoint",
"Accept": "application/json",
"Accept-Charset": "utf-8",
"Authorization": "TSK-HMAC-SHA256-BASIC Datetime=20180101T203559Z, Signature=d8612ab1ff0301e1016d817c02350a2b76ea62e0"
},
"body": {
"version": "1.0",
"session": {
"new": true,
"sessionId": "sssss.....id"
},
"context": {
"System": {
"device": {
"deviceId": "string",
"supportedInterfaces": {
"AudioPlayer": {
"Play": true,
"Stop": false,
"ClearQueue": false
}
}
},
"application": {
"applicationId": "1072052610523357184"
},
"user": {
"userId": "uuuuuuuu....id",
"accessToken": "account....token"
}
}
},
"request": {
"type": "IntentRequest",
"requestId": "rrrrrr.....id",
"timestamp": "20170720T193559Z",
"dialogState": "string",
"queryText": "string",
"intent": {
"name": "monthly_instalment",
"confirmationStatus": "string",
"slots": {
"loan": {
"name": "loan",
"confirmationStatus": "string",
"values": [
{
"value": {
"type": "sys.number",
"value": "100",
"origin": "贷款100万"
}
}
]
},
"years": {
"name": "years",
"confirmationStatus": "string",
"values": [
{
"value": {
"type": "usr.years",
"value": "30",
"origin": "贷款30年"
}
}
]
},
"method": {
"name": "method",
"confirmationStatus": "string",
"values": [
{
"value": {
"type": "usr.method",
"value": "等额本息",
"origin": "等额本息"
}
}
]
}
}
}
}
}
}