[{"Name":"customer","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/customer","Defaults":"id,name,city,emailaddress","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."},{"Prefix":"biz","Verb":"GET","Route":"biz/customer/id"},{"Prefix":"biz","Verb":"POST","Route":"biz/customer"},{"Prefix":"biz","Verb":"DELETE","Route":"biz/customer/id"},{"Prefix":"biz","Verb":"GET","Route":"biz/customer/id/?action=first","Comment":"Returns the first Customer"},{"Prefix":"biz","Verb":"GET","Route":"biz/customer/id/?action=prev","Comment":"Returns the prev Customer"},{"Prefix":"biz","Verb":"GET","Route":"biz/customer/id/?action=next","Comment":"Returns the next Customer"},{"Prefix":"biz","Verb":"GET","Route":"biz/customer/id/?action=last","Comment":"Returns the last Customer"},{"Prefix":"biz","Verb":"GET","Route":"biz/customer/id/peppolid","Comment":"Returns the peppolID of the given customer (if it has a valid organisationid)"}]},{"Name":"supplier","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/supplier","Defaults":"id,name,city,emailaddress","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."},{"Prefix":"biz","Verb":"GET","Route":"biz/supplier/id"},{"Prefix":"biz","Verb":"POST","Route":"biz/supplier"},{"Prefix":"biz","Verb":"DELETE","Route":"biz/supplier/id"},{"Prefix":"biz","Verb":"GET","Route":"biz/supplier/id/?action=first","Comment":"Returns the first Supplier"},{"Prefix":"biz","Verb":"GET","Route":"biz/supplier/id/?action=prev","Comment":"Returns the prev Supplier"},{"Prefix":"biz","Verb":"GET","Route":"biz/supplier/id/?action=next","Comment":"Returns the next Supplier"},{"Prefix":"biz","Verb":"GET","Route":"biz/supplier/id/?action=last","Comment":"Returns the last Supplier"}]},{"Name":"product","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/product","Defaults":"articleid,articlename,price,costprice,unit,vatcode","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."},{"Prefix":"biz","Verb":"GET","Route":"biz/product/id"},{"Prefix":"biz","Verb":"POST","Route":"biz/product"},{"Prefix":"biz","Verb":"PUT","Route":"biz/product","Comment":"Updates an existing product. Body must contain entity and ID must be set on the entity."},{"Prefix":"biz","Verb":"DELETE","Route":"biz/product/id"},{"Prefix":"biz","Verb":"GET","Route":"biz/product/id/?action=first","Comment":"Returns the first Product"},{"Prefix":"biz","Verb":"GET","Route":"biz/product/id/?action=prev","Comment":"Returns the prev Product"},{"Prefix":"biz","Verb":"GET","Route":"biz/product/id/?action=next","Comment":"Returns the next Product"},{"Prefix":"biz","Verb":"GET","Route":"biz/product/id/?action=last","Comment":"Returns the last Product"}]},{"Name":"salesvatcodes","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/salesvatcodes","Comment":"Returns a list of valid vatcodes used for sales."}]},{"Name":"order","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/order","Defaults":"id,customername,total","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."},{"Prefix":"biz","Verb":"GET","Route":"biz/order/id"},{"Prefix":"biz","Verb":"POST","Route":"biz/order"},{"Prefix":"biz","Verb":"PUT","Route":"biz/order","Comment":"Updates an existing order. Body must contain entity and ID must be set on the entity."},{"Prefix":"biz","Verb":"DELETE","Route":"biz/order/id"},{"Prefix":"biz","Verb":"GET","Route":"biz/order/id/?action=first","Comment":"Returns the first Order"},{"Prefix":"biz","Verb":"GET","Route":"biz/order/id/?action=prev","Comment":"Returns the prev Order"},{"Prefix":"biz","Verb":"GET","Route":"biz/order/id/?action=next","Comment":"Returns the next Order"},{"Prefix":"biz","Verb":"GET","Route":"biz/order/id/?action=last","Comment":"Returns the last Order"}]},{"Name":"invoice","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/invoice","Defaults":"id,customername,total","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."},{"Prefix":"biz","Verb":"GET","Route":"biz/invoice/id"},{"Prefix":"biz","Verb":"POST","Route":"biz/invoice"},{"Prefix":"biz","Verb":"GET","Route":"biz/invoice/id/?action=first","Comment":"Returns the first Invoice"},{"Prefix":"biz","Verb":"GET","Route":"biz/invoice/id/?action=prev","Comment":"Returns the prev Invoice"},{"Prefix":"biz","Verb":"GET","Route":"biz/invoice/id/?action=next","Comment":"Returns the next Invoice"},{"Prefix":"biz","Verb":"GET","Route":"biz/invoice/id/?action=last","Comment":"Returns the last Invoice"},{"Prefix":"biz","Verb":"GET","Route":"biz/invoice/?action=payable","Comment":"Returns all upaid invoices."},{"Prefix":"biz","Verb":"GET","Route":"biz/invoice/id/?action=payable","Comment":"Returns paymentdetails about a single invoice."}]},{"Name":"payment","Routes":[{"Prefix":"biz","Verb":"POST","Route":"biz/payment","Comment":"Adds payments to one or more invoices. Sample: {\"Payment\":{\"PaymentSum\":\"1000.00\",\"PaymentDate\":\"20141130\",\"PaymentAccount\":\"1920\",\"Items\":{\"Item\":[{\"InvoiceID\":\"200023\",\"PaymentSum\":\"600.00\"},{\"InvoiceID\":\"200024\",\"PaymentSum\":\"400.00\"}]}}}"}]},{"Name":"quote","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/quote","Defaults":"id,customername,total","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."},{"Prefix":"biz","Verb":"GET","Route":"biz/quote/id"},{"Prefix":"biz","Verb":"POST","Route":"biz/quote"},{"Prefix":"biz","Verb":"PUT","Route":"biz/quote","Comment":"Updates an existing quote. Body must contain entity and ID must be set on the entity."},{"Prefix":"biz","Verb":"GET","Route":"biz/quote/id/?action=first","Comment":"Returns the first Quote"},{"Prefix":"biz","Verb":"GET","Route":"biz/quote/id/?action=prev","Comment":"Returns the prev Quote"},{"Prefix":"biz","Verb":"GET","Route":"biz/quote/id/?action=next","Comment":"Returns the next Quote"},{"Prefix":"biz","Verb":"GET","Route":"biz/quote/id/?action=last","Comment":"Returns the last Quote"}]},{"Name":"phonebook","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/phonebook/?filter=","Comment":"Lookup external phonebook. Id = Searchvalue"}]},{"Name":"reminderjob","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/reminderjob/?action=new","Comment":"Returns a new list of possible new reminders where \"select\" is isodate, and \"top\" is the amount-limit. Example: \"filter=20151231&top=100\""},{"Prefix":"biz","Verb":"GET","Route":"biz/reminderjob","Defaults":"jobnr,jobdate,signatur","Comment":"Returns a list of jobs. Note: this endpoint is OData queryable"},{"Prefix":"biz","Verb":"GET","Route":"biz/reminderjob/id/reminders","Comment":"Returns a list of reminders for the given job"},{"Prefix":"biz","Verb":"POST","Route":"biz/reminderjob","Comment":"Creates a reminderjob with one or more invoices. Sample: {\"JobDate\":\"20151231\",\"signatur\":\"Ole Brum\",\"status\":\"2\",\"Items\":{\"Item\":[{\"InvoiceID\":\"200023\",\"EmailAddr\":\"bob@kola.com\"},{\"InvoiceID\":\"200024\",\"EmailAddr\":\"null\"}]}}"}]},{"Name":"reminder","Routes":[{"Prefix":"biz","Verb":"POST","Route":"biz/reminder","Comment":"Creates or updates a single reminder"},{"Prefix":"biz","Verb":"PUT","Route":"biz/reminder","Comment":"Updates a single reminder"}]},{"Name":"remindersetting","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/remindersetting/id","Comment":"Returns the value of the given remindersetting. Example: ReminderSetting/remindermaxnr will return the number of reminders required before it is sendt to a collectors agency"},{"Prefix":"biz","Verb":"PUT","Route":"biz/remindersetting/id","Comment":"Updates the value of the given remindersetting"}]},{"Name":"reminderrule","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/reminderrule","Defaults":"id,daysfromdue,runningdays,fee,remindertext","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."},{"Prefix":"biz","Verb":"POST","Route":"biz/reminderrule","Comment":"Creates or updates a given rule. A rule controls the fee, remindertext and days between each reminder."}]},{"Name":"ehfinvoice","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/ehfinvoice/id","Comment":"Checks the ehf-status on the given invoice and returns the current ehf-status-id."},{"Prefix":"biz","Verb":"POST","Route":"biz/ehfinvoice/id","Comment":"Sends the given invoice as EHF via Uni Micro Accesspoint"}]},{"Name":"ehf","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/ehf","Comment":"Returns a bool value indicating if the EHF-service has been activated for the current client."},{"Prefix":"biz","Verb":"PUT","Route":"biz/ehf","Comment":"Tries to activate the EHF-service for the current client"}]},{"Name":"terms","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/terms","Defaults":"id,intvalue,name,stringvalue,subkey,typeid","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."},{"Prefix":"biz","Verb":"GET","Route":"biz/terms/id"},{"Prefix":"biz","Verb":"POST","Route":"biz/terms","Comment":"Inserts or updates a term. To update a term you must supply an ID. TypeID indicates the type of term. 1 = Paymentterm, 2 = Delivery, 3 = Transport, 4 = Transporter"},{"Prefix":"biz","Verb":"DELETE","Route":"biz/terms/id"}]},{"Name":"supplierinvoice","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/supplierinvoice/id","Comment":"Returns the given supplierinvoice"},{"Prefix":"biz","Verb":"GET","Route":"biz/supplierinvoice/?action=mine","Comment":"Returns all assigned invoices for the current user."},{"Prefix":"biz","Verb":"GET","Route":"biz/supplierinvoice/?action=all","Comment":"Returns all invoices for the last 2 years, linked to the current user."},{"Prefix":"biz","Verb":"GET","Route":"biz/supplierinvoice","Defaults":"id,supplierid,duedate,total","Comment":"Returns all supplier invoice id's if no select or filter is given."},{"Prefix":"biz","Verb":"GET","Route":"biz/supplierinvoice/id/document","Comment":"Returns a list of available documents for the given invoice."},{"Prefix":"biz","Verb":"POST","Route":"biz/supplierinvoice","Comment":"Creates a new supplierinvoice. Body must contain the entity"},{"Prefix":"biz","Verb":"PUT","Route":"biz/supplierinvoice","Comment":"Updates an existing invoice. Body must contain entity and ID must be set on the entity."},{"Prefix":"biz","Verb":"POST","Route":"biz/supplierinvoice/id/assignment/subkey","Comment":"Reassigns the given invoice to a new assignee. SubKey = AssigneeID."},{"Prefix":"biz","Verb":"PUT","Route":"biz/supplierinvoice/id/assignment/subkey","Comment":"Accepts the given invoice. Optional comment is placed in message body. SubKey = Assignmentid."},{"Prefix":"biz","Verb":"DELETE","Route":"biz/supplierinvoice/id/assignment/subkey","Comment":"Declines the given invoice. Required comment is placed in message body. SubKey = Assignmentid."}]},{"Name":"assignee","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/assignee","Defaults":"id,email,name","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."}]},{"Name":"assignment","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/assignment","Defaults":"id,assigneeid,status,rules,datecomitted,datecreated,fk_key,type","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."}]},{"Name":"transaction","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/transaction","Defaults":"id,syncyear,postingid,date,account,vatcode,periode,total,text","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."},{"Prefix":"biz","Verb":"GET","Route":"biz/transaction/id/?action=first","Comment":"Returns the first Transaction"},{"Prefix":"biz","Verb":"GET","Route":"biz/transaction/id/?action=prev","Comment":"Returns the prev Transaction"},{"Prefix":"biz","Verb":"GET","Route":"biz/transaction/id/?action=next","Comment":"Returns the next Transaction"},{"Prefix":"biz","Verb":"GET","Route":"biz/transaction/id/?action=last","Comment":"Returns the last Transaction"}]},{"Name":"account","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/account","Defaults":"kontonr,navn,momskode,kontotype","Comment":"OData queryable entity"},{"Prefix":"biz","Verb":"GET","Route":"biz/account/id","Comment":"Returns a single account."},{"Prefix":"biz","Verb":"POST","Route":"biz/account","Comment":"Creates/updates a new account in the general ledger"},{"Prefix":"biz","Verb":"GET","Route":"biz/account/id/?action=first","Comment":"Returns the first Account"},{"Prefix":"biz","Verb":"GET","Route":"biz/account/id/?action=prev","Comment":"Returns the prev Account"},{"Prefix":"biz","Verb":"GET","Route":"biz/account/id/?action=next","Comment":"Returns the next Account"},{"Prefix":"biz","Verb":"GET","Route":"biz/account/id/?action=last","Comment":"Returns the last Account"}]},{"Name":"dimension","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/dimension","Defaults":"id,dimtype,dimkey,name,parentid,fromdate,todate","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."}]},{"Name":"dimensiontype","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/dimensiontype","Defaults":"id,name","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."}]},{"Name":"ledger","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/ledger","Comment":"Returns a list of active ledger accounts."},{"Prefix":"biz","Verb":"GET","Route":"biz/ledger/?action=active","Comment":"Returns a list of active ledger accounts."},{"Prefix":"biz","Verb":"GET","Route":"biz/ledger/?action=all","Comment":"Returns a complete list of ledger accounts."},{"Prefix":"biz","Verb":"GET","Route":"biz/ledger/?action=customers","Comment":"Returns a list of active customers."},{"Prefix":"biz","Verb":"GET","Route":"biz/ledger/?action=allcustomers","Comment":"Returns a complete list of customers."},{"Prefix":"biz","Verb":"GET","Route":"biz/ledger/?action=suppliers","Comment":"Returns a list of active suppliers."},{"Prefix":"biz","Verb":"GET","Route":"biz/ledger/?action=allsuppliers","Comment":"Returns a complete list of suppliers."},{"Prefix":"biz","Verb":"GET","Route":"biz/ledger/?action=incomestatement","Comment":"Returns a complete incomestatement for the current year"},{"Prefix":"biz","Verb":"GET","Route":"biz/ledger/?action=balancesheet","Comment":"Returns a complete balancesheet for the current year"}]},{"Name":"vatcodes","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/vatcodes","Comment":"Returns a complete list of accounting vatcodes."}]},{"Name":"journalentry","Routes":[{"Prefix":"biz","Verb":"POST","Route":"biz/journalentry","Comment":"Creates a new journalentry in the general ledger. Note! You must post an array of entries."}]},{"Name":"info","Routes":[{"Prefix":"client","Verb":"GET","Route":"client/info","Comment":"Returns details about the current client."}]},{"Name":"log","Routes":[{"Prefix":"client","Verb":"GET","Route":"client/log","Comment":"Returns the last 50 log elements for the current user/client."}]},{"Name":"modules","Routes":[{"Prefix":"client","Verb":"GET","Route":"client/modules","Comment":"Returns a list of available modules for the current user/client."}]},{"Name":"resource","Routes":[{"Prefix":"client","Verb":"GET","Route":"client/resource","Comment":"Returns details about the given resource."}]},{"Name":"years","Routes":[{"Prefix":"client","Verb":"GET","Route":"client/years","Comment":"Returns a list of available client-years for the current user/client."},{"Prefix":"client","Verb":"PUT","Route":"client/years/id","Comment":"Changes the clients current accounting year"}]},{"Name":"settings","Routes":[{"Prefix":"client","Verb":"GET","Route":"client/settings","Defaults":"AccountsPayable,AccountsReceivable,PaymentAccount,VatSettleAccount,InternalCustomer,VatRate,VatRateFood,VatRateTransport,VatMontlyFlag,StartMonth,EndMonth,LockedPeriods","Comment":"OData query with accounting settings relevant for the current client"}]},{"Name":"company","Routes":[{"Prefix":"client","Verb":"GET","Route":"client/company","Comment":"Returns companydetails for the current client"},{"Prefix":"client","Verb":"PUT","Route":"client/company","Comment":"Updates companydetails for the current client"},{"Prefix":"client","Verb":"DELETE","Route":"client/company/?action=logo","Comment":"Removes the current logo from companysettings."}]},{"Name":"report","Routes":[{"Prefix":"client","Verb":"GET","Route":"client/report","Comment":"Returns a list of available reports"},{"Prefix":"client","Verb":"GET","Route":"client/report/id/parameters","Comment":"Return a list of required report parameters for the given report."},{"Prefix":"client","Verb":"POST","Route":"client/report/id/export","Comment":"Exports a report to the desired format (format=pdf|word|excel|jpeg|png|html5). Arguments must be in the format returned from 'Parameters' where the property 'defaultval' is replaced with 'value'.To get the actual report you must afterwards call the api '/document/{Id}' where {Id} is the 'RequestID' property of the returned object from the call to this method."},{"Prefix":"client","Verb":"POST","Route":"client/report/id/send","Comment":"Exports and sends a report. (format=pdf|word|excel|jpeg|png|html5). Arguments must be in the format returned from 'Parameters' where the property 'defaultval' is replaced with 'value'.Example body: {\"report\":{\"params\":{\"param\":[{\"id\":\"@fraOrdrenr\",\"label\":\"Fra ordrenr\",\"value\":\"1\"},{\"id\":\"@tilOrdrenr\",\"label\":\"Til ordrenr\",\"value\":\"2\"}]}},\"to\":\"support@unimicro.no\",\"copytome\":false,\"subject\":\"Ordreliste\",\"body\":\"Vedlagt finner du 'Ordreliste'\\n\\nMed vennlig hilsen Ola Norman\\n\"}"},{"Prefix":"client","Verb":"POST","Route":"client/report/id/data","Comment":"Returns actual reportdata for the given report instead of a complete rendered report"},{"Prefix":"client","Verb":"GET","Route":"client/report/id/emails/subkey","Comment":"Returns an array of related emails, if the report supports it or has any"}]},{"Name":"reportforms","Routes":[{"Prefix":"client","Verb":"GET","Route":"client/reportforms/{category}","Comment":"Returns a list of available reportforulas for the given category. Example: reportforms/Invoice"}]},{"Name":"kpi","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/kpi/?action=sales","Comment":"Returns a list of salesdata where \"top\" is the endmonth (as a number). Example: \"?top=4\""},{"Prefix":"biz","Verb":"GET","Route":"biz/kpi/?action=accounts","Defaults":"12","Comment":"Returns a list of accounting totals where \"top\" is the startperiod (month as a number) and \"select\" is the endperiod. Example: \"?top=1&select=12\""},{"Prefix":"biz","Verb":"GET","Route":"biz/kpi/?action=balancesheet","Defaults":"12","Comment":"Returns a balance-statement where \"top\" is the startperiod (month as a number) and \"select\" is the endperiod. Example: \"?top=1&select=12\""},{"Prefix":"biz","Verb":"GET","Route":"biz/kpi/?action=incomestatement","Defaults":"12","Comment":"Returns a profit and loss statement where \"top\" is the startperiod (month as a number) and \"select\" is the endperiod. Example: \"?top=1&select=12\""},{"Prefix":"biz","Verb":"GET","Route":"biz/kpi/?action=type","Defaults":"id,name,source,comment","Comment":"OData queryable kpitypes"},{"Prefix":"biz","Verb":"GET","Route":"biz/kpi/?action=detail","Defaults":"typeid,statyear,statmonth,amount,value,dim1,dim2","Comment":"OData queryable kpidetails"},{"Prefix":"biz","Verb":"GET","Route":"biz/kpi/?action=object","Defaults":"intkey,strkey,name,source","Comment":"OData queryable objects"}]},{"Name":"employee","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/employee","Defaults":"id,name,city,emailaddress","Comment":"OData queryable entity. Use 'select' to choose what fields are returned. Use 'filter' to filter data."},{"Prefix":"biz","Verb":"GET","Route":"biz/employee/id"},{"Prefix":"biz","Verb":"POST","Route":"biz/employee","Comment":"Creates or updates a given employee. If the ID of the employee is set, it will be updated"},{"Prefix":"biz","Verb":"PUT","Route":"biz/employee","Comment":"Creates or updates a given employee. If the ID of the employee is set, it will be updated"},{"Prefix":"biz","Verb":"GET","Route":"biz/employee/id/?action=first","Comment":"Returns the first Employee"},{"Prefix":"biz","Verb":"GET","Route":"biz/employee/id/?action=prev","Comment":"Returns the prev Employee"},{"Prefix":"biz","Verb":"GET","Route":"biz/employee/id/?action=next","Comment":"Returns the next Employee"},{"Prefix":"biz","Verb":"GET","Route":"biz/employee/id/?action=last","Comment":"Returns the last Employee"}]},{"Name":"employments","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/employments","Comment":"Returns a list of active employments relevant for 'A-Melding'. Note the property 'aMeldingOK' for validity."}]},{"Name":"jobcodes","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/jobcodes"}]},{"Name":"docs","Routes":[{"Prefix":"biz","Verb":"GET","Route":"biz/docs","Defaults":"ID,Description,Size,Date,CreatedBy,FileName,Mime,Name","Comment":"Returns a list of documents (supports OData)"},{"Prefix":"biz","Verb":"GET","Route":"biz/docs/id","Comment":"Returns a document"},{"Prefix":"biz","Verb":"POST","Route":"biz/docs","Comment":"Creates a new Slot for document"},{"Prefix":"biz","Verb":"DELETE","Route":"biz/docs/id","Comment":"Removes a document"},{"Prefix":"biz","Verb":"POST","Route":"biz/docs/id","Comment":"Finalize document"},{"Prefix":"biz","Verb":"POST","Route":"biz/docs/id/tags","Comment":"Add tag"}]}]