User Tools

Site Tools


api:integration:economic:layout

API : Economic Layout List

Introduction

E-conomic customer layouts are used to determine how invoices will look, determining things like text size, which information will be on the invoice, etc.

Request

URL https://api.telecomx.dk/integration/economic/layout
Method GET
Access level VIEWER, MANAGER or OWNER if user belongs to the customer.
RESELLER if customer belongs to the reseller or a sub reseller.
ADMIN.
Query customer Id of the customer/reseller to get the layouts for, defaults to users own customer

Query examples

https://api.telecomx.dk/integration/economic/layout
https://api.telecomx.dk/integration/economic/layout?customer=1234567890ABCDEF12345678

Response

Layout object
Property Type Description
layoutNumber Number The ID of the layout
name String Name of the given layout
self String URL to the the layout in e-conomic

Note that since this data is fetched from a third-party, the data returned can not be guaranteed.

Example - normal

{
  [
    {
      "layoutNumber": 19,
      "name": "DK std. m. bankoplys. 1.5",
      "https://restapi.e-conomic.com/layouts/19"
    },
    {
      "layoutNumber": 30,
      "name": "Betalingsservice",
      "https://restapi.e-conomic.com/layouts/30"
    },
    ...
  ]
}

Errors

Error code Message Description
403 access_denied Insufficient access level
404 id Customer not found
500 internal_error <Unspecified>
api/integration/economic/layout.txt · Last modified: 2022/05/03 10:54 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki