Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
REST API Version 16.0 References
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

POST /siem/offenses/{offense_id}/notes

date_range 04-Aug-21

SUMMARY Create a note on an offense.

Create a note on an offense.

Table 1: POST /siem/offenses/{offense_id}/notes resource details:

POST /siem/offenses/{offense_id}/notes resource details

MIME Type

application/json

Table 2: POST /siem/offenses/{offense_id}/notes request parameter details:

POST /siem/offenses/{offense_id}/notes request parameter details

Parameter Type Optionality Data Type MIME Type Description

offense_id

path

Required

Number (Integer)

text/plain

Required - The offense ID to add the note to.

note_text

query

Required

String

text/plain

Required - The note text.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3: POST /siem/offenses/{offense_id}/notes response codes:

POST /siem/offenses/{offense_id}/notes response codes

HTTP Response Code Unique Code Description

201

The note was created.

404

1002

No offense was found for the provided offense_id.

422

1005

A request parameter is not valid.

500

1020

An error occurred while attempting to create the note.

Response Description

The Note object that was created. A Note object contains the following fields:
  • id - Number - The ID of the note.
  • create_time - Number - The number of milliseconds since epoch when the note was created.
  • username - String - The user or authorized service that created the note.
  • note_text - String - The note text.

Response Sample

content_copy zoom_out_map
{
    "create_time": 42,
    "id": 42,
    "note_text": "String",
    "username": "String"
}
footer-navigation