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

ReceivedInvoice -> AddAttachment

Adds an attachment to a given received invoice.

Request

Relative request path: api/orgs/{organisationId}/receivedinvoices/{receivedInvoiceId}/attachments

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
organisationIdorganisation id
receivedInvoiceIdreceivedInvoiceId id
attachmentattachment

Request parameters:

  • long organisationId - organisation id
  • long receivedInvoiceId - receivedInvoiceId id
  • Attachment attachment - attachment

    /// Attachment item.
    public class Attachment
    {
        // Attachment id.
        // Ignored on create request.
        public long AttachmentId { 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; }
    
    }

Request parameters:

  • Int64 organisationId - organisation id
  • Int64 receivedInvoiceId - receivedInvoiceId id
  • Attachment attachment - attachment

    /// Attachment item.
    class Attachment
    {
        // Attachment id.
        // Ignored on create request.
        public $AttachmentId;
        // Attachment data.
        public $AttachmentData;
        // Attachment entry date.
        // Ignored on create request.
        public $AttachmentDate;
        // Attachment name for file.
        public $AttachmentFileName;
        // Attachment mime type.
        public $AttachmentMimeType;
    
    }

Request parameters:

  • Long organisationId - organisation id
  • Long receivedInvoiceId - receivedInvoiceId id
  • Attachment attachment - attachment

    /// Attachment item.
    public class Attachment
    {
        // Attachment id.
        // Ignored on create request.
        public Long AttachmentId;
        // 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;
    
    }

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