Interface DocumentApi

  • All Known Implementing Classes:
    ApiServiceImpl

    public interface DocumentApi
    • Method Detail

      • getDocumentStatus

        DocumentStatus getDocumentStatus​(SenderId senderId,
                                         UUID uuid)
        Henter status på dokumeter som tidligere blitt sendt i Digipost, både via digital og print-kanal.
      • getDocumentStatus

        DocumentStatus getDocumentStatus​(Link linkToDocumentStatus)
        Henter status på dokumeter som tidligere blitt sendt i Digipost, både via digital og print-kanal.
      • getDocumentContent

        InputStream getDocumentContent​(String path)
        Retrieve the content of a document.
        Parameters:
        path - the path to the document resource
        Returns:
        the bytes of the document
      • getDocumentEvents

        DocumentEvents getDocumentEvents​(String organisation,
                                         String partId,
                                         SenderId senderId,
                                         ZonedDateTime from,
                                         ZonedDateTime to,
                                         int offset,
                                         int maxResults)
        Henter hendelser knyttet til tidligere sendte brev.
        Parameters:
        organisation - Organisasjonsnummer
        partId - Frivillig organisasjons-enhet, kan være null