AlphaAlpha Docs
API ReferenceEstimates

Dynamic Search Post_ Estimate

POST
/estimates/dynamic-search
AuthorizationBearer <token>

In: header

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/estimates/dynamic-search" \  -H "Content-Type: application/json" \  -d '{    "filters": {      "property1": null,      "property2": null    },    "page": 0,    "search": [      "string"    ],    "size": 0,    "sort": [      {        "ascending": true,        "field": "string"      }    ]  }'
{
  "content": [
    {
      "accessToken": "string",
      "accessTokenHash": "string",
      "attachments": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "clientId": "string",
      "contact": {
        "department": "string",
        "email": "string",
        "firstName": "string",
        "id": "string",
        "lastName": "string",
        "phone": "string"
      },
      "contactEmail": "string",
      "convertedInvoiceId": "string",
      "convertedOrderId": "string",
      "created": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "currency": "string",
      "discountRows": [
        {
          "description": "string",
          "id": "string",
          "productId": "string",
          "quantity": 0.1,
          "subdescription": "string",
          "taxAmount": 0.1,
          "taxRate": 0.1,
          "total": 0.1,
          "totalWithTax": 0.1,
          "type": "ITEM",
          "unitPrice": 0.1
        }
      ],
      "estimateDate": "2019-08-24T14:15:22Z",
      "estimateNumber": "string",
      "events": [
        {
          "authorId": "string",
          "date": "2019-08-24T14:15:22Z",
          "description": "string",
          "id": "string",
          "type": "CREATE"
        }
      ],
      "expirationDays": 0,
      "id": "string",
      "itemRows": [
        {
          "description": "string",
          "id": "string",
          "productId": "string",
          "quantity": 0.1,
          "subdescription": "string",
          "taxAmount": 0.1,
          "taxRate": 0.1,
          "total": 0.1,
          "totalWithTax": 0.1,
          "type": "ITEM",
          "unitPrice": 0.1
        }
      ],
      "iteration": 0,
      "language": "string",
      "mailBody": "string",
      "note": "string",
      "number": "string",
      "opportunityId": "string",
      "parentEstimateId": "string",
      "pdf": {
        "blobId": "string",
        "created": "2019-08-24T14:15:22Z",
        "extension": "string",
        "fileSize": 0,
        "name": "string",
        "type": "IMAGE"
      },
      "rejectionReason": "string",
      "rows": [
        {
          "description": "string",
          "id": "string",
          "productId": "string",
          "quantity": 0.1,
          "subdescription": "string",
          "taxAmount": 0.1,
          "taxRate": 0.1,
          "total": 0.1,
          "totalWithTax": 0.1,
          "type": "ITEM",
          "unitPrice": 0.1
        }
      ],
      "sentBy": "string",
      "sentMails": [
        "string"
      ],
      "signature": {
        "blobId": "string",
        "created": "2019-08-24T14:15:22Z",
        "extension": "string",
        "fileSize": 0,
        "name": "string",
        "type": "IMAGE"
      },
      "signedAt": "2019-08-24T14:15:22Z",
      "signedBy": "string",
      "status": "DRAFT",
      "subsidiaryId": "string",
      "tenantId": "string",
      "totalExcludingTax": 0.1,
      "totalTax": 0.1,
      "totalWithTax": 0.1,
      "updated": "2019-08-24T14:15:22Z",
      "updatedBy": "string",
      "validUntil": "2019-08-24T14:15:22Z"
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 0,
  "numberOfElements": 0,
  "pageable": {
    "offset": 0,
    "pageNumber": 0,
    "pageSize": 0,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 0,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 0,
  "totalPages": 0
}
{
  "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"
}