/
send-notification-target-jig.jigx
68 lines (67 loc) · 1.27 KB
/
send-notification-target-jig.jigx
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
method: POST
provider: DATA_PROVIDER_REST
inputTransform: >
$.{
"content": {
"title": title,
"text": text,
"screen": "jig",
"jigId": jigId,
"inputs":{
"promotionId":promotionId
}
},
"scope": scope,
"emails": emails,
"solutionId": solutionId
}
parameters:
deviceId:
location: body
type: string
required: true
value: jig
command:
location: body
type: string
required: false
value: createNotification
organizationId:
location: path
type: string
required: true
scope:
location: body
type: string
required: false
value: USR
emails:
location: body
type: array
required: true
title:
location: body
type: string
required: true
text:
location: body
type: string
required: true
promotionId:
location: body
type: string
required: true
solutionId:
location: body
type: string
required: true
jigId:
location: body
type: string
required: true
accessToken:
location: header
type: jigx
value: jigx
required: true
url: https://kdiqmco762.execute-api.us-east-1.amazonaws.com/default/organizations/09e431b3-e4e3-4cfa-9812-9160e69ecfa7/notifications/