POST api/Order/PlaceOrder

Request Information

URI Parameters

None.

Body Parameters

clsOrderDAL
NameDescriptionTypeAdditional information
OrderId

globally unique identifier

None.

OrderNo

string

None.

ProductName

string

None.

Unit

string

None.

UnitType

string

None.

Rate

decimal number

None.

RegistrationId

globally unique identifier

None.

ContactNo

string

None.

Date

date

None.

Time

string

None.

Longitude

string

None.

Latitude

string

None.

Status

string

None.

DeliveryAddress

string

None.

Quantity

integer

None.

MonthlyPackage

string

None.

RateBeforeDiscount

decimal number

None.

ProductSubtitle

string

None.

EstimatedDeliveryTime

string

None.

EstimatedDeliveryDate

date

None.

DeliveryRegistrationId

globally unique identifier

None.

IsVoucher

boolean

None.

VoucherId

globally unique identifier

None.

ExchangeAmt

decimal number

None.

CouponDiscountAmt

decimal number

None.

NoOfBatteries

integer

None.

Weight

decimal number

None.

CouponName

string

None.

FinalOrderPrice

decimal number

None.

OrderSubTotal

decimal number

None.

DeliveryCharges

decimal number

None.

CGSTPercent

decimal number

None.

CGSTAmount

decimal number

None.

SGSTPercent

decimal number

None.

SGSTAmount

decimal number

None.

IGSTPercent

decimal number

None.

IGSTAmount

decimal number

None.

ProductPackageId

globally unique identifier

None.

CartNo

integer

None.

DealerRegistrationId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "orderId": "f4e9f5e4-6b9c-4ed9-8e00-aed5ae6034c1",
  "orderNo": "sample string 2",
  "productName": "sample string 3",
  "unit": "sample string 4",
  "unitType": "sample string 5",
  "rate": 6.0,
  "registrationId": "060ea797-e349-4768-b776-5d1a0eaa03db",
  "contactNo": "sample string 8",
  "date": "2026-06-10T16:22:31.8132263+05:30",
  "time": "sample string 10",
  "longitude": "sample string 11",
  "latitude": "sample string 12",
  "status": "sample string 13",
  "deliveryAddress": "sample string 14",
  "quantity": 15,
  "monthlyPackage": "sample string 16",
  "rateBeforeDiscount": 17.0,
  "productSubtitle": "sample string 18",
  "estimatedDeliveryTime": "sample string 19",
  "estimatedDeliveryDate": "2026-06-10T16:22:31.8132263+05:30",
  "deliveryRegistrationId": "f38e3bb5-9aa9-4041-85db-e1a40eea8ad3",
  "isVoucher": true,
  "voucherId": "bce56883-4119-4c34-b788-3ebc393f1397",
  "exchangeAmt": 24.0,
  "couponDiscountAmt": 25.0,
  "noOfBatteries": 26,
  "weight": 27.0,
  "couponName": "sample string 28",
  "finalOrderPrice": 29.0,
  "orderSubTotal": 30.0,
  "deliveryCharges": 31.0,
  "cgstPercent": 32.0,
  "cgstAmount": 33.0,
  "sgstPercent": 34.0,
  "sgstAmount": 35.0,
  "igstPercent": 36.0,
  "igstAmount": 37.0,
  "productPackageId": "0b37c8c6-1ba0-4714-82bb-3ba4aee8d9bc",
  "cartNo": 39,
  "dealerRegistrationId": "8f229bbc-fbd9-434e-aba6-ed230f6c541e"
}

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 'clsOrderDAL'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.