Skip to main content

Get Quotation Listing (Simple)

Get quotation listing using simple date filter.

Request​

GET:/{accountBookId}/quotation/listing

Request Parameters​

ParameterDescriptionType
pagePage index of returned records. Each page contains at most 100 records. Using a page index beyond the number of available pages will result in empty result.numberrequired
startDateStarting date range. Returns document records where docDate falls on startDate or later.datenullable
endDateEnding date range. Returns document records where docDate falls on startDate or earlier.datenullable

Example Request URL:

Parameters:
accountBookId = 1
page = 1
startDate = 2023-01-06
endDate = 2023-03-06

URL:
GET: https://accounting-api.autocountcloud.com/1/quotation/listing?page=1&startDate=2023-01-06&endDate=2023-03-06

Response​

Success Response​

Status Code: 200

Response Body​

FieldDescriptionType
dataResponse data.array[Quotation View Model]
totalCountNumber of records retrieved.number
Example Success Response Body
  {
"data": [
{
"master": {
"docKey": 70,
"docNo": "QT-000001",
"docDate": "2023-03-06T00:00:00",
"debtorCode": "300-D001",
"debtorName": "Customer A",
"currencyCode": "MYR",
"currencyRate": 1.000000000000,
"email": "debtorA@gmail.com",
"emailCC": null,
"emailBCC": null,
"address": "116 Jalan Damai, Kuala Lumpur, Wilayah Persekutuan",
"attention": "",
"phone1": "03-2161 2168",
"fax1": "",
"deliverAddress": "116 Jalan Damai, Kuala Lumpur, Wilayah Persekutuan",
"deliverContact": "",
"deliverPhone1": "",
"deliverFax1": "",
"ref": null,
"description": null,
"note": null,
"remark1": null,
"remark2": null,
"remark3": null,
"remark4": null,
"creditTerm": "C.O.D.",
"salesAgent": "Ali",
"salesLocation": "HQ",
"inclusiveTax": false,
"isRoundAdj": false,
"cancelled": false,
"documentStatus": 0,
"lostReason": null,
"totalExTax": 800.00,
"tax": 40.00,
"localTax": 40.00,
"exTax": 40.00,
"localExTax": 40.00,
"taxableAmt": 800.00,
"localTaxableAmt": 800.00,
"netTotal": 840.00,
"localNetTotal": 840.00,
"roundAdj": 0.00,
"total": 800.00,
"finalTotal": 840.00,
"createdUserID": "ADMIN",
"createdTimeStamp": "2023-03-06T09:27:28.0456479",
"lastModifiedUserID": "ADMIN",
"lastModified": "2023-03-08T14:39:44.9998753",
"yourRef": null,
"validity": null,
"cc": null,
"deliveryTerm": null,
"paymentTerm": null,
"status": "Pending",
"approverID": "ADMIN",
"approvedTimeStamp": "2023-03-06T16:42:26.9875477",
"rejectReason": null
},
"details": [
{
"docKey": 70,
"dtlKey": 101,
"seq": 0,
"productId": 5,
"productCode": "P-00001",
"productVariantId": null,
"productVariant1Option": null,
"productVariant2Option": null,
"description": "Shirt",
"furtherDescription": "",
"qty": 1.00000000,
"unit": "shirts",
"unitPrice": 350.00000000,
"discount": null,
"discountAmt": 0.00,
"taxCode": "S-5",
"taxRate": 5.000000,
"taxAdjustment": 0.00,
"localTaxAdjustment": 0.00,
"subTotalExTax": 350.00,
"localSubTotalExTax": 350.00,
"tax": 17.50,
"localTax": 17.50,
"subTotal": 350.00,
"localSubTotal": 350.00
}
]
}
],
"totalCount": 1
}

Error Response​

Response Body​

object: Error Response Model

Example Error Response Body
{
"statusCode": 401,
"message": "401 Unauthorized."
}