POST api/Order/AddOrder

Request Information

URI Parameters

None.

Body Parameters

Orders
NameDescriptionTypeAdditional information
ID

integer

None.

WarehouseID

integer

None.

OrderID

integer

None.

SessionTag

string

None.

ItemID

decimal number

None.

Qty

integer

None.

Rate

decimal number

None.

Total

decimal number

None.

Shipping

decimal number

None.

Discount

decimal number

None.

GrossTotal

decimal number

None.

CustomerID

integer

None.

PaymentMethodID

integer

None.

Status

string

None.

Remarks

string

None.

DeliveryDate

string

None.

DiscountCoupon

string

None.

Name

string

None.

PhoneNo

string

None.

Country

string

None.

CityID

integer

None.

Address

string

None.

Active

integer

None.

IsDeleted

integer

None.

CreatedBy

integer

None.

CreatedOn

string

None.

ModifiedBy

integer

None.

ModifiedOn

string

None.

Msg

string

None.

objOrder

Orders

None.

objOrderShipping

Orders

None.

objOrderDetailsList

Collection of Orders

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'objOrder' with type 'wRetailBL.Orders'. Path ''.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'objOrder' with type 'wRetailBL.Orders'. Path ''.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'wRetailBL.Orders' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'wRetailBL.Orders' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>