API Documentation

  • Home
  • ChangeLog
  • Terms of use
  • Swagger UI
  • Account
  • Address
  • Analytic
  • BankAccount
  • ClassificationOfProductByActivity
  • 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

ClassificationOfProductByActivity -> GetClassificationsOfProductByActivity

Returns all classifications of product by activity.

Request

Relative request path: api/orgs/{organisationId}/classificationOfProductByActivity?code={code}&description={description}&date={date}

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
organisationIdOrganisation ID
codeSifra
descriptionOpis
dateDate (Format: YYYY-MM-DD) privzeto: sistemski datum
SearchStringSearch string - queries search for specified value across various predefined fields.
CurrentPageCurrent page index starting with 1 for first page.
PageSizePage size defines number of records returned per page.
SortFieldField name that is used for sorting/ordering result rows.
OrderSort order: A - ascending; D - descending

Filter options:

    /// Simple search filter.
    public class SimpleSearchFilter
    {
        // Search string - queries search for specified value across various predefined fields.
        public string SearchString { get; set; }
        // Current page index starting with 1 for first page.
        public int CurrentPage { get; set; }
        // Page size defines number of records returned per page.
        public int PageSize { get; set; }
        // Field name that is used for sorting/ordering result rows.
        public string SortField { get; set; }
        // Sort order: A - ascending; D - descending
        public string Order { get; set; }
    
    }

Request parameters:

  • long organisationId - Organisation ID
  • string code - Sifra
  • string description - Opis
  • string date - Date (Format: YYYY-MM-DD) privzeto: sistemski datum

Filter options:

    /// Simple search filter.
    class SimpleSearchFilter
    {
        // Search string - queries search for specified value across various predefined fields.
        public $SearchString;
        // Current page index starting with 1 for first page.
        public $CurrentPage;
        // Page size defines number of records returned per page.
        public $PageSize;
        // Field name that is used for sorting/ordering result rows.
        public $SortField;
        // Sort order: A - ascending; D - descending
        public $Order;
    
    }

Request parameters:

  • Int64 organisationId - Organisation ID
  • String code - Sifra
  • String description - Opis
  • String date - Date (Format: YYYY-MM-DD) privzeto: sistemski datum

Filter options:

    /// Simple search filter.
    public class SimpleSearchFilter
    {
        // Search string - queries search for specified value across various predefined fields.
        public String SearchString;
        // Current page index starting with 1 for first page.
        public Integer CurrentPage;
        // Page size defines number of records returned per page.
        public Integer PageSize;
        // Field name that is used for sorting/ordering result rows.
        public String SortField;
        // Sort order: A - ascending; D - descending
        public String Order;
    
    }

Request parameters:

  • Long organisationId - Organisation ID
  • String code - Sifra
  • String description - Opis
  • String date - Date (Format: YYYY-MM-DD) privzeto: sistemski datum

Response

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
RowsReturned rows. List of ClassificationOfProductByActivity.
TotalRowsNumber of rows matching search condition.
CurrentPageNumberCurrent page number. Result rows are returned in pages.
PageSizeNumbers of rows returned per page.

This method returns result of type 'SAOP.API.Models.SearchResult`1'.

    /// SearchResult is default return type for all search api methods.
    public class SearchResult<T>
    {
        // Returned rows.
        public T Rows { get; set; }
        // Number of rows matching search condition.
        public long TotalRows { get; set; }
        // Current page number. Result rows are returned in pages.
        public long CurrentPageNumber { get; set; }
        // Numbers of rows returned per page.
        public long PageSize { get; set; }
    
    }

        /// ClassificationOfProductByActivity details.
        public class ClassificationOfProductByActivity
        {
            // ClassificationOfProductByActivity ID
            // Ignored on create request.
            public long ClassificationOfProductByActivityId { get; set; }
            // Classification of product by activity code.
            public string Code { get; set; }
            // Classification of product by activity description.
            public string Description { get; set; }
            public DateTime ValidFrom { get; set; }
            public DateTime ValidTo { get; set; }
        
        }

This method returns result of type 'SAOP.API.Models.SearchResult`1'.

    /// SearchResult is default return type for all search api methods.
    class SearchResult
    {
        // Returned rows.
        public $Rows;
        // Number of rows matching search condition.
        public $TotalRows;
        // Current page number. Result rows are returned in pages.
        public $CurrentPageNumber;
        // Numbers of rows returned per page.
        public $PageSize;
    
    }

        /// ClassificationOfProductByActivity details.
        class ClassificationOfProductByActivity
        {
            // ClassificationOfProductByActivity ID
            // Ignored on create request.
            public $ClassificationOfProductByActivityId;
            // Classification of product by activity code.
            public $Code;
            // Classification of product by activity description.
            public $Description;
            public $ValidFrom;
            public $ValidTo;
        
        }

This method returns result of type 'SAOP.API.Models.SearchResult`1'.

    /// SearchResult is default return type for all search api methods.
    public class SearchResultT
    {
        // Returned rows.
        public T Rows;
        // Number of rows matching search condition.
        public Long TotalRows;
        // Current page number. Result rows are returned in pages.
        public Long CurrentPageNumber;
        // Numbers of rows returned per page.
        public Long PageSize;
    
    }

        /// ClassificationOfProductByActivity details.
        public class ClassificationOfProductByActivity
        {
            // ClassificationOfProductByActivity ID
            // Ignored on create request.
            public Long ClassificationOfProductByActivityId;
            // Classification of product by activity code.
            public String Code;
            // Classification of product by activity description.
            public String Description;
            public Date ValidFrom;
            public Date ValidTo;
        
        }

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