-
Notifications
You must be signed in to change notification settings - Fork 0
/
SAPS4HANACloudBusinessEvents_MeasurementDocumentEvents_After_Arranged.json
156 lines (156 loc) · 4.43 KB
/
SAPS4HANACloudBusinessEvents_MeasurementDocumentEvents_After_Arranged.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"openapi": "3.0.0",
"info": {
"title": "Measurement Document",
"version": "1.0",
"description": "The data transferred to the system after a measurement has been taken at a measuring point or a counter is described in the SAP system as a measurement document. This transfer can be performed automatically or manually. The measurement document is therefore the result of a measurement or counter reading being entered in the system. \n - Measurement Document Created \n - Measurement Document Changed"
},
"externalDocs": {
"description": "Business Documentation",
"url": "https://help.sap.com/viewer/f9ba73d1b8c543c2bd2ba1666271af86/latest/en-US/92f88c4f613d4cf7b8e8a609cf8a4974.html"
},
"components": {
"schemas": {
"sap.s4.beh.measurementdocument.v1.MeasurementDocument.Created.v1": {
"type": "object",
"properties": {
"MeasurementDocument": {
"type": "string"
}
}
},
"sap.s4.beh.measurementdocument.v1.MeasurementDocument.Changed.v1": {
"type": "object",
"properties": {
"MeasurementDocument": {
"type": "string"
}
}
},
"CloudContext": {
"title": "Schema for the CloudEvents context fields.",
"description": "This is a schema specification for the context fields as per CloudEvent standards.",
"type": "object",
"properties": {
"specversion": {
"description": "The version of the CloudEvents specification which the event uses. This enables the interpretation of the context.",
"type": "string"
},
"type": {
"description": "Type of occurrence which has happened. Often this property is used for routing, observability, policy enforcement, etc.",
"type": "string",
"minLength": 1
},
"source": {
"description": "This describes the event producer.",
"type": "string",
"format": "uri-reference"
},
"subject": {
"description": "The subject of the event in the context of the event producer (identified by source).",
"type": "string",
"minLength": 1
},
"id": {
"description": "ID of the event.",
"type": "string",
"minLength": 1
},
"time": {
"description": "Timestamp of when the occurrence happened. Must adhere to RFC 3339.",
"type": "string",
"format": "date-time"
},
"datacontenttype": {
"description": "Describe the data encoding format",
"type": "string"
}
},
"required": [
"id",
"specversion",
"source",
"type"
]
}
}
},
"paths": {
"/sap.s4.beh.measurementdocument.v1.MeasurementDocument.Created.v1": {
"post": {
"tags": [
"Created"
],
"x-payload": "",
"description": "This event is raised whenever a new measurement document is created from OData API, SAPGUI (IK11) or from WebDynpro application (Create Measurement Document)",
"summary": "Measurement Document Created",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"type": "object",
"$ref": "#/components/schemas/CloudContext"
},
{
"type": "object",
"properties": {
"data": {
"description": "Data Fields",
"$ref": "#/components/schemas/sap.s4.beh.measurementdocument.v1.MeasurementDocument.Created.v1"
}
}
}
]
}
}
}
},
"responses": {
"default": {
"description": "Success"
}
}
}
},
"/sap.s4.beh.measurementdocument.v1.MeasurementDocument.Changed.v1": {
"post": {
"tags": [
"Changed"
],
"x-payload": "",
"description": "This event is raised whenever a new measurement document is changed from OData API, SAPGUI (IK11) or from WebDynpro application (Change Measurement Document)",
"summary": "Measurement Document Changed",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"type": "object",
"$ref": "#/components/schemas/CloudContext"
},
{
"type": "object",
"properties": {
"data": {
"description": "Data Fields",
"$ref": "#/components/schemas/sap.s4.beh.measurementdocument.v1.MeasurementDocument.Changed.v1"
}
}
}
]
}
}
}
},
"responses": {
"default": {
"description": "Success"
}
}
}
}
}
}