POST api/Store/AddOrderMaster
Request Information
URI Parameters
None.
Body Parameters
OrderMasterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Businessid | integer |
None. |
|
| Vat | integer |
None. |
|
| SubTotalAmount | integer |
None. |
|
| TotalAmount | decimal number |
None. |
|
| TotalDiscount | decimal number |
None. |
|
| UserID | integer |
None. |
|
| Customerid | integer |
None. |
|
| isOfflineOrder | integer |
None. |
|
| OfflineInvoiceCode | string |
None. |
|
| PaymentModeId | integer |
None. |
|
| PaymentOptionTypeName | string |
None. |
|
| PaymentCode | string |
None. |
|
| Flag | integer |
None. |
|
| ShareMode | string |
None. |
|
| OrderLocation | string |
None. |
|
| OrderLatitude | string |
None. |
|
| OrderLongitude | string |
None. |
|
| DueDate | date |
None. |
|
| note | string |
None. |
|
| OrderDateTime | string |
None. |
|
| Mode | string |
None. |
|
| EventID | integer |
None. |
|
| DistributorID | integer |
None. |
|
| IsPerformaInvoice | integer |
None. |
|
| IsOnlineOrder | integer |
None. |
|
| Offlinecustomerid | string |
None. |
|
| IsPayingOnlyWallet | integer |
None. |
|
| OrderIdInput | integer |
None. |
|
| DeliveryAmount | decimal number |
None. |
|
| StateId | integer |
None. |
|
| MeetingID | string |
None. |
|
| OrganizationName | string |
None. |
|
| OrderSource | string |
None. |
|
| DeliveryLocation | string |
None. |
|
| DeliveryLatitude | string |
None. |
|
| DeliveryLongitude | string |
None. |
|
| details | Collection of Storedetails |
None. |
|
| VerifyPrice | integer |
None. |
|
| cityname | string |
None. |
|
| IsCOD | integer |
None. |
|
| PromoPrice | integer |
None. |
|
| CouponCode | string |
None. |
|
| couponDiscount | decimal number |
None. |
|
| WalletDiscount | decimal number |
None. |
|
| ProductDiscount | decimal number |
None. |
|
| isDistributor | integer |
None. |
|
| AssignedAgentID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Businessid": 1,
"Vat": 2,
"SubTotalAmount": 3,
"TotalAmount": 4.0,
"TotalDiscount": 5.0,
"UserID": 6,
"Customerid": 7,
"isOfflineOrder": 8,
"OfflineInvoiceCode": "sample string 9",
"PaymentModeId": 10,
"PaymentOptionTypeName": "sample string 11",
"PaymentCode": "sample string 12",
"Flag": 13,
"ShareMode": "sample string 14",
"OrderLocation": "sample string 15",
"OrderLatitude": "sample string 16",
"OrderLongitude": "sample string 17",
"DueDate": "2026-01-11T22:21:37.1335687+00:00",
"note": "sample string 19",
"OrderDateTime": "sample string 20",
"Mode": "sample string 21",
"EventID": 22,
"DistributorID": 23,
"IsPerformaInvoice": 24,
"IsOnlineOrder": 25,
"Offlinecustomerid": "sample string 26",
"IsPayingOnlyWallet": 27,
"OrderIdInput": 28,
"DeliveryAmount": 29.0,
"StateId": 30,
"MeetingID": "sample string 31",
"OrganizationName": "sample string 32",
"OrderSource": "sample string 33",
"DeliveryLocation": "sample string 34",
"DeliveryLatitude": "sample string 35",
"DeliveryLongitude": "sample string 36",
"details": [
{
"ItemId": 1,
"SkulId": 2,
"Quantity": 3,
"Price": 4.0,
"Discount": 5.0,
"Notes": "sample string 6",
"distributorId": 7,
"itemName": "sample string 8",
"skuCode": "sample string 9",
"promoprice": 10.0
},
{
"ItemId": 1,
"SkulId": 2,
"Quantity": 3,
"Price": 4.0,
"Discount": 5.0,
"Notes": "sample string 6",
"distributorId": 7,
"itemName": "sample string 8",
"skuCode": "sample string 9",
"promoprice": 10.0
}
],
"VerifyPrice": 37,
"cityname": "sample string 38",
"IsCOD": 39,
"PromoPrice": 40,
"CouponCode": "sample string 41",
"couponDiscount": 42.0,
"WalletDiscount": 43.0,
"ProductDiscount": 44.0,
"isDistributor": 45,
"AssignedAgentID": 46
}
application/xml, text/xml
Sample:
<OrderMasterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
<AssignedAgentID>46</AssignedAgentID>
<Businessid>1</Businessid>
<CouponCode>sample string 41</CouponCode>
<Customerid>7</Customerid>
<DeliveryAmount>29</DeliveryAmount>
<DeliveryLatitude>sample string 35</DeliveryLatitude>
<DeliveryLocation>sample string 34</DeliveryLocation>
<DeliveryLongitude>sample string 36</DeliveryLongitude>
<DistributorID>23</DistributorID>
<DueDate>2026-01-11T22:21:37.1335687+00:00</DueDate>
<EventID>22</EventID>
<Flag>13</Flag>
<IsCOD>39</IsCOD>
<IsOnlineOrder>25</IsOnlineOrder>
<IsPayingOnlyWallet>27</IsPayingOnlyWallet>
<IsPerformaInvoice>24</IsPerformaInvoice>
<MeetingID>sample string 31</MeetingID>
<Mode>sample string 21</Mode>
<OfflineInvoiceCode>sample string 9</OfflineInvoiceCode>
<Offlinecustomerid>sample string 26</Offlinecustomerid>
<OrderDateTime>sample string 20</OrderDateTime>
<OrderIdInput>28</OrderIdInput>
<OrderLatitude>sample string 16</OrderLatitude>
<OrderLocation>sample string 15</OrderLocation>
<OrderLongitude>sample string 17</OrderLongitude>
<OrderSource>sample string 33</OrderSource>
<OrganizationName>sample string 32</OrganizationName>
<PaymentCode>sample string 12</PaymentCode>
<PaymentModeId>10</PaymentModeId>
<PaymentOptionTypeName>sample string 11</PaymentOptionTypeName>
<ProductDiscount>44</ProductDiscount>
<PromoPrice>40</PromoPrice>
<ShareMode>sample string 14</ShareMode>
<StateId>30</StateId>
<SubTotalAmount>3</SubTotalAmount>
<TotalAmount>4</TotalAmount>
<TotalDiscount>5</TotalDiscount>
<UserID>6</UserID>
<Vat>2</Vat>
<VerifyPrice>37</VerifyPrice>
<WalletDiscount>43</WalletDiscount>
<cityname>sample string 38</cityname>
<couponDiscount>42</couponDiscount>
<details>
<Storedetails>
<Discount>5</Discount>
<ItemId>1</ItemId>
<Notes>sample string 6</Notes>
<Price>4</Price>
<Quantity>3</Quantity>
<SkulId>2</SkulId>
<distributorId>7</distributorId>
<itemName>sample string 8</itemName>
<promoprice>10</promoprice>
<skuCode>sample string 9</skuCode>
</Storedetails>
<Storedetails>
<Discount>5</Discount>
<ItemId>1</ItemId>
<Notes>sample string 6</Notes>
<Price>4</Price>
<Quantity>3</Quantity>
<SkulId>2</SkulId>
<distributorId>7</distributorId>
<itemName>sample string 8</itemName>
<promoprice>10</promoprice>
<skuCode>sample string 9</skuCode>
</Storedetails>
</details>
<isDistributor>45</isDistributor>
<isOfflineOrder>8</isOfflineOrder>
<note>sample string 19</note>
</OrderMasterModel>
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.