POST/projects/api/v3/quote.json
Create a new quote.
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
QuoteResponse contains information about a specific quote.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
ErrorResponse defines how []Error should be marshaled to JSON.
200 OK
QuoteResponse
{
"included": {
"companies": {
"additionalProp": {
"accounts": 0,
"addressOne": "string",
"addressTwo": "string",
"budgetDistribution": [
{
"color": "string",
"companyId": 0,
"count": 0,
"from": 0,
"to": 0
}
],
"canSeePrivate": true,
"cid": "string",
"city": "string",
"clientManagedBy": {
"id": 0,
"meta": {},
"type": "string"
},
"clients": 0,
"collaborators": 0,
"companyDomains": [
{
"id": 0,
"meta": {},
"type": "string"
}
],
"companyNameUrl": "string",
"companyUpdate": {
"id": 0,
"meta": {},
"type": "string"
},
"contacts": 0,
"countryCode": "string",
"createdAt": "string",
"currency": {
"id": 0,
"meta": {},
"type": "string"
},
"emailOne": "string",
"emailThree": "string",
"emailTwo": "string",
"fax": "string",
"financialBudgetSummary": {
"totalCapacity": 0,
"totalCapacityUsed": 0
},
"id": 0,
"industry": {
"id": 0,
"meta": {},
"type": "string"
},
"industryId": 0,
"isOwner": true,
"logoUrl": "string",
"name": "string",
"phone": "string",
"privateNotes": "string",
"privateNotesText": "string",
"profileText": "string",
"profitability": {
"billable": 0,
"billableTime": 0,
"companyCount": 0,
"cost": 0,
"expenses": 0,
"loggedTime": 0,
"nonBillableTime": 0,
"ownerCount": 0,
"profit": 0,
"profitPercentage": 0
},
"state": "string",
"stats": {
"projectCount": 0,
"taskCompleteCount": 0,
"taskCount": 0,
"unreadEmailCount": 0
},
"status": "string",
"tags": [
{
"id": 0,
"meta": {},
"type": "string"
}
],
"timeBudgetSummary": {
"totalCapacity": 0,
"totalCapacityUsed": 0
},
"updatedAt": "string",
"website": "string",
"zip": "string"
}
},
"users": {
"additionalProp": {
"avatarUrl": "string",
"canAccessPortfolio": true,
"canAddProjects": true,
"canManagePortfolio": true,
"company": {
"id": 0,
"meta": {},
"type": "string"
},
"companyId": 0,
"companyRoleId": 0,
"createdAt": "string",
"createdBy": {
"id": 0,
"meta": {},
"type": "string"
},
"deleted": true,
"email": "string",
"firstName": "string",
"id": 0,
"isAdmin": true,
"isClientUser": true,
"isPlaceholderResource": true,
"isServiceAccount": true,
"jobRoles": [
{
"id": 0,
"meta": {},
"type": "string"
}
],
"lastName": "string",
"lengthOfDay": 0,
"meta": {},
"skills": [
{
"id": 0,
"meta": {},
"type": "string"
}
],
"teams": [
{
"id": 0,
"meta": {},
"type": "string"
}
],
"timezone": "string",
"title": "string",
"type": "string",
"updatedAt": "string",
"updatedBy": {
"id": 0,
"meta": {},
"type": "string"
},
"userCost": 0,
"userRate": 0,
"workingHour": {
"id": 0,
"meta": {},
"type": "string"
},
"workingHoursId": 0
}
}
},
"quote": {
"createdAt": "string",
"createdBy": 0,
"currency": {
"code": "string",
"id": 0,
"symbol": "string"
},
"deletedAt": "string",
"deletedBy": 0,
"fixedAmountDiscount": 0,
"fromCompany": {
"id": 0,
"meta": {},
"type": "string"
},
"id": 0,
"installationId": 0,
"isFixedPricing": true,
"issueDate": "string",
"lineItems": [
{
"amount": 0,
"assignee": {
"id": 0,
"meta": {},
"type": "string"
},
"assigneeId": 0,
"assigneeName": "string",
"description": "string",
"id": 0,
"quantity": 0,
"quoteId": 0,
"rate": 0,
"title": "string"
}
],
"notes": "string",
"percentageDiscount": 0,
"quoteNumber": "string",
"status": "string",
"subTotal": 0,
"subTotalWithDiscount": 0,
"subTotalWithTax": 0,
"taxInclusive": true,
"taxPercentage": 0,
"toCompany": {
"id": 0,
"meta": {},
"type": "string"
},
"updatedAt": "string",
"updatedBy": 0,
"validUntilDate": "string"
}
}