SMARTapi Documentation

These pages describe how to get started with the SMARTapi
for Microsoft Dynamics NAV 2016, 2017, 2018  &  Business Central

 (Updated: 26-02-2019)

 

Getting started
SMARTapi is a RESTfull Web Service and uses HTTP as its underlying protocol.
The resources will be in XML-format.

To create a resource on the server, use POST.
To retrieve a resource, use GET.

Filter
You can use filter in all standard GET calls. Add filtertext as part of querystring in the URL. See more filterexamples with customers and items.

Web Service functions

 

SMARTapi Method

    Reference

    Method

    Opperation

    Link

    CompanyInformation-GET
    GET
    Retrieve Company Information
    Accountingperiod-GET
    GET
    Retrieve Accountingperiod
    Accountschedulenames-Get
    GET
    Retrieve Accountschedulenames
    Accountscheduleresult-Get
    GET
    Retrieve Accountscheduleresult
    GeneralLedgerSetup Get
    POST
    Get General Ledger Setup
    GENERALJOURNAL-POST
    POST
    Create General Journal lines (single or bulk)
    GLENTRY-GET
    GET
    Retrieve Genral Ledger Entries
    VAT-GET
    GET
    Retrieve VAT-setup
    GLACCOUNT-GET
    GET
    Retrieve General Ledger Accounts
    DIMENSIONMANDATORY-GET
    GET
    Retrieve mandatory Dimensions
    DIMENSIONSETENTRY-GET
    GET
    Retrieve Dimensionset Entries
    DIMENSIONVALUE-GET
    GET
    Retrieve Dimensionset Entries
    DIMENSIONVALUE-POST
    POST
    Create Dimensionvalue
    Not available
    CUSTOMER-GET
    GET
    Retrieve Customers
    CUSTOMER-POST
    POST
    Create Customers
    CUSTOMER LEDGER ENTRY
    GET
    Retrieve a list of Customer Ledger Entry
    VENDOR-GET
    GET
    Retrieve Vendors
    VENDOR-POST
    POST
    Create Vendor
    VENDOR LEDGER ENTRY
    GET
    Retrieve a list of Vendor Ledger Entry
    ITEM-GET
    GET
    Retrieve Items
    ITEMSALESPRICE-GET
    GET
    Retrieve Items salesprice
    ITEMSTOCK-GET
    GET
    Retrieve Stock on Items
    ITEM-POST
    POST
    Create Items
    JOB-GET
    GET
    Retrieve Jobs
    JOBJOURNAL-POST
    GET
    Create Job Journal lines
    JOBTASK-GET
    GET
    Retrive Job Tasks
    PURCHORDER-GET
    GET
    Retrieve Purchases
    PURCHORDERLINE-GET
    GET
    Retrieve Purchaselines
    PURCHORDERLINE-POST
    POST
    Create Purchaseline
    PURCHORDER-POST
    POST
    Create Purchase
    RESOURCECOST-GET
    GET
    Retrieve Ressource Costprices
    Not available
    RESOURCE-GET
    GET
    Retrieve Ressources
    Not available
    RESOURCEPRICE-GET
    GET
    Retrieve Ressources Salesprices
    Not available
    SALESORDER-GET
    GET
    Retrieve Sales
    SALESORDERLINE-GET
    GET
    Retrieve Saleslines
    SALESORDERLINE-POST
    POST
    Create Salesline
    SALESORDER-POST
    POST
    Create Sale
    SALESPRICE-GET
    GET
    Retrieve Item Salesprices
    WORKTYPE-GET
    GET
    Retrieve Job Worktypes
    Not available
    CREATIVE EXPENSE FILE
    POST
    Creative a Expense PDF file
    SALESINVOICENUMBERLIST-GET
    GET
    Retrieve Sales Invoice Number List
    SALESINVOICES-GET
    GET
    Retrieve Sales Invoices
    SALESINVOICEPDF-GET
    GET
    Retrieve Sales Invoice PDF
    Not available
    CASHRECEIPTJOURNALLIST-GET
    GET
    Retrieve Cash Receipt Journallist
    CUSTOMERNUMBERLIST-GET
    GET
    Retrieve Customer Number List
    Not available
    SALESINVOICEOIOUBL-GET
    GET
    Retrieve Sales Invoice OIOUBL list
    Not available
    SMARTDOC-POST
    POST
    Create a SMARTdoc file
    Not available
    GENERALJOURNALTEMPLATENAME-GET
    GET
    Retrieve General Journal Template Names
    GENERALJOURNALBATCHNAME-GET
    GET
    Retrieve General Journal Batch Names
    SMARTEXPENSE-GET
    GET
    Retrieve SMARTexpense
    Not available
    COLUMNLAYOUTNAMES-GET
    GET
    Retrieve Column Layout Names
    SMARTEXPENSEAPPROVAL-GET
    GET
    Retrieve SMARTexpense approval
    Not available
    INVENTORYPOSTINGGROUP-GET
    GET
    Retrieve inventory posting groups
    GENPRODUCTPOSTINGGROUP-GET
    GET
    Retrieve Product Posting Group
    SALESCREDITMEMO-GET
    GET
    Retrieve Sales Credit Memo
    SALESCRMEMPDF-GET
    GET
    Retrieve Sales Credit Memo PDF
    Not available
    VARIANT-GET
    GET
    Retrieve Variant
    SALESLINEDISCOUNT-GET
    GET
    Retrieve Sales line discount
    GENERALJOURNALCOMMENTSHEET
    GET
    Retrieve General Journal Comment Sheet