get
https://api.duodeal.app/api/quotations
Retrieves a paginated list of all quotations.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | No | Page number for pagination (default: 1) |
limit | integer | No | Number of items per page (default: 50) |
order | string | No | Field to sort by (default: id) |
direction | string | No | Sort direction: asc or desc (default: desc) |
search | string | No | Full-text search query (see below) |
Full-Text Search
The search parameter performs a PostgreSQL full-text search with multi-language support (French, English).
Searchable fields:
| Field | Priority | Description |
|---|---|---|
title | High | Quotation title |
number | High | Quotation reference number |
deal.name | High | Associated deal name |
deal.customer.firstName | Medium | Customer first name |
deal.customer.lastName | Normal | Customer last name |
deal.customer.customerCompany.name | Normal | Customer company name |
Example:
?search=proposal 2024
Filtering
This endpoint supports advanced filtering. See the Filter System Documentation for the complete list of operators and usage examples.
Quick examples:
?filters[number][contains]=2024
?filters[totalHt][gte]=1000
?filters[deal.id][eq]=123
?filters[quotationStatus.name][eq]=Sent
?filters[customer.firstName][contains]=John
Response Fields (signature-related)
| Field | Type | Description |
|---|---|---|
| signed | boolean | Whether the quotation is signed |
| signDate | datetime | Date and time of signature (null if not signed) |
| signerFirstName | string | First name of the signer |
| signerLastName | string | Last name of the signer |
| signerEmail | string | Email of the signer |
| signedPdfUrl | string | Public URL of the signed PDF (null if not signed) |
Response
200 OK: Returns paginated list of quotations401 Unauthorized: Invalid or missing API key
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Successful response
401Unauthorized
