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.

  • Validated against the schema (type, version) selects. RedirectOnLaunch version 1 takes exactly triggerApplicationId and targetApplicationId (two different existing application ids) and targetLinkUri.

    Properties: 1
  • Action type, for example RedirectOnLaunch.

  • Action type version. Together with type it selects the attributes schema.

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • Must be after availableFrom when both are set.

  • When the action ended, stored as resolvedAt. Requires state. Defaults to the server time.

  • Defaults to the target student's primary organization.

  • CANCELLED withdraws an OPEN or SEEN action. COMPLETED is accepted only for a type issued already completed; RedirectOnLaunch is not.

  • A session of the target student.