Update watch flag and watch context
POST /task/v1/actions/{feed-key}/watch-flag
Operation id: updateWatchFlag
Tags: MyWorkFeedActions
Parameters
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
feed-key | integer | Yes | Unique numeric feed identifier |
Security
- ApiKeyHeader (apiKey)
- APIGEE API key header validated by VerifyAPIKey policy.
- AuthTokenHeader (apiKey)
- Session authentication token validated server-side against the user session store.
Responses
200 — Success — {status: OK, response: {panel_id, action_type, message, action_data, status}}
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
Request body
application/x-www-form-urlencoded
Schema
| Property | Type | Required | Description |
|---|---|---|---|
watch_flag | string | Yes | Watch flag value (mandatory) |
watch_user_id | string | No | User to associate with watch |
watch_unit_id | string | No | Unit for watch context |
{
"type": "object",
"required": [
"watch_flag"
],
"properties": {
"watch_flag": {
"type": "string",
"description": "Watch flag value (mandatory)"
},
"watch_user_id": {
"type": "string",
"description": "User to associate with watch"
},
"watch_unit_id": {
"type": "string",
"description": "Unit for watch context"
}
}
}
Response models
200 — Success — {status: OK, response: {panel_id, action_type, message, action_data, status}}
Content type: application/json
Schema
JSON object (structure varies by endpoint).
{
"type": "object",
"description": "JSON object (structure varies by endpoint)."
}
401 — Missing or invalid X-reflexis-csrf-token-X session token
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
status | string | Yes | Always "ER" for error responses |
errorCode | string | Yes | Application-level error code (e.g. E202, E105, E404) |
response | string | Yes | Human-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
| Property | Type | Required | Description |
|---|---|---|---|
status | string | Yes | Always "ER" for error responses |
errorCode | string | Yes | Application-level error code (e.g. E202, E105, E404) |
response | string | Yes | Human-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"
}