The DocumentAPI is used to manage documents inside of a binder, such as adding or removing them

Hierarchy

  • DocumentAPI

Constructors

Properties

Methods

Constructors

Properties

restAPI: RestAPI

Methods

  • Add a document to a binder

    const service = new VeevaService(credentials)
    await service.binder.document.add(2000, 2005)

    Returns

    Response from Veeva

    Parameters

    • binderId: number

      The id of the binder

    • documentId: number

      The id of the document to add

    Returns Promise<IVeevaResponse>

  • Remove a document from a binder.

    const service = new VeevaService(credentials)
    await service.binder.document.remove(2000, '1645549379466:-877488558')

    Returns

    Response from Veeva

    Parameters

    • binderId: number

      The id of the binder

    • sectionId: string

      The binder node id field

    Returns Promise<IVeevaResponse>

Generated using TypeDoc