-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathnodered-workflow-send-job-request.json
60 lines (60 loc) · 1.27 KB
/
nodered-workflow-send-job-request.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
[{
"id": "7e90ca50.6bb2f4",
"type": "http request",
"z": "cd02bfe3.0ff92",
"name": "sendJobRequest",
"method": "POST",
"ret": "obj",
"url": "https://{{driverHostname}}/driverinsights/jobcontrol/job?tenant_id={{driverTenantId}}",
"x": 583,
"y": 185,
"wires": [["cb464a55.d465f8"]]
},{
"id": "2fdab27d.37c83e",
"type": "inject",
"z": "cd02bfe3.0ff92",
"name": "sendJobRequest_Inject",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"x": 161,
"y": 184,
"wires": [["dc28a4b7.59f538"]]
},{
"id": "cb464a55.d465f8",
"type": "debug",
"z": "cd02bfe3.0ff92",
"name": "",
"active": true,
"console": "false",
"complete": "payload",
"x": 797,
"y": 110,
"wires": []
},{
"id": "dc28a4b7.59f538",
"type": "function",
"z": "cd02bfe3.0ff92",
"name": "Config",
"func": "msg.driverHostname = \"automotive.internetofthings.ibmcloud.com\";\nmsg.driverTenantId = \"FIX-ME\";\nmsg.payload = {\"from\": \"2016-03-11\", \"to\": \"2016-03-11\"};\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 353,
"y": 184,
"wires": [["7e90ca50.6bb2f4",
"26d0a025.cbc03"]]
},{
"id": "26d0a025.cbc03",
"type": "debug",
"z": "cd02bfe3.0ff92",
"name": "",
"active": false,
"console": "false",
"complete": "true",
"x": 496,
"y": 278,
"wires": []
}]