offers
GET /companies/{companySlug}/offers
Changed onReturns all offers for given company
Request
- Base URLhttps://api.fiken.no/api/v2
- URLhttps://api.fiken.no/api/v2/companies/{companySlug}/offers
- AuthOAuth 2Authorization code: https://fiken.no/oauth/authorizeToken URL: https://fiken.no/oauth/token
Query parameters
pageinteger
Returns the number of the page to return. Valid page values are integers from 0 to the total number of pages. Default value is 0.
pageSizeinteger
Defines the number of entries to return on each page. Maximum number of results that can be returned at one time are 100. Default value is 25.
Response
OK
Example response
[
{
"offerId": 2888156,
"offerDraftUuid": "123e4567-e89b-12d3-a456-426655440000",
"date": "2018-04-03",
"offerNumber": 10001,
"net": 25000,
"vat": 5000,
"gross": 30000,
"discount": 2500,
"address": {
"streetAddress": "Karl Johan 34",
"streetAddressLine2": "H0405",
"city": "Oslo",
"postCode": "0550",
"country": "Norway"
},
"lines": [
{
"net": 4500,
"vat": 500,
"vatType": "HIGH",
"gross": 5000,
"netInNok": 4500,
"vatInNok": 500,
"grossInNok": 5000,
"vatInPercent": 25,
"unitPrice": 4550,
"quantity": 5,
"discount": 25,
"productId": 2888156,
"productName": "Gardening Gloves VI2",
"description": "Goatskin, with extra-long suede cuffs",
"comment": "One size fits all",
"incomeAccount": "3000"
}
],
"contactId": 9688154,
"contactPersonId": 9688154,
"projectId": 2815556,
"accepted": "2025-04-03",
"dispatches": [
{
"date": "2024-04-03",
"dispatchType": "email"
}
]
}
]Changes
- breaking
the
/response's property type changed from no type tointegerfor status - breaking
the
/response's property type changed from no type tointegerfor status - breaking
the
/response's property type changed from no type tointegerfor status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking
- info
added the optional property
/to the response with the status
- info