You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Create New Incident via API and Suppress Email Notification

Accepted answer
15
Views
2
Comments

Summary:


Content (required):

I have a use case where I am creating incidents programmatically on behalf of customers. The REST API works like a charm. However, I would like to prevent the email notifications that are normally sent. Is that possible?

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

{

 "primaryContact": {

  "id": 8675309

 },

 "severity": {

  "id": 3

 },

 "assignedTo": {

  "account": {

   "lookupName": "Carl Bramblett"

  }

 },

"category": {

  "id": 30

 },

 "subject": "Hello World",

 "queue": {

  "lookupName": "Multimedia"

 },

 "product": {

  "id": 1

 },

 "threads": {

  "entryType": {

   "id": 1

  },

  "text": "This is a test."

 },

 "fileAttachments": [{

  "fileName": " Attachment.txt ",

  "data": "c2FtcGxlIGNvbnRlbnQgZm9yIGZpbGUgYXR0YWNobWVudA=="

 }]


}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!