POST api/Store/AddOrderMaster

Request Information

URI Parameters

None.

Body Parameters

OrderMasterModel
NameDescriptionTypeAdditional information
Businessid

integer

None.

Vat

decimal number

None.

SubTotalAmount

decimal number

None.

TotalAmount

decimal number

None.

TotalDiscount

decimal number

None.

UserID

integer

None.

Customerid

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

decimal number

None.

CouponCode

string

None.

couponDiscount

decimal number

None.

WalletDiscount

decimal number

None.

ProductDiscount

decimal number

None.

omniPointsAmount

decimal number

None.

PrimaryMasterOrderId

integer

None.

OrderPaymentType

integer

None.

CouponId

integer

None.

ParentDuplicateOrderId

integer

None.

IsPotentialFake

integer

None.

serviceFee

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Businessid": 1,
  "Vat": 2.0,
  "SubTotalAmount": 3.0,
  "TotalAmount": 4.0,
  "TotalDiscount": 5.0,
  "UserID": 6,
  "Customerid": 7,
  "CustomerId": 8,
  "isOfflineOrder": 9,
  "OfflineInvoiceCode": "sample string 10",
  "PaymentModeId": 11,
  "PaymentOptionTypeName": "sample string 12",
  "PaymentCode": "sample string 13",
  "Flag": 14,
  "ShareMode": "sample string 15",
  "OrderLocation": "sample string 16",
  "OrderLatitude": "sample string 17",
  "OrderLongitude": "sample string 18",
  "DueDate": "2024-09-19T18:27:29.6355356+01:00",
  "note": "sample string 20",
  "OrderDateTime": "sample string 21",
  "Mode": "sample string 22",
  "EventID": 23,
  "DistributorID": 24,
  "IsPerformaInvoice": 25,
  "IsOnlineOrder": 26,
  "Offlinecustomerid": "sample string 27",
  "IsPayingOnlyWallet": 28,
  "OrderIdInput": 29,
  "DeliveryAmount": 30.0,
  "StateId": 31,
  "MeetingID": "sample string 32",
  "OrganizationName": "sample string 33",
  "OrderSource": "sample string 34",
  "DeliveryLocation": "sample string 35",
  "DeliveryLatitude": "sample string 36",
  "DeliveryLongitude": "sample string 37",
  "details": [
    {
      "ItemId": 1,
      "SkulId": 2,
      "Quantity": 3,
      "Price": 4.1,
      "Discount": 5.1,
      "Notes": "sample string 6",
      "distributorId": 7,
      "itemName": "sample string 8",
      "skuCode": "sample string 9",
      "promoprice": 10.1,
      "stockPointId": 11,
      "stockpointSellingPrice": 12.0,
      "BundleSkuId": 13
    },
    {
      "ItemId": 1,
      "SkulId": 2,
      "Quantity": 3,
      "Price": 4.1,
      "Discount": 5.1,
      "Notes": "sample string 6",
      "distributorId": 7,
      "itemName": "sample string 8",
      "skuCode": "sample string 9",
      "promoprice": 10.1,
      "stockPointId": 11,
      "stockpointSellingPrice": 12.0,
      "BundleSkuId": 13
    }
  ],
  "VerifyPrice": 38,
  "cityname": "sample string 39",
  "IsCOD": 40,
  "PromoPrice": 41.0,
  "CouponCode": "sample string 42",
  "couponDiscount": 43.0,
  "WalletDiscount": 44.0,
  "ProductDiscount": 45.0,
  "omniPointsAmount": 46.0,
  "PrimaryMasterOrderId": 47,
  "OrderPaymentType": 48,
  "CouponId": 49,
  "ParentDuplicateOrderId": 50,
  "IsPotentialFake": 51,
  "serviceFee": 52.0
}

application/xml, text/xml

Sample:
<OrderMasterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <Businessid>1</Businessid>
  <CouponCode>sample string 42</CouponCode>
  <CouponId>49</CouponId>
  <CustomerId>8</CustomerId>
  <Customerid>7</Customerid>
  <DeliveryAmount>30</DeliveryAmount>
  <DeliveryLatitude>sample string 36</DeliveryLatitude>
  <DeliveryLocation>sample string 35</DeliveryLocation>
  <DeliveryLongitude>sample string 37</DeliveryLongitude>
  <DistributorID>24</DistributorID>
  <DueDate>2024-09-19T18:27:29.6355356+01:00</DueDate>
  <EventID>23</EventID>
  <Flag>14</Flag>
  <IsCOD>40</IsCOD>
  <IsOnlineOrder>26</IsOnlineOrder>
  <IsPayingOnlyWallet>28</IsPayingOnlyWallet>
  <IsPerformaInvoice>25</IsPerformaInvoice>
  <IsPotentialFake>51</IsPotentialFake>
  <MeetingID>sample string 32</MeetingID>
  <Mode>sample string 22</Mode>
  <OfflineInvoiceCode>sample string 10</OfflineInvoiceCode>
  <Offlinecustomerid>sample string 27</Offlinecustomerid>
  <OrderDateTime>sample string 21</OrderDateTime>
  <OrderIdInput>29</OrderIdInput>
  <OrderLatitude>sample string 17</OrderLatitude>
  <OrderLocation>sample string 16</OrderLocation>
  <OrderLongitude>sample string 18</OrderLongitude>
  <OrderPaymentType>48</OrderPaymentType>
  <OrderSource>sample string 34</OrderSource>
  <OrganizationName>sample string 33</OrganizationName>
  <ParentDuplicateOrderId>50</ParentDuplicateOrderId>
  <PaymentCode>sample string 13</PaymentCode>
  <PaymentModeId>11</PaymentModeId>
  <PaymentOptionTypeName>sample string 12</PaymentOptionTypeName>
  <PrimaryMasterOrderId>47</PrimaryMasterOrderId>
  <ProductDiscount>45</ProductDiscount>
  <PromoPrice>41</PromoPrice>
  <ShareMode>sample string 15</ShareMode>
  <StateId>31</StateId>
  <SubTotalAmount>3</SubTotalAmount>
  <TotalAmount>4</TotalAmount>
  <TotalDiscount>5</TotalDiscount>
  <UserID>6</UserID>
  <Vat>2</Vat>
  <VerifyPrice>38</VerifyPrice>
  <WalletDiscount>44</WalletDiscount>
  <cityname>sample string 39</cityname>
  <couponDiscount>43</couponDiscount>
  <details>
    <Storedetails>
      <BundleSkuId>13</BundleSkuId>
      <Discount>5.1</Discount>
      <ItemId>1</ItemId>
      <Notes>sample string 6</Notes>
      <Price>4.1</Price>
      <Quantity>3</Quantity>
      <SkulId>2</SkulId>
      <distributorId>7</distributorId>
      <itemName>sample string 8</itemName>
      <promoprice>10.1</promoprice>
      <skuCode>sample string 9</skuCode>
      <stockPointId>11</stockPointId>
      <stockpointSellingPrice>12</stockpointSellingPrice>
    </Storedetails>
    <Storedetails>
      <BundleSkuId>13</BundleSkuId>
      <Discount>5.1</Discount>
      <ItemId>1</ItemId>
      <Notes>sample string 6</Notes>
      <Price>4.1</Price>
      <Quantity>3</Quantity>
      <SkulId>2</SkulId>
      <distributorId>7</distributorId>
      <itemName>sample string 8</itemName>
      <promoprice>10.1</promoprice>
      <skuCode>sample string 9</skuCode>
      <stockPointId>11</stockPointId>
      <stockpointSellingPrice>12</stockpointSellingPrice>
    </Storedetails>
  </details>
  <isOfflineOrder>9</isOfflineOrder>
  <note>sample string 20</note>
  <omniPointsAmount>46</omniPointsAmount>
  <serviceFee>52</serviceFee>
</OrderMasterModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrderMasterModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.