The definition of a successful response is when you made a valid request that functioned as intended.
A successful response will return with a HTTP status code in the 200 range.
Code | Type | Description |
---|---|---|
200 | OK | A resource has been returned |
201 | Created | A resource has been created |
204 | Success | A resource has been removed |
The definition of a failed response is when you made a invalid request that did not function as intended.
A failed response will return with a HTTP status code in the 400 or 500 range.
Code | Type | Description |
---|---|---|
400 | Bad Request | The request cannot be fulfilled due to bad syntax |
403 | Forbidden | Failed authentication |
404 | Not Found | The requested resource could not be found |
500 | Internal Server Error | An error occurred at our end |
A failed request will return an error in the response, all errors have the same structure.
{
"ErrorInformation": {
"error": 1,
"message": "Kan inte hitta kontot.",
"code": 2000423
}
}
See our comprehensive documentation regarding the Fortnox API.
Approximately half a million customers are waiting for your integration at our Integrations page.