GetProposalsResponseDto
Cursor for fetching the next page of results
eyJsYXN0SWQiOiIxMjNlNDU2NyIsImxhc3RWYWx1ZSI6IjIwMjQtMDYtMTAifQ
Cursor for fetching the previous page of results
eyJmaXJzdElkIjoiOTg3ZmVkY2IiLCJmaXJzdFZhbHVlIjoiMjAyNC0wNS0xNSJ9
Total amount of results
results object[]required
List of proposals matching the query criteria
Unique identifier for the proposal (UUID format)
123e4567-e89b-12d3-a456-426614174000
Public read-only URL to the proposal
https://offri.app/o/123e4567-e89b-12d3-a456-426614174000
Url to the proposal editor only accessible when logged in
https://offri.app/proposal/123e4567-e89b-12d3-a456-426614174000
Title of the proposal
Website Development Project
Expiration date of the proposal
user object
User who created the proposal
Unique identifier for the user
First name of the user
John
Last name of the user
Doe
Email address of the user
john.doe@company.com
URL to the user's avatar image
https://example.com/avatars/john-doe.jpg
User's preferred language
Possible values: [nl
, en
, de
]
client object
Client the proposal is for
Unique identifier for the client
Name of the client/company
Possible values: >= 2 characters
Acme Corporation
Email address of the client
contact@acme.com
City where the client is located
New York
Phone number of the client
+1-555-0123
Street address of the client
123 Business Street
Postal code of the client
10001
Custom customer ID assigned by the workspace
CUST-001
Country where the client is located
United States
Primary language of the client
en
Whether the client is private or business
false
contactPersons object[]
Contact persons associated with the client, not available for private clients
Unique identifier for the contact person
Name of the contact person
Jane Smith
Email address of the contact person
jane.smith@acme.com
contactPerson object
Primary contact person at the client organization
Unique identifier for the contact person
Name of the contact person
Jane Smith
Email address of the contact person
jane.smith@acme.com
Current status of the proposal
Possible values: [won
, open
, expired
, lost
, concept
, review
]
Language of the proposal content
Possible values: [nl
, en
, de
]
Date when the client signed the proposal
reviewers object[]
Array of reviewers assigned to review this proposal
Unique identifier for the reviewer
First name of the reviewer
Alice
Last name of the reviewer
Johnson
Email address of the reviewer
alice.johnson@company.com
Date when the proposal was first sent
Date when the proposal was last sent/resent
Date when the proposal was created
Date when the proposal was last updated
Date when the proposal was hidden
Date when the proposal content was last changed
Type of document
Possible values: [proposal
, pricelist
, contract
]
Whether this proposal was generated by AI
counts object
Detailed count statistics (only included when counters=true)
Total count of all proposals (including hidden ones)
status objectrequired
Breakdown of proposal counts by status
Total count of all non-hidden proposals
Count of proposals that have been won/accepted
Count of proposals that are currently open
Count of proposals that have expired
Count of proposals that have been lost/rejected
Count of proposals currently under review
Count of proposals in concept/draft status
Count of proposals that have been hidden
contractType objectrequired
Breakdown of proposal counts by contract type
Total count of all non-hidden proposals
Count of standard proposal-type documents
Count of pricelist-type documents
Count of contract-type documents
{
"nextCursor": "eyJsYXN0SWQiOiIxMjNlNDU2NyIsImxhc3RWYWx1ZSI6IjIwMjQtMDYtMTAifQ",
"previousCursor": "eyJmaXJzdElkIjoiOTg3ZmVkY2IiLCJmaXJzdFZhbHVlIjoiMjAyNC0wNS0xNSJ9",
"total": 0,
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"url": "https://offri.app/o/123e4567-e89b-12d3-a456-426614174000",
"editorUrl": "https://offri.app/proposal/123e4567-e89b-12d3-a456-426614174000",
"title": "Website Development Project",
"expiration": "2024-07-29T15:51:28.071Z",
"user": {
"id": 0,
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@company.com",
"avatar": "https://example.com/avatars/john-doe.jpg",
"language": "nl"
},
"client": {
"id": 0,
"name": "Acme Corporation",
"email": "contact@acme.com",
"city": "New York",
"phone": "+1-555-0123",
"address": "123 Business Street",
"postalCode": "10001",
"customerId": "CUST-001",
"country": "United States",
"language": "en",
"private": false,
"contactPersons": [
{
"id": 0,
"name": "Jane Smith",
"email": "jane.smith@acme.com"
}
]
},
"contactPerson": {
"id": 0,
"name": "Jane Smith",
"email": "jane.smith@acme.com"
},
"status": "won",
"language": "nl",
"clientSignedAt": "2024-07-29T15:51:28.071Z",
"reviewers": [
{
"id": 0,
"firstName": "Alice",
"lastName": "Johnson",
"email": "alice.johnson@company.com"
}
],
"sendAt": "2024-07-29T15:51:28.071Z",
"lastSendAt": "2024-07-29T15:51:28.071Z",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"deletedAt": "2024-07-29T15:51:28.071Z",
"latestChange": "2024-07-29T15:51:28.071Z",
"contractType": "proposal",
"isGenerated": true
}
],
"counts": {
"total": 0,
"status": {
"all": 0,
"won": 0,
"open": 0,
"expired": 0,
"lost": 0,
"review": 0,
"concept": 0,
"hidden": 0
},
"contractType": {
"all": 0,
"proposal": 0,
"pricelist": 0,
"contract": 0
}
}
}