Add new entity to Quotations
POST/Quotations
Add new entity to Quotations
Request
- application/json
Body
required
New entity
Possible values: >= -2147483648
and <= 2147483647
This property will only return the right status for legacy quotation statuses. Use the StatusId property instead.
Possible values: Value must match regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
Responses
- 201
- default
Created entity
- application/json
- Schema
- Example (from schema)
Schema
Possible values: >= -2147483648
and <= 2147483647
This property will only return the right status for legacy quotation statuses. Use the StatusId property instead.
Possible values: Value must match regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
{
"sellerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sellerContactId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"debtorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"debtorContactId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"shipToId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"shipToContactId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"languageIso": "string",
"currencyIso": "string",
"synced": true,
"quotationNumber": 0,
"versionNumber": 0,
"statusId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subject": "string",
"totalPrice": 0,
"totalPriceInclVat": 0,
"isVerified": true,
"customerReference": "string",
"quotationReference": "string",
"deliverydate": "2024-06-06T15:30:37.614Z",
"remarks": "string",
"expiresDate": "2024-06-06T15:30:37.614Z",
"quotationTemplateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"propertyIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"exchangeRate": 0,
"purchaseDiscount": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDate": "2024-06-06T15:30:37.614Z",
"updatedDate": "2024-06-06T15:30:37.614Z",
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "string",
"creatorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customField1": "string",
"customField2": "string",
"customField3": "string",
"customField4": "string",
"customField5": "string",
"seller": {},
"sellerContact": {},
"debtor": {},
"debtorContact": {},
"shipTo": {},
"shipToContact": {},
"organization": {}
}
error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
required
details
object[]
The structure of this object is service-specific
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
],
"innererror": {}
}
}