Implements

Constructors

Properties

jsonParseReviver: undefined | (key: string, value: any) => any = undefined

Methods

    • A record series provides cascading retention defaults for the file plan beneath it.
    • The parent must be the file-plan root or another record series; creating one under a normal folder is rejected.
    • Deleting a record series uses the existing Delete Entry endpoint (a record series is an entry).
    • Required OAuth scope: repository.Write

    Parameters

    • args: {
          parentEntryId: number;
          repositoryId: string;
          request: CreateRecordSeriesRequest;
      }
      • parentEntryId: number

        The parent the record series is created under. A record series belongs to the record file plan, so the parent must be the repository's file-plan root or an existing record series — it cannot be a normal folder (the server returns an error if it is).

      • repositoryId: string

        The requested repository ID.

      • request: CreateRecordSeriesRequest

        The new record series' name and code.

    Returns Promise<Entry>

    Successfully created the record series. Returned the created entry.