Contracts: Fortnox Contracts
insert update REST
- Catalog:
Fortnox - Schema:
Contracts - Primary Keys:
DocumentNumber - Label: Contracts
Retrieve a list of contracts
Can retrieve data and change data using insert and update.
API Source
- Endpoint:
/3/contracts - Operation:
get /3/contracts
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 356 |
| Full scan rows per minute | 85,000 |
| Point query rows per minute | 168 |
The result can be cached on the client.
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
filter |
`` | possibility to filter contracts (Values: active, inactive, finished) | ||
financialyear |
`` | Selects what financial year that should be used (does not work on every table). | ||
financialyeardate |
`` | Selects by date, what financial year that should be used (does not work on every table). | ||
fromdate |
`` | Defines a selection based on a start date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). | ||
lastmodified |
`` | Retrieves all records since the provided timestamp (does not work on every table). | ||
todate |
`` | Defines a selection based on an end date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). |
Table Columns
The columns of the table Contracts are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
Continuous |
char |
Continuous | filters on the platform, writable, Continuous |
||
Contract |
int32 |
Contract Length | filters on the platform, writable, Contract |
||
Currency |
varchar2 |
Currency | filters on the platform, writable, Currency |
||
Customer |
varchar2 |
Customer Name | filters on the platform, writable, Customer |
||
Customer |
varchar2 |
Customer Number | filters on the platform, writable, Customer |
||
Document |
varchar2 |
Document Number | filters on the platform, writable, Document |
||
Invoiceinterval |
int32 |
Invoice Interval | filters on the platform, writable, Invoiceinterval |
||
Invoices |
int32 |
Invoices Remaining | filters on the platform, writable, Invoices |
||
Last |
varchar2 |
Last Invoice Date | filters on the platform, writable, Last |
||
Period |
datetime |
Period End | filters on the platform, writable, Period |
||
Period |
datetime |
Period Start | filters on the platform, writable, Period |
||
Status |
varchar2 |
Status | filters on the platform, writable, Status |
||
Template |
int32 |
Template Number | filters on the platform, writable, Template |
||
Total |
double |
Total | filters on the platform, writable, Total |
||
c_url |
varchar2 |
Call URL | filters on the platform, writable, @url |
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver: