api:integration:economic:contacts
Table of Contents
API : Economic Customer Contact List
Introduction
E-conomic customer contacts are used as a reference for invoices.
Request
| URL | https://api.telecomx.dk/integration/economic/contact/:accountingSystemId | |
|---|---|---|
| Method | GET | |
| Access level | Minimum RESELLER. | |
| Params | accountingSystemId | Id of the customer in e-conomic |
| Query | reseller | Id of the reseller, used to fetch the tokens needed to access e-conomic data. |
Query examples
https://api.telecomx.dk/integration/economic/contacts/12345
Response
| CustomerConctact object | ||
|---|---|---|
| Property | Type | Description |
| customerContactNumber | Number | Unique ID of the customer contact |
| name | String | Name of the customer contact |
| Customer object | ||
| customer.CustomerNumber | Number | Unique ID of the customer |
| customer.self | A unique link to the customer item | |
| self | String | A unique link to the customer contact item |
Note that since this data is fetched from a third-party, the data returned can not be guaranteed.
Example - normal
{ [ { customerContactNumber: 19, name: "Mikkel test", customer: { customerNumber: 12345678, self: "https://restapi.e-conomic/com/customers/12345678" }, self: "https://restapi.e-conomic.com/customers/12345678/contacts/19" }, { customerContactNumber: 410, name: "Jonas test", customer: { customerNumber: 12345678, self: "https://restapi.e-conomic/com/customers/12345678" }, self: "https://restapi.e-conomic.com/customers/12345678/contacts/410" }, ... ] }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 404 | id | Reseller not found |
| 404 | economic.agreementGrantToken | Not found |
| 404 | accountingSystemId | Accounting system ID not found |
| 500 | internal_error | <Unspecified> |
api/integration/economic/contacts.txt · Last modified: 2025/05/09 08:09 by Mikkel Meerwaldt Jørgensen