POST api/Store/AddOrderMaster

Request Information

URI Parameters

None.

Body Parameters

OrderMasterModel
NameDescriptionTypeAdditional information
Businessid

integer

None.

Vat

integer

None.

SubTotalAmount

integer

None.

TotalAmount

integer

None.

TotalDiscount

integer

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

integer

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.

Request Formats

application/json, text/json

Sample:
{
  "Businessid": 1,
  "Vat": 2,
  "SubTotalAmount": 3,
  "TotalAmount": 4,
  "TotalDiscount": 5,
  "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": "2020-08-20T22:38:42.5189446+01: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,
  "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,
      "Discount": 5,
      "Notes": "sample string 6",
      "distributorId": 7
    },
    {
      "ItemId": 1,
      "SkulId": 2,
      "Quantity": 3,
      "Price": 4,
      "Discount": 5,
      "Notes": "sample string 6",
      "distributorId": 7
    }
  ],
  "VerifyPrice": 37,
  "cityname": "sample string 38"
}

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>
  <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>2020-08-20T22:38:42.5189446+01:00</DueDate>
  <EventID>22</EventID>
  <Flag>13</Flag>
  <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>
  <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>
  <cityname>sample string 38</cityname>
  <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>
    </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>
    </Storedetails>
  </details>
  <isOfflineOrder>8</isOfflineOrder>
  <note>sample string 19</note>
</OrderMasterModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.