skip / takeAuthorization: Bearer ********************{
"quotationDate": "<datetime>",
"staffCode": "<string>",
"quotationNo": "<string>",
"customerCode": "<string>",
"quotationStatus": 2,
"take": 5,
"skip": 0,
"createdByStaffCode": "<string>"
}curl --location 'https://api.gofive.co.th/v1/quotation/enquiry' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscription-key>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"quotationDate": "<datetime>",
"staffCode": "<string>",
"quotationNo": "<string>",
"customerCode": "<string>",
"quotationStatus": 2,
"take": 5,
"skip": 0,
"createdByStaffCode": "<string>"
}'{
"status": {
"code": "1000",
"description": "Success"
},
"data": [
{
"quotationSubject": "Bff test create quotation",
"quotationNo": "DRAFT2212000100",
"quotationDate": "2022-12-16T00:00:00+0700",
"quotationValidUntil": "2023-12-16T00:00:00+0700",
"customerCode": "daisy",
"recipientName": "Mook",
"recipientAddress": "Chanthaburi",
"quotationDetails": [
{
"productCode": "ROG001",
"productName": "ROG Phone 6 Pro [Default]",
"price": 5000,
"qty": 6,
"productDescription": "Good product",
"discountValue": 1,
"discountType": true,
"vatTaxValue": 3,
"whtTaxValue": 1,
"totalPrice": 29700,
"warehouseCode": "WH001"
}
],
"currencyCode": "THB",
"vatCalculation": true,
"discountName": "just discount test",
"discountType": true,
"discountValue": 7,
"paymentTerm": "1 month test",
"remark": "Remember this for test",
"privateNote": "test 13dec2022",
"staffCode": "Admin01",
"quotationStatus": 1,
"subTotal": 29700,
"subTotalWithDiscount": 27621,
"totalVat": 828.63,
"grandTotal": 28449.63,
"warehouseCode": "WH001",
"dealNo": "DL251000034"
}
]
}