FortnoxEx (FortnoxEx v0.1.0) View Source

Documentation for FortnoxEx.

API calls are rate limited with Fuse for 200 calls per minute. Should the rate limiting be blown, then the rate limiter will refresh in 60 seconds. If the rate limiter is hit, then the result of any api call will be {:error, :unavailable}

Link to this section Summary

Functions

See FortnoxEx.Models.AttendanceTransaction.create_attendance_transaction/2.

See Employee.create_employee/2.

See Project.create_project/2.

See FortnoxEx.Models.AttendanceTransaction.delete_attendance_transaction/2.

See Employee.delete_employee/2.

See Project.delete_project/2.

See FortnoxEx.Models.AttendanceTransaction.get_attendance_transaction/2.

See Employee.get_employee/2.

See Project.get_project/2.

See FortnoxEx.Models.AttendanceTransaction.list_attendance_transactions/2.

See Employee.list_employees/2.

See Project.list_projects/2.

See FortnoxEx.Models.AttendanceTransaction.stream_attendance_transactions/2.

See Employee.stream_employees/2.

See Project.stream_projects/2.

See FortnoxEx.Models.AttendanceTransaction.update_attendance_transaction/3.

Link to this section Functions

Link to this function

client(client_secret, access_token)

View Source

See FortnoxEx.Utils.client/2.

Link to this function

create_article(client, article_attrs)

View Source

See FortnoxEx.Models.Article.create_article/2.

Link to this function

create_attendance_transaction(client, attendance_transaction_attrs)

View Source

See FortnoxEx.Models.AttendanceTransaction.create_attendance_transaction/2.

Link to this function

create_contract(client, contract_attrs)

View Source

See FortnoxEx.Models.Contract.create_contract/2.

Link to this function

create_customer(client, customer_attrs)

View Source

See FortnoxEx.Models.Customer.create_customer/2.

Link to this function

create_employee(client, employee_attrs)

View Source

See Employee.create_employee/2.

Link to this function

create_invoice(client, invoice_attrs)

View Source

See FortnoxEx.Models.Invoice.create_invoice/2.

Link to this function

create_invoice_for_contract(client, contract_number)

View Source

See FortnoxEx.Models.Contract.create_invoice_for_contract/2.

Link to this function

create_offer(client, offer_attrs)

View Source

See FortnoxEx.Models.Offer.create_offer/2.

Link to this function

create_order(client, order_attrs)

View Source

See FortnoxEx.Models.Order.create_order/2.

Link to this function

create_project(client, project_attrs)

View Source

See Project.create_project/2.

Link to this function

delete_article(client, article_number)

View Source

See FortnoxEx.Models.Article.delete_article/2.

Link to this function

delete_attendance_transaction(client, attendance_transaction_number)

View Source

See FortnoxEx.Models.AttendanceTransaction.delete_attendance_transaction/2.

Link to this function

delete_contract(client, contract_number)

View Source

See FortnoxEx.Models.Contract.delete_contract/2.

Link to this function

delete_customer(client, customer_number)

View Source

See FortnoxEx.Models.Customer.delete_customer/2.

Link to this function

delete_employee(client, employee_number)

View Source

See Employee.delete_employee/2.

Link to this function

delete_invoice(client, invoice_number)

View Source

See FortnoxEx.Models.Invoice.delete_invoice/2.

Link to this function

delete_offer(client, offer_number)

View Source

See FortnoxEx.Models.Offer.delete_offer/2.

Link to this function

delete_order(client, order_number)

View Source

See FortnoxEx.Models.Order.delete_order/2.

Link to this function

delete_project(client, project_number)

View Source

See Project.delete_project/2.

Link to this function

finish_contract(client, contract_number)

View Source

See FortnoxEx.Models.Contract.finish_contract/2.

Link to this function

get_access_token(client_secret, authorization_code)

View Source

See FortnoxEx.Utils.get_access_token/2.

Link to this function

get_article(client, article_number)

View Source

See FortnoxEx.Models.Article.get_article/2.

Link to this function

get_attendance_transaction(client, attendance_transaction_number)

View Source

See FortnoxEx.Models.AttendanceTransaction.get_attendance_transaction/2.

Link to this function

get_contract(client, contract_number)

View Source

See FortnoxEx.Models.Contract.get_contract/2.

Link to this function

get_customer(client, customer_number)

View Source

See FortnoxEx.Models.Customer.get_customer/2.

Link to this function

get_employee(client, employee_number)

View Source

See Employee.get_employee/2.

Link to this function

get_invoice(client, invoice_number)

View Source

See FortnoxEx.Models.Invoice.get_invoice/2.

Link to this function

get_offer(client, offer_number)

View Source

See FortnoxEx.Models.Offer.get_offer/2.

Link to this function

get_order(client, order_number)

View Source

See FortnoxEx.Models.Order.get_order/2.

Link to this function

get_project(client, project_number)

View Source

See Project.get_project/2.

Link to this function

increase_invoice_count_for_contract(client, contract_number)

View Source

See FortnoxEx.Models.Contract.increase_invoice_count_for_contract/2.

Link to this function

list_articles(client, query)

View Source

See FortnoxEx.Models.Article.list_articles/2.

Link to this function

list_attendance_transactions(client, query)

View Source

See FortnoxEx.Models.AttendanceTransaction.list_attendance_transactions/2.

Link to this function

list_contracts(client, query)

View Source

See FortnoxEx.Models.Contract.list_contracts/2.

Link to this function

list_customers(client, query)

View Source

See FortnoxEx.Models.Customer.list_customers/2.

Link to this function

list_employees(client, query)

View Source

See Employee.list_employees/2.

Link to this function

list_invoices(client, query)

View Source

See FortnoxEx.Models.Invoice.list_invoices/2.

Link to this function

list_offers(client, query)

View Source

See FortnoxEx.Models.Offer.list_offers/2.

Link to this function

list_orders(client, query)

View Source

See FortnoxEx.Models.Order.list_orders/2.

Link to this function

list_projects(client, query)

View Source

See Project.list_projects/2.

Link to this function

stream_articles(client, query)

View Source

See FortnoxEx.Models.Article.stream_articles/2.

Link to this function

stream_attendance_transactions(client, query)

View Source

See FortnoxEx.Models.AttendanceTransaction.stream_attendance_transactions/2.

Link to this function

stream_contracts(client, query)

View Source

See FortnoxEx.Models.Contract.stream_contracts/2.

Link to this function

stream_customers(client, query)

View Source

See FortnoxEx.Models.Customer.stream_customers/2.

Link to this function

stream_employees(client, query)

View Source

See Employee.stream_employees/2.

Link to this function

stream_invoices(client, query)

View Source

See FortnoxEx.Models.Invoice.stream_invoices/2.

Link to this function

stream_offers(client, query)

View Source

See FortnoxEx.Models.Offer.stream_offers/2.

Link to this function

stream_orders(client, query)

View Source

See FortnoxEx.Models.Order.stream_orders/2.

Link to this function

stream_projects(client, query)

View Source

See Project.stream_projects/2.

Link to this function

update_article(client, article_number, article_attrs)

View Source

See FortnoxEx.Models.Article.update_article/3.

Link to this function

update_attendance_transaction(client, attendance_transaction_number, attendance_transaction_attrs)

View Source

See FortnoxEx.Models.AttendanceTransaction.update_attendance_transaction/3.

Link to this function

update_contract(client, contract_number, contract_attrs)

View Source

See FortnoxEx.Models.Contract.update_contract/3.

Link to this function

update_customer(client, customer_number, customer_attrs)

View Source

See FortnoxEx.Models.Customer.update_customer/3.

Link to this function

update_employee(client, employee_number, employee_attrs)

View Source

See Employee.update_employee/3.

Link to this function

update_invoice(client, invoice_number, invoice_attrs)

View Source

See FortnoxEx.Models.Invoice.update_invoice/3.

Link to this function

update_offer(client, offer_number, offer_attrs)

View Source

See FortnoxEx.Models.Offer.update_offer/3.

Link to this function

update_order(client, order_number, order_attrs)

View Source

See FortnoxEx.Models.Order.update_order/3.

Link to this function

update_project(client, project_number, project_attrs)

View Source

See Project.update_project/3.