API ReferencePublic estimates
Reject estimate (public, token-based)
AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/public/estimates/string/reject" \ -H "Content-Type: application/json" \ -d '{ "token": "string" }'{
"canAccept": true,
"canReject": true,
"created": "2019-08-24T14:15:22Z",
"currency": "string",
"documentSettings": {
"hideVatColumnWhenUniform": true,
"pdfColumnLabelsEn": {
"property1": "string",
"property2": "string"
},
"pdfColumnLabelsNl": {
"property1": "string",
"property2": "string"
},
"pdfColumnOrder": [
"string"
],
"showDiscountLines": true,
"showRowNumbers": true
},
"estimateDate": "2019-08-24T14:15:22Z",
"estimateNumber": "string",
"id": "string",
"isExpired": true,
"items": [
{
"description": "string",
"quantity": 0.1,
"subdescription": "string",
"taxRate": 0.1,
"totalPrice": 0.1,
"type": "string",
"unitPrice": 0.1
}
],
"pdfAvailable": true,
"preferredLanguage": "string",
"rejectionReason": "string",
"signatureBlobId": "string",
"signedAt": "2019-08-24T14:15:22Z",
"signedBy": "string",
"status": "DRAFT",
"totalAmount": 0.1,
"totalAmountExcludingTax": 0.1,
"totalTax": 0.1,
"validUntil": "2019-08-24T14:15:22Z"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}