Creating Notifications
You use this API to create notifications associated with an equipment or location.
Request
-
HTTP Method: POST
-
URL: Application_URL/services/api/v1/notification
-
Authorization: You must have the roles EQUIPMENT_EDIT or EQUIPMENT_DELETE for equipment and FUNCTIONAL_LOCATION_EDIT or FUNCTIONAL_LOCATION_DELETE for locations assigned to your user ID in the SAP HANA Cloud Platform account.
-
Request Schema: To know about fields that you can use in a request payload, refer to the request schema in the https://help.sap.com/doc/7f578cf90bfe4f868abe0ee100a3762a/1902/en-US/notifications.html#notification_post file.
Response
-
If the system creates a notification successfully, the system returns the details of the created notification of an equipment or location along with auto-generated ID for the notification.
For more information, see https://help.sap.com/doc/7f578cf90bfe4f868abe0ee100a3762a/1902/en-US/notifications.html#notification_post.
-
If the systems cannot create a notification successfully, system returns appropriate error codes in the response payload.