POST api/quotations/order
Request Information
URI Parameters
None.
Body Parameters
m_QuotationOrderRequestCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| startDate | date |
None. |
|
| endDate | date |
None. |
|
| discount | decimal number |
None. |
|
| custID | integer |
None. |
|
| termOfPaymentID | integer |
Required |
|
| notifyPartyID | integer |
Required |
|
| deliveryID | integer |
Required |
|
| transportID | integer |
Required |
|
| deliveryDate | date |
None. |
|
| checkVat | boolean |
Required |
|
| checkDiscount | boolean |
Required |
|
| gp | decimal number |
None. |
|
| gpVender | string |
String length: inclusive between 0 and 50 |
|
| gpBarcode | string |
String length: inclusive between 0 and 50 |
|
| gpDeliverydepartment | string |
String length: inclusive between 0 and 50 |
|
| DeliveryCost | decimal number |
Required |
|
| specialDiscount | decimal number |
None. |
|
| methodOfPaymentID | integer |
None. |
|
| methodOfPaymentDetail | string |
String length: inclusive between 0 and 255 |
|
| methodOfPaymentBankID | integer |
None. |
|
| receiveOrder | string |
String length: inclusive between 0 and 255 |
|
| referenceNumber | string |
String length: inclusive between 0 and 250 |
|
| barcodeGroupID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"startDate": "2026-04-07T18:10:37.2995936+07:00",
"endDate": "2026-04-07T18:10:37.2995936+07:00",
"discount": 3.0,
"custID": 4,
"termOfPaymentID": 5,
"notifyPartyID": 6,
"deliveryID": 7,
"transportID": 8,
"deliveryDate": "2026-04-07T18:10:37.2995936+07:00",
"checkVat": true,
"checkDiscount": true,
"gp": 1.0,
"gpVender": "sample string 11",
"gpBarcode": "sample string 12",
"gpDeliverydepartment": "sample string 13",
"DeliveryCost": 14.0,
"specialDiscount": 1.0,
"methodOfPaymentID": 1,
"methodOfPaymentDetail": "sample string 15",
"methodOfPaymentBankID": 1,
"receiveOrder": "sample string 16",
"referenceNumber": "sample string 17",
"barcodeGroupID": 1
}
application/xml, text/xml
Sample:
<m_QuotationOrderRequestCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.MKTH"> <DeliveryCost>14</DeliveryCost> <barcodeGroupID>1</barcodeGroupID> <checkDiscount>true</checkDiscount> <checkVat>true</checkVat> <custID>4</custID> <deliveryDate>2026-04-07T18:10:37.2995936+07:00</deliveryDate> <deliveryID>7</deliveryID> <discount>3</discount> <endDate>2026-04-07T18:10:37.2995936+07:00</endDate> <gp>1</gp> <gpBarcode>sample string 12</gpBarcode> <gpDeliverydepartment>sample string 13</gpDeliverydepartment> <gpVender>sample string 11</gpVender> <methodOfPaymentBankID>1</methodOfPaymentBankID> <methodOfPaymentDetail>sample string 15</methodOfPaymentDetail> <methodOfPaymentID>1</methodOfPaymentID> <notifyPartyID>6</notifyPartyID> <receiveOrder>sample string 16</receiveOrder> <referenceNumber>sample string 17</referenceNumber> <specialDiscount>1</specialDiscount> <startDate>2026-04-07T18:10:37.2995936+07:00</startDate> <termOfPaymentID>5</termOfPaymentID> <transportID>8</transportID> </m_QuotationOrderRequestCreate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.