List all notes on a feed

GET /task/v1/feeds/{feed_key}/notes

Operation id: getFeedNotes

Description

Retrieves all notes associated with the specified feed. Returns feed_notes_arr[] — an empty array is a valid OK response (no notes). Service null → E303. Requires FEED_ACCESS line-of-sight authorization.

Path Parameters

ParameterTypeRequiredDescription
feed_keyIntegerYesNumeric key identifying the feed item

Response Fields — feed_notes_arr[*]

FieldTypeDescription
domain_idIntegerDomain ID
feed_keyIntegerFeed key the note belongs to
notes_idIntegerUnique note identifier
unit_idStringUnit identifier
cluster_idStringCluster identifier
cluster_child_idStringCluster child identifier
creator_idStringUser ID of the note creator
creator_nameStringDisplay name of the note creator
notes_contentStringText content of the note
creation_timeStringFormatted creation timestamp
last_updated_timeStringFormatted last-update timestamp

Error Scenarios

ScenarioHTTPError CodeMessage
Missing / invalid X-reflexis-csrf-token-X401E202User session is invalid
Service returned null200E303Unable to fetch notes
Unexpected server-side error500E302Internal server error

Error Codes Reference

CodeDescription
E202User session is invalid
E302Internal server error
E303Unable to fetch notes

Tags: MyWorkFeeds

Parameters

Path parameters

NameTypeRequiredDescription
feed_keyintegerYesUnique numeric feed identifier

Security

  • AuthTokenHeader (apiKey)
    • Session authentication token validated server-side against the user session store.

Responses

200 — Success — {status: OK, feed_notes_arr[]}

Content type: application/json

401 — Missing or invalid X-reflexis-csrf-token-X session token

Content type: application/json

500 — Unexpected server-side error

Content type: application/json

Response models

200 — Success — {status: OK, feed_notes_arr[]}

Content type: application/json

Schema

JSON object (structure varies by endpoint).

{
  "type": "object",
  "description": "JSON object (structure varies by endpoint)."
}

Example:

{
  "status": "OK",
  "feed_notes_arr": [
    {
      "notes_id": 42,
      "feed_key": 101,
      "unit_id": "UNIT_01",
      "cluster_id": "CLUSTER_A",
      "cluster_child_id": "CHILD_B",
      "creator_id": "SYSADMIN",
      "creator_name": "System Administrator",
      "notes_content": "Sample note content",
      "creation_time": "2024-01-15 10:00:00",
      "last_updated_time": "2024-01-15 11:00:00"
    }
  ]
}

401 — Missing or invalid X-reflexis-csrf-token-X session token

Content type: application/json

Schema

PropertyTypeRequiredDescription
statusstringYesAlways "ER" for error responses
errorCodestringYesApplication-level error code (e.g. E202, E105, E404)
responsestringYesHuman-readable error message
{
  "type": "object",
  "example": {
    "status": "ER",
    "errorCode": "E202",
    "response": "User session is invalid"
  },
  "required": [
    "status",
    "errorCode",
    "response"
  ],
  "properties": {
    "status": {
      "type": "string",
      "description": "Always \"ER\" for error responses",
      "enum": [
        "ER"
      ]
    },
    "errorCode": {
      "type": "string",
      "description": "Application-level error code (e.g. E202, E105, E404)"
    },
    "response": {
      "type": "string",
      "description": "Human-readable error message"
    }
  }
}

Example:

{
  "status": "ER",
  "errorCode": "E202",
  "response": "User session is invalid"
}

500 — Unexpected server-side error

Content type: application/json

Schema

PropertyTypeRequiredDescription
statusstringYesAlways "ER" for error responses
errorCodestringYesApplication-level error code (e.g. E202, E105, E404)
responsestringYesHuman-readable error message
{
  "type": "object",
  "example": {
    "status": "ER",
    "errorCode": "E202",
    "response": "User session is invalid"
  },
  "required": [
    "status",
    "errorCode",
    "response"
  ],
  "properties": {
    "status": {
      "type": "string",
      "description": "Always \"ER\" for error responses",
      "enum": [
        "ER"
      ]
    },
    "errorCode": {
      "type": "string",
      "description": "Application-level error code (e.g. E202, E105, E404)"
    },
    "response": {
      "type": "string",
      "description": "Human-readable error message"
    }
  }
}

Example:

{
  "status": "ER",
  "errorCode": "E302",
  "response": "Internal server error"
}