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

JournalType -> GetJournalTypeByID

Returns a journal type for its id.

Request

Relative request path: api/orgs/{organisationId}/journaltypes/{journalTypeId}

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
organisationId
journalTypeIdjournalType id

Request parameters:

  • long organisationId -
  • long journalTypeId - journalType id

Request parameters:

  • Int64 organisationId -
  • Int64 journalTypeId - journalType id

Request parameters:

  • Long organisationId -
  • Long journalTypeId - journalType id

Response

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
JournalTypeIdJournal type id.
CodeJournal type code.
DisplayCodeJournal type display code.

This method returns result of type 'SAOP.API.Models.JournalType.JournalType'.

    /// Journal type details.
    public class JournalType
    {
        // Journal type id.
        public long JournalTypeId { get; set; }
        // Journal type code.
        public string Code { get; set; }
        // Journal type display code.
        public string DisplayCode { get; set; }
    
    }

This method returns result of type 'SAOP.API.Models.JournalType.JournalType'.

    /// Journal type details.
    class JournalType
    {
        // Journal type id.
        public $JournalTypeId;
        // Journal type code.
        public $Code;
        // Journal type display code.
        public $DisplayCode;
    
    }

This method returns result of type 'SAOP.API.Models.JournalType.JournalType'.

    /// Journal type details.
    public class JournalType
    {
        // Journal type id.
        public Long JournalTypeId;
        // Journal type code.
        public String Code;
        // Journal type display code.
        public String DisplayCode;
    
    }

 
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