Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Overview

Description

Notify iOS device users on important details or tasks via the REST API.

Example: Notify the sales employees of an urgent meeting to revisit the sales strategy.

Resource Path/notification
URL/ios/operation/notification
HTTP MethodPOST
Request/Response Formatapplication/json

Sample request

Insert excerpt
EMM210:Resource Definition to Remove an Application on iOS DevicesEMM210:
Resource Definition to Remove an Application on iOS Devices
nopaneltrue

For information on the property definitions, see Resource Definition to Send Notifications to iOS Devices.

cURL command

Code Block
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer <EMM_API_TOKEN>" -d @'<JSON_PAYLOAD>' -k -v https://<EMM_HOST>:<EMM_HTTPS_PORT>/ios/operation/notification
  • For more information on how to generate the EMM API token, see Generating the EMM API Token.
  • Define the path to the JSON file as the  <JSON_PAYLOAD>  value.
  • By default, <EMM_HOST> is localhost. However, if you are using a public IP, the respective IP address or domain needs to be specified.
  • By default, <EMM_HTTPS_PORT> has been set to 9443. However, if the port offset has been incremented by n, the default port value needs to be incremented by n.