API Docs - For Review
/
No Results Found

Attribute

id
string
ID of the notification auto schedule
name
string
Name of the notification auto schedule
description
string
Description of the notification auto schedule
groups
array
List of group IDs to which the notification will be sent
notification_template_id
string
ID of the notification template to be used for the schedule
notification_template
object
Notification template to be used for the schedule
Show Sub-Attributes arrow
id
string
ID of the notification template
name
string
Name of the notification template
is_enabled
boolean
Indicates if the notification auto schedule is enabled
technician
object
Technician assigned to manage the notification auto schedule
Show Sub-Attributes arrow
id
string
ID of the technician
name
string
Name of the technician
last_run_time
date-time
Last run time of the notification auto schedule
next_run_time
date-time
Next run time of the notification auto schedule
associated_groups_count
string
Number of groups associated with the notification auto schedule
schedule_settings
object
Show Sub-Attributes arrow
scheduler_interval
string
The interval type for the schedule.
Allowed Values:
  • DAILY
  • WEEKLY
  • MONTHLY
hours
string
The hour at which the notification will be sent
minutes
string
The minute at which the notification will be sent
day_of_week
string
The day of the week for the schedule (1-7, where 1 is Sunday)
day_of_month
string
The day of the month for the schedule (1-31)
month_of_year
string
The month of the year for the schedule (1-12)

Example

{ "id": "2000000293042", "name": "Notification schedule", "description": "Notification scheduler description", "groups": [ 2000000283042, 2000000283043, 2000000283044 ], "notification_template_id": "2000000293042", "notification_template": { "id": "2000000293042", "name": "Enrollment Notification Template" }, "is_enabled": true, "technician": { "id": "2000000293042", "name": "Technician 1" }, "last_run_time": "2023-10-27T03:30:12Z", "next_run_time": "2023-10-28T03:30:12Z", "associated_groups_count": "30", "schedule_settings": { "scheduler_interval": "WEEKLY", "hours": "21", "minutes": "0", "day_of_week": "5", "day_of_month": "10", "month_of_year": "12" } }

Get All Notification Auto Schedule

The Get All Notification Auto Schedule API can be used to get the list of all notification auto schedule configurations for quick enrollment.
OAuth Scope : id360.quick_enrollment.ALL,id360.quick_enrollment.READ

Request Example

Click to copy
headers_data = Map(); headers_data.put("Accept", "application/json"); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule") .get() .addHeader("Accept", "application/json") .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Accept: 'application/json', Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("id360.manageengine.com") headers = { 'Accept': "application/json", 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/api/v1/protection/quick-enrollment/notification-auto-schedule", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/protection/quick-enrollment/notification-auto-schedule", "headers": { "Accept": "application/json", "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "data": [ { "id": "2000000293042", "name": "Notification schedule", "description": "Notification scheduler description", "notification_template": { "id": "2000000293042", "name": "Enrollment Notification Template" }, "is_enabled": true, "technician": "Technician 1", "last_run_time": "2023-10-27T03:30:12Z", "next_run_time": "2023-10-28T03:30:12Z", "associated_groups_count": "30", "schedule_settings": { "scheduler_interval": "WEEKLY", "hours": "21", "minutes": "0", "day_of_week": "5", "day_of_month": "10", "month_of_year": "12" } }, { "id": "2000000293043", "name": "Notification schedule 2", "description": "Notification scheduler description 2", "notification_template": { "id": "2000000293043", "name": "Enrollment Notification Template 2" }, "is_enabled": false, "technician": "Technician 2", "last_run_time": "2023-10-27T04:00:00Z", "next_run_time": "2023-10-28T04:00:00Z", "associated_groups_count": "20", "schedule_settings": { "scheduler_interval": "DAILY", "hours": "10", "minutes": "30", "day_of_week": "1", "day_of_month": "15", "month_of_year": "6" } }, { "id": "2000000293044", "name": "Notification schedule 3", "description": "Notification scheduler description 3", "notification_template": { "id": "2000000293044", "name": "Enrollment Notification Template 3" }, "is_enabled": true, "technician": "Technician 3", "last_run_time": "2023-10-27T04:30:00Z", "next_run_time": "2023-10-28T04:30:00Z", "associated_groups_count": "25", "schedule_settings": { "scheduler_interval": "MONTHLY", "hours": "15", "minutes": "45", "day_of_week": "2", "day_of_month": "20", "month_of_year": "11" } } ], "meta": { "start_index": 1, "limit": 100, "total_no_of_objects": 3 } }
{ "error": { "code": "00000101", "title": "Unauthorized", "detail": "The OAuth token is invalid." } }
{ "error": { "code": "00000000", "title": "Internal Server Error", "detail": "An unexpected internal error has occurred on the server. Please try again later." } }

Create Notification Auto Schedule

The Create Notification Auto Schedule API can be used to create a new notification auto schedule configuration for quick enrollment.
OAuth Scope : id360.quick_enrollment.ALL,id360.quick_enrollment.WRITE,id360.quick_enrollment.CREATE

Arguments

name
string
Name of the notification auto schedule
description
string
Description of the notification auto schedule
groups
array
List of group IDs to which the notification will be sent
notification_template_id
string
ID of the notification template to be used for the schedule
schedule_settings
object
Show Sub-Attributes arrow
scheduler_interval
string
The interval type for the schedule.
Allowed Values:
  • DAILY
  • WEEKLY
  • MONTHLY
hours
string
The hour at which the notification will be sent
minutes
string
The minute at which the notification will be sent
day_of_week
string
The day of the week for the schedule (1-7, where 1 is Sunday)
day_of_month
string
The day of the month for the schedule (1-31)
month_of_year
string
The month of the year for the schedule (1-12)

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Accept", "application/json"); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule" type: POST headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule") .post(body) .addHeader("Accept", "application/json") .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Accept: 'application/json', Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("id360.manageengine.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Accept': "application/json", 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("POST", "/api/v1/protection/quick-enrollment/notification-auto-schedule", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/protection/quick-enrollment/notification-auto-schedule", "headers": { "Accept": "application/json", "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
curl --request POST \ --url https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "name": "Notification schedule", "description": "Notification scheduler description", "groups": [ 2000000283042, 2000000283043, 2000000283044 ], "notification_template_id": "2000000293042", "schedule_settings": { "scheduler_interval": "WEEKLY", "hours": "21", "minutes": "0", "day_of_week": "5", "day_of_month": "10", "month_of_year": "12" } }

Response Example

{ "data": { "id": "2000000293042", "name": "Notification schedule", "description": "Notification scheduler description", "notification_template": { "id": "2000000293042", "name": "Enrollment Notification Template" }, "is_enabled": true, "technician": { "id": "2000000293042", "name": "Technician 1" }, "last_run_time": "2023-10-27T03:30:12Z", "next_run_time": "2023-10-28T03:30:12Z", "associated_groups_count": "30", "schedule_settings": { "scheduler_interval": "WEEKLY", "hours": "21", "minutes": "0", "day_of_week": "5", "day_of_month": "10", "month_of_year": "12" } } }
{ "error": { "code": "00000101", "title": "Unauthorized", "detail": "The OAuth token is invalid." } }
{ "error": { "code": "00000000", "title": "Internal Server Error", "detail": "An unexpected internal error has occurred on the server. Please try again later." } }

Get Notification Auto Schedule

The Get Notification Auto Schedule API can be used to get a specific notification auto schedule configuration for quick enrollment.
OAuth Scope : id360.quick_enrollment.ALL,id360.quick_enrollment.READ

Request Example

Click to copy
headers_data = Map(); headers_data.put("Accept", "application/json"); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042") .get() .addHeader("Accept", "application/json") .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Accept: 'application/json', Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("id360.manageengine.com") headers = { 'Accept': "application/json", 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042", "headers": { "Accept": "application/json", "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042 \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "data": { "id": "2000000293042", "name": "Notification schedule", "description": "Notification scheduler description", "notification_template": { "id": "2000000293042", "name": "Enrollment Notification Template" }, "is_enabled": true, "technician": { "id": "2000000293042", "name": "Technician 1" }, "last_run_time": "2023-10-27T03:30:12Z", "next_run_time": "2023-10-28T03:30:12Z", "associated_groups_count": "30", "schedule_settings": { "scheduler_interval": "WEEKLY", "hours": "21", "minutes": "0", "day_of_week": "5", "day_of_month": "10", "month_of_year": "12" } } }
{ "error": { "code": "00000101", "title": "Unauthorized", "detail": "The OAuth token is invalid." } }
{ "error": { "code": "00000000", "title": "Internal Server Error", "detail": "An unexpected internal error has occurred on the server. Please try again later." } }

Update Notification Auto Schedule

The Update Notification Auto Schedule API can be used to update a specific notification auto schedule configuration for quick enrollment.
OAuth Scope : id360.quick_enrollment.ALL,id360.quick_enrollment.WRITE,id360.quick_enrollment.UPDATE

Arguments

name
string
Name of the notification auto schedule
description
string
Description of the notification auto schedule
groups
array
List of group IDs to which the notification will be sent
notification_template_id
string
ID of the notification template to be used for the schedule
schedule_settings
object
Show Sub-Attributes arrow
scheduler_interval
string
The interval type for the schedule.
Allowed Values:
  • DAILY
  • WEEKLY
  • MONTHLY
hours
string
The hour at which the notification will be sent
minutes
string
The minute at which the notification will be sent
day_of_week
string
The day of the week for the schedule (1-7, where 1 is Sunday)
day_of_month
string
The day of the month for the schedule (1-31)
month_of_year
string
The month of the year for the schedule (1-12)

Request Example

Click to copy
parameters_data='{"name":"Notification schedule","description":"Notification scheduler description","groups":[2000000283042,2000000283043,2000000283044],"notification_template_id":"2000000293042","schedule_settings":{"scheduler_interval":"WEEKLY","hours":"21","minutes":"0","day_of_week":"5","day_of_month":"10","month_of_year":"12"}}'; headers_data = Map(); headers_data.put("Accept", "application/json"); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042" type: PATCH headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"name\":\"Notification schedule\",\"description\":\"Notification scheduler description\",\"groups\":[2000000283042,2000000283043,2000000283044],\"notification_template_id\":\"2000000293042\",\"schedule_settings\":{\"scheduler_interval\":\"WEEKLY\",\"hours\":\"21\",\"minutes\":\"0\",\"day_of_week\":\"5\",\"day_of_month\":\"10\",\"month_of_year\":\"12\"}}"); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042") .patch(body) .addHeader("Accept", "application/json") .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PATCH', headers: { Accept: 'application/json', Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"name":"Notification schedule","description":"Notification scheduler description","groups":[2000000283042,2000000283043,2000000283044],"notification_template_id":"2000000293042","schedule_settings":{"scheduler_interval":"WEEKLY","hours":"21","minutes":"0","day_of_week":"5","day_of_month":"10","month_of_year":"12"}}' }; fetch('https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("id360.manageengine.com") payload = "{\"name\":\"Notification schedule\",\"description\":\"Notification scheduler description\",\"groups\":[2000000283042,2000000283043,2000000283044],\"notification_template_id\":\"2000000293042\",\"schedule_settings\":{\"scheduler_interval\":\"WEEKLY\",\"hours\":\"21\",\"minutes\":\"0\",\"day_of_week\":\"5\",\"day_of_month\":\"10\",\"month_of_year\":\"12\"}}" headers = { 'Accept': "application/json", 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("PATCH", "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PATCH", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042", "headers": { "Accept": "application/json", "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ name: 'Notification schedule', description: 'Notification scheduler description', groups: [2000000283042, 2000000283043, 2000000283044], notification_template_id: '2000000293042', schedule_settings: { scheduler_interval: 'WEEKLY', hours: '21', minutes: '0', day_of_week: '5', day_of_month: '10', month_of_year: '12' } })); req.end();
curl --request PATCH \ --url https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042 \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"name":"Notification schedule","description":"Notification scheduler description","groups":[2000000283042,2000000283043,2000000283044],"notification_template_id":"2000000293042","schedule_settings":{"scheduler_interval":"WEEKLY","hours":"21","minutes":"0","day_of_week":"5","day_of_month":"10","month_of_year":"12"}}'

Body Parameters

Click to copy
{ "name": "Notification schedule", "description": "Notification scheduler description", "groups": [ 2000000283042, 2000000283043, 2000000283044 ], "notification_template_id": "2000000293042", "schedule_settings": { "scheduler_interval": "WEEKLY", "hours": "21", "minutes": "0", "day_of_week": "5", "day_of_month": "10", "month_of_year": "12" } }

Response Example

{ "data": { "id": "2000000293042", "name": "Notification schedule", "description": "Notification scheduler description", "notification_template": { "id": "2000000293042", "name": "Enrollment Notification Template" }, "is_enabled": true, "technician": { "id": "2000000293042", "name": "Technician 1" }, "last_run_time": "2023-10-27T03:30:12Z", "next_run_time": "2023-10-28T03:30:12Z", "associated_groups_count": "30", "schedule_settings": { "scheduler_interval": "WEEKLY", "hours": "21", "minutes": "0", "day_of_week": "5", "day_of_month": "10", "month_of_year": "12" } } }
{ "error": { "code": "00000101", "title": "Unauthorized", "detail": "The OAuth token is invalid." } }
{ "error": { "code": "00000000", "title": "Internal Server Error", "detail": "An unexpected internal error has occurred on the server. Please try again later." } }

Delete Notification Auto Schedule

The Delete Notification Auto Schedule API can be used to delete a specific notification auto schedule configuration for quick enrollment.
OAuth Scope : id360.quick_enrollment.ALL,id360.quick_enrollment.WRITE,id360.quick_enrollment.DELETE

Request Example

Click to copy
headers_data = Map(); headers_data.put("Accept", "application/json"); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042" type: DELETE headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042") .delete(null) .addHeader("Accept", "application/json") .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'DELETE', headers: { Accept: 'application/json', Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("id360.manageengine.com") headers = { 'Accept': "application/json", 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("DELETE", "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "DELETE", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042", "headers": { "Accept": "application/json", "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request DELETE \ --url https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042 \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "error": { "code": "00000101", "title": "Unauthorized", "detail": "The OAuth token is invalid." } }
{ "error": { "code": "00000000", "title": "Internal Server Error", "detail": "An unexpected internal error has occurred on the server. Please try again later." } }

Get Notification Auto Schedule History

The Get Notification Auto Schedule History API can be used to get all the history of notification auto schedule runs for quick enrollment.
OAuth Scope : id360.quick_enrollment.ALL,id360.quick_enrollment.READ

Query Parameters

from
The starting index of the records to return in the response.
limit
The maximum number of records to return in the response.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Accept", "application/json"); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/history" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/history") .get() .addHeader("Accept", "application/json") .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Accept: 'application/json', Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/history', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("id360.manageengine.com") headers = { 'Accept': "application/json", 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/history", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/history", "headers": { "Accept": "application/json", "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/history \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "data": [ { "id": "2000000293042", "start_time": "2023-10-27T03:30:12Z", "end_time": "2023-10-27T03:35:12Z", "notification_type": "Mail, SMS", "total_attempted_count": 100, "success_count": 100, "initiated_by": "System" }, { "id": "2000000293043", "start_time": "2023-10-27T04:00:00Z", "end_time": "2023-10-27T04:05:00Z", "notification_type": "Mail, SMS", "total_attempted_count": 100, "success_count": 25, "initiated_by": "Technician 1" }, { "id": "2000000293044", "start_time": "2023-10-27T04:30:00Z", "end_time": "2023-10-27T04:35:00Z", "notification_type": "Mail, SMS", "total_attempted_count": 100, "success_count": 15, "initiated_by": "Technician 2" } ], "meta": { "start_index": 1, "limit": 100, "total_no_of_objects": 3 } }
{ "error": { "code": "00000101", "title": "Unauthorized", "detail": "The OAuth token is invalid." } }
{ "error": { "code": "00000000", "title": "Internal Server Error", "detail": "An unexpected internal error has occurred on the server. Please try again later." } }

Enable Notification Auto Schedule

The Enable Notification Auto Schedule API can be used to enable a specific notification auto schedule configuration for quick enrollment.
OAuth Scope : id360.quick_enrollment.ALL,id360.quick_enrollment.WRITE,id360.quick_enrollment.UPDATE

Request Example

Click to copy
headers_data = Map(); headers_data.put("Accept", "application/json"); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/enable" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/enable") .post(null) .addHeader("Accept", "application/json") .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Accept: 'application/json', Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/enable', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("id360.manageengine.com") headers = { 'Accept': "application/json", 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/enable", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/enable", "headers": { "Accept": "application/json", "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request POST \ --url https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/enable \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "error": { "code": "00000101", "title": "Unauthorized", "detail": "The OAuth token is invalid." } }
{ "error": { "code": "00000000", "title": "Internal Server Error", "detail": "An unexpected internal error has occurred on the server. Please try again later." } }

Disable Notification Auto Schedule

The Disable Notification Auto Schedule API can be used to disbale a specific notification auto schedule configuration for quick enrollment.
OAuth Scope : id360.quick_enrollment.ALL,id360.quick_enrollment.WRITE,id360.quick_enrollment.UPDATE

Request Example

Click to copy
headers_data = Map(); headers_data.put("Accept", "application/json"); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/disable" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/disable") .post(null) .addHeader("Accept", "application/json") .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Accept: 'application/json', Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/disable', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("id360.manageengine.com") headers = { 'Accept': "application/json", 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/disable", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/disable", "headers": { "Accept": "application/json", "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request POST \ --url https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/disable \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "error": { "code": "00000101", "title": "Unauthorized", "detail": "The OAuth token is invalid." } }
{ "error": { "code": "00000000", "title": "Internal Server Error", "detail": "An unexpected internal error has occurred on the server. Please try again later." } }

Run Notification Auto Schedule Now

The Run Notification Auto Schedule Now API can be used to trigger a specific notification auto schedule configuration immediately for quick enrollment.
Note: This API will return job resource
OAuth Scope : id360.quick_enrollment.ALL,id360.quick_enrollment.WRITE,id360.quick_enrollment.UPDATE

Request Example

Click to copy
headers_data = Map(); headers_data.put("Accept", "application/json"); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/runnow" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/runnow") .post(null) .addHeader("Accept", "application/json") .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Accept: 'application/json', Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/runnow', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("id360.manageengine.com") headers = { 'Accept': "application/json", 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/runnow", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/runnow", "headers": { "Accept": "application/json", "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request POST \ --url https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/runnow \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "data": { "id": "2000000293042", "status": "RUNNING", "message": "Enrollment notification scheduler is started. Check Notification delivery reports once execution is completed." }, "links": { "status": { "href": "/jobs/2000000293042" } } }
{ "error": { "code": "00000101", "title": "Unauthorized", "detail": "The OAuth token is invalid." } }
{ "error": { "code": "00000000", "title": "Internal Server Error", "detail": "An unexpected internal error has occurred on the server. Please try again later." } }

Get Notification Auto Schedule Groups

The Get Notification Auto Schedule Groups API can be used to get the list of groups associated with a specific notification auto schedule.
OAuth Scope : id360.quick_enrollment.ALL,id360.quick_enrollment.READ

Request Example

Click to copy
headers_data = Map(); headers_data.put("Accept", "application/json"); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/groups" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/groups") .get() .addHeader("Accept", "application/json") .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Accept: 'application/json', Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/groups', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("id360.manageengine.com") headers = { 'Accept': "application/json", 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/groups", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/groups", "headers": { "Accept": "application/json", "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url https://id360.manageengine.com/api/v1/protection/quick-enrollment/notification-auto-schedule/2000000293042/groups \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "data": [ 2000000283042, 2000000283043, 2000000283044 ] }
{ "error": { "code": "00000101", "title": "Unauthorized", "detail": "The OAuth token is invalid." } }
{ "error": { "code": "00000000", "title": "Internal Server Error", "detail": "An unexpected internal error has occurred on the server. Please try again later." } }

Send Manual Notification

The Send Manual Notification API can be used to send a manual notification to users for quick enrollment.
Note: This API will return job resource
OAuth Scope : id360.quick_enrollment.ALL,id360.quick_enrollment.WRITE

Arguments

groups
array
List of group IDs to which the manual notification will be sent.
users
array
List of user IDs to which the manual notification will be sent.
notification_template
string
ID of the notification template to be used for the schedule
mail
object
Contains mail attributes
Show Sub-Attributes arrow
to
array
Contains mail id values for TO recipient
cc
array
Contains mail id values for CC recipient
subject
string
Subject of the mail
content
string
Body of the mail
severity
string
To store the severity of the mail.
Allowed Values:
  • LOW
  • MEDIUM
  • HIGH
attachment_ids
array
List of attachment ids used in the mail template
inline_images
array
List of inline images ids used in the mail template
sms
object
Show Sub-Attributes arrow
to
array
Mobile numbers to send SMS
content
string
Content of the SMS

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Accept", "application/json"); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/protection/quick-enrollment/manual-notification" type: POST headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/protection/quick-enrollment/manual-notification") .post(body) .addHeader("Accept", "application/json") .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Accept: 'application/json', Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://id360.manageengine.com/api/v1/protection/quick-enrollment/manual-notification', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("id360.manageengine.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Accept': "application/json", 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("POST", "/api/v1/protection/quick-enrollment/manual-notification", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/protection/quick-enrollment/manual-notification", "headers": { "Accept": "application/json", "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
curl --request POST \ --url https://id360.manageengine.com/api/v1/protection/quick-enrollment/manual-notification \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "groups": [ 2000000283042, 2000000283043, 2000000283044 ], "users": [ 2000000283042, 2000000283043, 2000000283044 ], "notification_template": "2000000293042", "mail": { "to": [ "a@A.com", "V@A.com" ], "cc": [ "b@A.com", "b@A.com" ], "subject": "Report available", "content": "Mail content goes here", "severity": "low", "attachment_ids": [ "200000000000001" ], "inline_images": [ "200000000000001" ] }, "sms": { "to": [ "+91-9807654321" ], "content": "Sample sms text" } }

Response Example

{ "data": { "id": "2000000293042", "status": "RUNNING", "message": "Enrollment notification scheduler is started. Check Notification delivery reports once execution is completed." }, "links": { "status": { "href": "/jobs/2000000293042" } } }
{ "error": { "code": "00000101", "title": "Unauthorized", "detail": "The OAuth token is invalid." } }
{ "error": { "code": "00000000", "title": "Internal Server Error", "detail": "An unexpected internal error has occurred on the server. Please try again later." } }