-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_example.json
82 lines (82 loc) · 2.06 KB
/
config_example.json
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
{
"TotalCount": 100,
"SharedFields": [
{
"Name": "sso_id",
"Type": {
"Type": "uuid"
}
}
],
"Entities": [
{
"Field": {
"Fields": [
{
"Name": "USER",
"Fields": [{
"Name": "LoginName",
"Type": {
"Reference": "sso_id"
}
}]
},
{
"Name": "PETS",
"Array": {
"MinLen": 1,
"MaxLen": 3,
"Value": {
"Fields": [
{
"Name": "PetName",
"Type": {
"Type": "string"
}
}
]
}
}
}
]
},
"Config": {
"OutputFormat": "json",
"Filepath": "nt/users.json"
}
}, {
"Field": {
"Fields": [{
"Name": "body",
"Type": {
"Reference": "sso_id",
"Template": "{\n\t\"query\": {\n\t\t\"binary\": {\n\t\t\t\"field\": \"USER.LoginName\",\n\t\t\t\"operator\": \"=\",\n\t\t\t\"value\": \"%s\"\n\t\t}\n\t}\n}"
}
}, {
"Name": "uri",
"Type": {
"Type": "const",
"Const": "/api/pdp-api-service/rest/find_extended"
}
}, {
"Name": "method",
"Type": {
"Type": "const",
"Const": "POST"
}
}, {
"Name": "headers",
"Type": {
"Type": "const",
"AsJson": true,
"Const": "{\"X-APPLICATION-TOKEN\": \"ab6bb04de8f8bd53e4c64569d76dc01cac4a80415d2dabb33fee336e37f83f2dfcfa5ef0165727d977c9b66fcd5217560fe776324509262b1e44b2f6973ef638f6faac3f21037fabe4065de0be734e279724d18a75f4cce5d422efda5b52dd8ebde159cadaaf46646c54886c8b8519688aade960d6a9f0036f17cf90eb2824c1\", \"User-Agent\": \"Pandora\"}"
}
}]
},
"Config": {
"OutputFormat": "json",
"Filepath": "nt/ammos.json"
}
}
]
}