public interface InboxApi
Modifier and Type | Method and Description |
---|---|
void |
deleteInboxDocument(InboxDocument inboxDocument)
Delets the given document from the server
|
Inbox |
getInbox(SenderId senderId,
int offset,
int limit)
Get documents from the inbox for the organisation represented by senderId.
|
InputStream |
getInboxDocumentContentStream(InboxDocument inboxDocument)
Get the content of a document as a stream.
|
Inbox getInbox(SenderId senderId, int offset, int limit)
senderId
- Either an organisation that you operate on behalf of or your brokerIdoffset
- Number of documents to skip. For paginationlimit
- Maximum number of documents to retrieve (max 1000)InputStream getInboxDocumentContentStream(InboxDocument inboxDocument)
inboxDocument
- The document to get content forvoid deleteInboxDocument(InboxDocument inboxDocument)
inboxDocument
- The document to deleteCopyright © 2019 Digipost. All rights reserved.