POST api/DMS/AddDmsOrder
Request Information
URI Parameters
None.
Body Parameters
DMSOrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SfaBusinessId | integer |
None. |
|
| Phone | string |
None. |
|
| VatAmount | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| TotalDiscount | decimal number |
None. |
|
| IsOnlineOrder | integer |
None. |
|
| Flag | integer |
None. |
|
| OrderSource | string |
None. |
|
| DeliveryLocation | string |
None. |
|
| DeliveryLatitude | string |
None. |
|
| DeliveryLongitude | string |
None. |
|
| PurchaseItems | Collection of PurchaseItems |
None. |
|
| LedgerAmount | decimal number |
None. |
|
| WalletAmount | decimal number |
None. |
|
| BnplAmount | decimal number |
None. |
|
| omsMFCBusinessId | integer |
None. |
|
| purchaseId | integer |
None. |
|
| AddressCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SfaBusinessId": 1,
"Phone": "sample string 2",
"VatAmount": 3.0,
"TotalAmount": 4.0,
"TotalDiscount": 5.0,
"IsOnlineOrder": 6,
"Flag": 7,
"OrderSource": "sample string 8",
"DeliveryLocation": "sample string 9",
"DeliveryLatitude": "sample string 10",
"DeliveryLongitude": "sample string 11",
"PurchaseItems": [
{
"Skucode": "sample string 1",
"UnitPrice": 2.0,
"Quantity": 3,
"UOM": "sample string 4"
},
{
"Skucode": "sample string 1",
"UnitPrice": 2.0,
"Quantity": 3,
"UOM": "sample string 4"
}
],
"LedgerAmount": 12.0,
"WalletAmount": 13.0,
"BnplAmount": 14.0,
"omsMFCBusinessId": 15,
"purchaseId": 16,
"AddressCode": "sample string 17"
}
application/xml, text/xml
Sample:
<DMSOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Dms">
<AddressCode>sample string 17</AddressCode>
<BnplAmount>14</BnplAmount>
<DeliveryLatitude>sample string 10</DeliveryLatitude>
<DeliveryLocation>sample string 9</DeliveryLocation>
<DeliveryLongitude>sample string 11</DeliveryLongitude>
<Flag>7</Flag>
<IsOnlineOrder>6</IsOnlineOrder>
<LedgerAmount>12</LedgerAmount>
<OrderSource>sample string 8</OrderSource>
<Phone>sample string 2</Phone>
<PurchaseItems>
<PurchaseItems>
<Quantity>3</Quantity>
<Skucode>sample string 1</Skucode>
<UOM>sample string 4</UOM>
<UnitPrice>2</UnitPrice>
</PurchaseItems>
<PurchaseItems>
<Quantity>3</Quantity>
<Skucode>sample string 1</Skucode>
<UOM>sample string 4</UOM>
<UnitPrice>2</UnitPrice>
</PurchaseItems>
</PurchaseItems>
<SfaBusinessId>1</SfaBusinessId>
<TotalAmount>4</TotalAmount>
<TotalDiscount>5</TotalDiscount>
<VatAmount>3</VatAmount>
<WalletAmount>13</WalletAmount>
<omsMFCBusinessId>15</omsMFCBusinessId>
<purchaseId>16</purchaseId>
</DMSOrderModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.