v2

latestSwagger 2.02026-08-01139174369.1 KB
Quote

Returns a list of company's Quotes. Filtering is forbidden. Ordering is allowed by "id".

get/v1/quotes

Response

OK

NextPageLinkstring
Countinteger

Example response

{
  "Items": [
    {
      "id": 1,
      "companyId": 40449,
      "customerOwnerId": 70583,
      "vatTypeId": 1,
      "saleRepId": 75783,
      "saleInvoiceId": 30044,
      "entryDate": "2017-01-01T00:00:00",
      "procDate": "2017-01-05T00:00:00",
      "poNumber": "Sample",
      "ddNumber": "Sample",
      "customerOwnerName": "Customer 1",
      "comments": "Sample",
      "layoutType": 1,
      "total": 110,
      "totalVat": 10,
      "totalNet": 100,
      "productTrans": [
        {
          "id": 40277,
          "companyId": 40449,
          "percentage": 0,
          "vatRateId": 30657,
          "productId": 20107,
          "productCode": "PRO1",
          "quantity": 1,
          "unitPrice": 100,
          "amount": 10,
          "vatAmount": 10,
          "tranNotes": [
            "Product"
          ],
          "acEntries": [
            {
              "id": 1,
              "companyId": 40449,
              "accountCode": "sample",
              "analysisCategoryId": 40888,
              "quoteProductTranId": 40277,
              "value": 100
            }
          ],
          "vatAnalysisTypeId": 0
        }
      ],
      "timeStamp": "UPpH5vbv3gg="
    }
  ]
}