API Documentation

  • Home
  • ChangeLog
  • Terms of use
  • Swagger UI
  • Account
  • Address
  • Analytic
  • BankAccount
  • Contact
  • Country
  • Currency
  • Customer
  • Dashboard
  • Document
  • DocumentNumbering
  • Employee
  • ExchangeRate
  • Inbox
  • IssuedInvoice
  • IssuedInvoicePosting
  • Item
  • Journal
  • JournalType
  • Order
  • Organisation
  • Outbox
  • PaymentMethod
  • PayrollSettings
  • PostalCode
  • ProductGroup
  • PurposeCode
  • ReceivedInvoice
  • ReportTemplate
  • Stock
  • StockEntry
  • User
  • VatAccountingType
  • VatRate
  • Warehouse

Inbox -> AddInboxItem

Adds the specified item to the inbox.

Request

Relative request path: api/orgs/{organisationId}/inbox

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
organisationId
inbox

Request parameters:

  • long organisationId -
  • Inbox inbox -

    public class Inbox
    {
        // Ignored on create request.
        public long InboxId { get; set; }
        // Customer.
        public mMApiFkField Customer { get; set; }
        // Employee.
        public mMApiFkField Employee { get; set; }
        // Inbox date.
        // Ignored on create request.
        public DateTime InboxDate { get; set; }
        // Inbox type:
        // <ul>
        //     <li>PR - for received invoice</li>
        //     <li>IZP - for bank statements</li>
        //     <li>Ostalo - for other types</li>
        //     <li>Neznano - for unknown types</li>
        // </ul>

        public string InboxType { get; set; }
        // Description
        public string Description { get; set; }
        // Status  of recived invoice:
        // <ul>
        //     <li>Zavrnjen – Rejected</li>
        //     <li>Storniran – Revoked</li>
        //     <li>Odobren – Approved</li>
        //     <li>Preklican – Canceled </li>
        // </ul>

        // Ignored on create request.
        public string StatusOfReceivedInvoice { get; set; }
        // Defines if received invoice has allowed bookkepping even though it is not Approved.
        // Ignored on create request.
        public string BookkeepingAllowed { get; set; }
        // Provider of the electronic route.
        // Ignored on create request.
        public string EProvider { get; set; }
        // Inbox attachments.
        public List<InboxAttachment> Attachments { get; set; }
        public DateTime RecordDtModified { get; set; }
        // Row version is used for concurrency check.
        // Ignored on create request.
        public string RowVersion { get; set; }
    
    }

        /// Link with id, name and url to related data.
        public class mMApiFkField
        {
            // Record id.
            public long? ID { get; set; }
            // Record name.
            public string Name { get; private set; }
            // Url to full record details.
            public string ResourceUrl { get; private set; }
        
        }
        public class InboxAttachment
        {
            // Ignored on create request.
            public long InboxAttachmentId { get; set; }
            // Inbox.
            public mMApiFkField Inbox { get; set; }
            // Attachment data.
            public string AttachmentData { get; set; }
            // Attachment entry date.
            // Ignored on create request.
            public DateTime AttachmentDate { get; set; }
            // Attachment name for file.
            public string AttachmentFileName { get; set; }
            // Attachment mime type.
            public string AttachmentMimeType { get; set; }
            public DateTime RecordDtModified { get; set; }
            // Row version is used for concurrency check.
            // Ignored on create request.
            public string RowVersion { get; set; }
        
        }

            /// Link with id, name and url to related data.
            public class mMApiFkField
            {
                // Record id.
                public long? ID { get; set; }
                // Record name.
                public string Name { get; private set; }
                // Url to full record details.
                public string ResourceUrl { get; private set; }
            
            }

Request parameters:

  • Int64 organisationId -
  • Inbox inbox -

    class Inbox
    {
        // Ignored on create request.
        public $InboxId;
        // Customer.
        public $Customer;
        // Employee.
        public $Employee;
        // Inbox date.
        // Ignored on create request.
        public $InboxDate;
        // Inbox type:
        // <ul>
        //     <li>PR - for received invoice</li>
        //     <li>IZP - for bank statements</li>
        //     <li>Ostalo - for other types</li>
        //     <li>Neznano - for unknown types</li>
        // </ul>

        public $InboxType;
        // Description
        public $Description;
        // Status  of recived invoice:
        // <ul>
        //     <li>Zavrnjen – Rejected</li>
        //     <li>Storniran – Revoked</li>
        //     <li>Odobren – Approved</li>
        //     <li>Preklican – Canceled </li>
        // </ul>

        // Ignored on create request.
        public $StatusOfReceivedInvoice;
        // Defines if received invoice has allowed bookkepping even though it is not Approved.
        // Ignored on create request.
        public $BookkeepingAllowed;
        // Provider of the electronic route.
        // Ignored on create request.
        public $EProvider;
        // Inbox attachments.
        public $Attachments;
        public $RecordDtModified;
        // Row version is used for concurrency check.
        // Ignored on create request.
        public $RowVersion;
    
    }

        /// Link with id, name and url to related data.
        class mMApiFkField
        {
            // Record id.
            public $ID;
            // Record name.
            public $Name;
            // Url to full record details.
            public $ResourceUrl;
        
        }
        class InboxAttachment
        {
            // Ignored on create request.
            public $InboxAttachmentId;
            // Inbox.
            public $Inbox;
            // Attachment data.
            public $AttachmentData;
            // Attachment entry date.
            // Ignored on create request.
            public $AttachmentDate;
            // Attachment name for file.
            public $AttachmentFileName;
            // Attachment mime type.
            public $AttachmentMimeType;
            public $RecordDtModified;
            // Row version is used for concurrency check.
            // Ignored on create request.
            public $RowVersion;
        
        }

            /// Link with id, name and url to related data.
            class mMApiFkField
            {
                // Record id.
                public $ID;
                // Record name.
                public $Name;
                // Url to full record details.
                public $ResourceUrl;
            
            }

Request parameters:

  • Long organisationId -
  • Inbox inbox -

    public class Inbox
    {
        // Ignored on create request.
        public Long InboxId;
        // Customer.
        public mMApiFkField Customer;
        // Employee.
        public mMApiFkField Employee;
        // Inbox date.
        // Ignored on create request.
        public Date InboxDate;
        // Inbox type:
        // <ul>
        //     <li>PR - for received invoice</li>
        //     <li>IZP - for bank statements</li>
        //     <li>Ostalo - for other types</li>
        //     <li>Neznano - for unknown types</li>
        // </ul>

        public String InboxType;
        // Description
        public String Description;
        // Status  of recived invoice:
        // <ul>
        //     <li>Zavrnjen – Rejected</li>
        //     <li>Storniran – Revoked</li>
        //     <li>Odobren – Approved</li>
        //     <li>Preklican – Canceled </li>
        // </ul>

        // Ignored on create request.
        public String StatusOfReceivedInvoice;
        // Defines if received invoice has allowed bookkepping even though it is not Approved.
        // Ignored on create request.
        public String BookkeepingAllowed;
        // Provider of the electronic route.
        // Ignored on create request.
        public String EProvider;
        // Inbox attachments.
        public List<InboxAttachment> Attachments;
        public Date RecordDtModified;
        // Row version is used for concurrency check.
        // Ignored on create request.
        public String RowVersion;
    
    }

        /// Link with id, name and url to related data.
        public class mMApiFkField
        {
            // Record id.
            public Long ID;
            // Record name.
            public String Name;
            // Url to full record details.
            public String ResourceUrl;
        
        }
        public class InboxAttachment
        {
            // Ignored on create request.
            public Long InboxAttachmentId;
            // Inbox.
            public mMApiFkField Inbox;
            // Attachment data.
            public String AttachmentData;
            // Attachment entry date.
            // Ignored on create request.
            public Date AttachmentDate;
            // Attachment name for file.
            public String AttachmentFileName;
            // Attachment mime type.
            public String AttachmentMimeType;
            public Date RecordDtModified;
            // Row version is used for concurrency check.
            // Ignored on create request.
            public String RowVersion;
        
        }

            /// Link with id, name and url to related data.
            public class mMApiFkField
            {
                // Record id.
                public Long ID;
                // Record name.
                public String Name;
                // Url to full record details.
                public String ResourceUrl;
            
            }

Response

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
Version
Content
StatusCode
ReasonPhrase
Headers
RequestMessage
IsSuccessStatusCode

This method returns result of type 'HttpResponseMessage'.

This method returns result of type 'HttpResponseMessage'.

This method returns result of type 'HttpResponseMessage'.

 
Authorization endpoint : https://moj.minimax.si/SI/AUT/OAuth20
Token endpoint           : https://moj.minimax.si/SI/AUT/OAuth20/Token
Return url                   : https://moj.minimax.si/SI/API/Help/TestClientDialogsAuth
 
URI parameters
=
Headers | Add custom header
: Delete
Body
Samples:
Status
Headers
            
        
Body