Add a note to a problem

Overview

Attach a note to a problem for your team.

Use this to record what you found or did.

You'll need the notification id and the note.

The note is saved with a timestamp, and shows as the problem's latestNote in List open problems.

Prerequisites

Base URL

EnvironmentURL
Productionhttps://production-api.shoutaboutus.com
Developmenthttps://development-api.shoutaboutus.com

Endpoint

POST /api/v1/partner/error-notifications/notes/add

Authentication

Partner token

  • Use it only for your own partner's problems, from List open problems. A problem outside your account tree returns 404.

Rate limit

This endpoint has no rate limit.

Request parameters

None.

Request body

FieldTypeRequiredDescription
notification_idintegerYesThe problem's id. Must exist.
note_contentstringYesThe note text.

Request payload

{
  "notification_id": 1215,
  "note_content": "Raised with the vendor; awaiting reconnect."
}

Response body

The payload is inside data.

FieldTypeDescription
statusstringsuccess.
messagestringNotification note saved successfully.

Response payload

{
  "data": {
    "status": "success",
    "message": "Notification note saved successfully."
  }
}

Examples

Success payload

See Response payload.

Error payload

404 Problem outside your account

{
  "message": "Notification not found.",
  "status": "error",
  "errors": []
}

422 Missing fields

{
  "message": "The notification id field is required. (and 1 more error)",
  "errors": {
    "notification_id": [
      "The notification id field is required."
    ],
    "note_content": [
      "The note content field is required."
    ]
  }
}

422 Problem doesn't exist

{
  "message": "The selected notification id is invalid.",
  "errors": {
    "notification_id": [
      "The selected notification id is invalid."
    ]
  }
}
StatusMeaning
200The note was saved.
401The token is missing, expired or invalid.
404The problem isn't in your account tree.
422A field is missing, or notification_id doesn't exist.
500Unexpected server error.

Example request

curl --request POST \
  --url "https://production-api.shoutaboutus.com/api/v1/partner/error-notifications/notes/add" \
  --header 'Authorization: Bearer <bearer-token>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{"notification_id": 1215, "note_content": "Raised with the vendor; awaiting reconnect."}'

Did this page help you?