UpsertIssuedActionInput
An action issued by a trusted API client. The caller generates the action id, so a retry updates the same row. While the action is OPEN a retry replaces the payload fields; once the student has seen it, or it has ended, the only accepted change is state CANCELLED. type, version, and targetUserId cannot change under an existing id. Issuing a type requires the caller's tenant to hold that type's permission on urn:platform, for example signals:issue_action:redirect_on_launch. A type that records something already done is issued with state COMPLETED only, and never reaches the student's open actions.
- attributesType: objectrequiredProperties: 1
Validated against the schema (type, version) selects. RedirectOnLaunch version 1 takes exactly triggerApplicationId and targetApplicationId (two different existing application ids) and targetLinkUri.
- targetType: stringFormat: uuid
User Id required - typeType: stringrequired
Action type, for example RedirectOnLaunch.
- versionType: stringrequired
Action type version. Together with type it selects the attributes schema.
- availableType: stringFormat: date-time
From the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- expiresType: stringFormat: date-time
At Must be after availableFrom when both are set.
- messageType: stringmin length:1max length:5000
- occurredType: stringFormat: date-time
At When the action ended, stored as resolvedAt. Requires state. Defaults to the server time.
- organizationType: stringFormat: uuid
Id Defaults to the target student's primary organization.
- stateType: "CANCELLED" or "COMPLETED"enum
CANCELLED withdraws an OPEN or SEEN action. COMPLETED is accepted only for a type issued already completed; RedirectOnLaunch is not.
- tbType: string
Session Id A session of the target student.
