intraactive-framework-restservice
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

IntraActive Framework - REST service

IntraActive Framework's "REST service" package is a collection of functions to work woth the SharePoint REST API

Installation

$ npm install intraactive-framework-restservice

Import

import { RestListService } from "intraactive-framework-restservice"

Usage

RestListService.getLists(): Promise<IList[]>
RestListService.getListByTitle(listName: string): Promise<IList>
RestListService.getListByGuid(listGuid: string): Promise<List>
RestListService.getListFields(list: IList): Promise<IODataField[]>
RestListService.getListItems(list: IList): Promise<ListItem[]>
RestListService.getListItem(list: IList, ID: number): Promise<IListItem>
RestListService.removeListItem(listItem: IListItem): Promise<boolean>
RestListService.updateListItem(listItem: IListItem): Promise<boolean>
RestListService.createListItem(list: IList, fieldValues: Map<string, any>, contentTypeId?: string): Promise<ListItem>
RestListService.validateFieldValues(list: IList, fieldValues: Map<string, any>): Promise<void>
RestListService.getUserPermissions(ownerId: string, memberId: string, visitorId: string, ): Promise<string>

/intraactive-framework-restservice/

    Package Sidebar

    Install

    npm i intraactive-framework-restservice

    Weekly Downloads

    8

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    835 kB

    Total Files

    43

    Last publish

    Collaborators

    • jonasbrink
    • nielsbrinch_proactive
    • smukked