POST api/MFoodz/CustomerOrderingMFoodz

Request Information

URI Parameters

None.

Body Parameters

COMFoodzParams
NameDescriptionTypeAdditional information
CustId

integer

None.

ShopId

integer

None.

OrderDetailJson

string

None.

PaymentTypeId

integer

None.

CardId

integer

None.

TotalBill

decimal number

None.

GST

decimal number

None.

DeliveryFee

decimal number

None.

PickupLat

string

None.

PickupLong

string

None.

DropoffLat

string

None.

DropoffLong

string

None.

PickupAddr

string

None.

DropoffAddr

string

None.

Tip

decimal number

None.

WebFlag

integer

None.

CouponId

integer

None.

CouponAmount

decimal number

None.

CalculatedGST

string

None.

AddNote

string

None.

Wallet

integer

None.

WalletDeduction

decimal number

None.

PhoneNumber

string

None.

DeliveryType

integer

None.

OrderFlag

integer

None.

InstructionsTypeID

integer

None.

OrderInstructionsJson

string

None.

IsVoucher

integer

None.

WalletDeductionPoints

decimal number

None.

OrderDetailsNew

string

None.

CountryCode

integer

None.

Alcohol

integer

None.

ScheduleDate

date

None.

BillArray

string

None.

FeeArray

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustId": 1,
  "ShopId": 1,
  "OrderDetailJson": "sample string 1",
  "PaymentTypeId": 1,
  "CardId": 1,
  "TotalBill": 1.0,
  "GST": 1.0,
  "DeliveryFee": 1.0,
  "PickupLat": "sample string 2",
  "PickupLong": "sample string 3",
  "DropoffLat": "sample string 4",
  "DropoffLong": "sample string 5",
  "PickupAddr": "sample string 6",
  "DropoffAddr": "sample string 7",
  "Tip": 1.0,
  "WebFlag": 1,
  "CouponId": 8,
  "CouponAmount": 9.0,
  "CalculatedGST": "sample string 10",
  "AddNote": "sample string 11",
  "Wallet": 1,
  "WalletDeduction": 1.0,
  "PhoneNumber": "sample string 12",
  "DeliveryType": 1,
  "OrderFlag": 1,
  "InstructionsTypeID": 1,
  "OrderInstructionsJson": "sample string 13",
  "IsVoucher": 1,
  "WalletDeductionPoints": 1.0,
  "OrderDetailsNew": "sample string 14",
  "CountryCode": 1,
  "Alcohol": 1,
  "ScheduleDate": "2025-12-05T23:48:34.3793096-05:00",
  "BillArray": "sample string 15",
  "FeeArray": "sample string 16"
}

application/xml, text/xml

Sample:
<COMFoodzParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRide_API">
  <AddNote>sample string 11</AddNote>
  <Alcohol>1</Alcohol>
  <BillArray>sample string 15</BillArray>
  <CalculatedGST>sample string 10</CalculatedGST>
  <CardId>1</CardId>
  <CountryCode>1</CountryCode>
  <CouponAmount>9</CouponAmount>
  <CouponId>8</CouponId>
  <CustId>1</CustId>
  <DeliveryFee>1</DeliveryFee>
  <DeliveryType>1</DeliveryType>
  <DropoffAddr>sample string 7</DropoffAddr>
  <DropoffLat>sample string 4</DropoffLat>
  <DropoffLong>sample string 5</DropoffLong>
  <FeeArray>sample string 16</FeeArray>
  <GST>1</GST>
  <InstructionsTypeID>1</InstructionsTypeID>
  <IsVoucher>1</IsVoucher>
  <OrderDetailJson>sample string 1</OrderDetailJson>
  <OrderDetailsNew>sample string 14</OrderDetailsNew>
  <OrderFlag>1</OrderFlag>
  <OrderInstructionsJson>sample string 13</OrderInstructionsJson>
  <PaymentTypeId>1</PaymentTypeId>
  <PhoneNumber>sample string 12</PhoneNumber>
  <PickupAddr>sample string 6</PickupAddr>
  <PickupLat>sample string 2</PickupLat>
  <PickupLong>sample string 3</PickupLong>
  <ScheduleDate>2025-12-05T23:48:34.3793096-05:00</ScheduleDate>
  <ShopId>1</ShopId>
  <Tip>1</Tip>
  <TotalBill>1</TotalBill>
  <Wallet>1</Wallet>
  <WalletDeduction>1</WalletDeduction>
  <WalletDeductionPoints>1</WalletDeductionPoints>
  <WebFlag>1</WebFlag>
</COMFoodzParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IAsyncResult
NameDescriptionTypeAdditional information
IsCompleted

boolean

None.

AsyncWaitHandle

WaitHandle

None.

AsyncState

Object

None.

CompletedSynchronously

boolean

None.

Response Formats

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

Sample:

Sample not available.