@b-jones-rfd/sp-rest-connect - v5.1.1
    Preparing search index...

    Type Alias AddAttachmentToListItemOptions

    AddAttachmentToListItemOptions: AuthenticatedRequestOptions & {
        fileName: string;
        listName: string;
        payload: Buffer;
        spId: number;
    }

    Type Declaration

    • fileName: string

      Attachment file name, including extension.

    • listName: string

      List display title, as shown in the SharePoint UI (not the URL segment).

    • payload: Buffer

      File contents.

    • spId: number

      Integer ID of the list item.