Vai al contenuto principale
Mutation

inviteToScript

Invites someone by email to comment on or review one screenplay, and sends them an invite email. The invite is valid for 7 days; accepting it while signed in grants access on that account. Requires edit access to the project.

Argomenti

  • accessLevelScriptAccessLevel!

    The access level to grant.

  • emailString!

    Email address to invite.

  • localeString

    Canonical content language of a SEQUENCE review; omit for the source review.

  • projectIdID!

    ID of the project.

  • screenplayIdID!

    ID of the screenplay to share.

  • targetKindShareTargetKind

    SCREENPLAY (default) for the screenplay's text, SEQUENCE for its AV script under review.

Restituisce

InviteToScriptOutput!

Esempio

mutation InviteToScript($accessLevel: ScriptAccessLevel!, $email: String!, $locale: String, $projectId: ID!, $screenplayId: ID!, $targetKind: ShareTargetKind) {
  inviteToScript(
    accessLevel: $accessLevel
    email: $email
    locale: $locale
    projectId: $projectId
    screenplayId: $screenplayId
    targetKind: $targetKind
  ) {
    emailSent
  }
}