POST api/CartDetail/PosttblBuyNow
Request Information
URI Parameters
None.
Body Parameters
CartDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| CartID | integer |
None. |
|
| CustomerId | integer |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDateTime | date |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDateTime | date |
None. |
|
| OrderGrandTotal | decimal number |
None. |
|
| Status | string |
None. |
|
| SavedMoney | integer |
None. |
|
| CartDetailId | integer |
None. |
|
| ProductId | integer |
None. |
|
| ProductRate | decimal number |
None. |
|
| OrderQuantity | integer |
None. |
|
| TotalPrice | decimal number |
None. |
|
| IsActive | boolean |
None. |
|
| IsSaveForLater | boolean |
None. |
|
| ProductColorId | integer |
None. |
|
| ProductSizeId | integer |
None. |
|
| DiscountedPrice | integer |
None. |
|
| DiscountPercent | integer |
None. |
|
| OrderDate | string |
None. |
|
| ShippingDate | string |
None. |
|
| DeliveryDate | string |
None. |
|
| ColorId | integer |
None. |
|
| SizeId | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| ProductName | string |
None. |
|
| ProductDesc | string |
None. |
|
| Color | string |
None. |
|
| Size | integer |
None. |
|
| Image | Collection of byte |
None. |
|
| ImagePath | string |
None. |
|
| ImageFileName | string |
None. |
|
| Rating | decimal number |
None. |
|
| Review | string |
None. |
|
| Total | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"CartID": 1,
"CustomerId": 1,
"UpdatedBy": 1,
"UpdatedDateTime": "2025-12-15T05:49:52.3679204+05:30",
"CreatedBy": 1,
"CreatedDateTime": "2025-12-15T05:49:52.3679204+05:30",
"OrderGrandTotal": 1.0,
"Status": "sample string 2",
"SavedMoney": 1,
"CartDetailId": 3,
"ProductId": 1,
"ProductRate": 1.0,
"OrderQuantity": 1,
"TotalPrice": 1.0,
"IsActive": true,
"IsSaveForLater": true,
"ProductColorId": 1,
"ProductSizeId": 1,
"DiscountedPrice": 1,
"DiscountPercent": 1,
"OrderDate": "sample string 4",
"ShippingDate": "sample string 5",
"DeliveryDate": "sample string 6",
"ColorId": 1,
"SizeId": 1,
"FirstName": "sample string 7",
"LastName": "sample string 8",
"ProductName": "sample string 9",
"ProductDesc": "sample string 10",
"Color": "sample string 11",
"Size": 1,
"Image": "QEA=",
"ImagePath": "sample string 12",
"ImageFileName": "sample string 13",
"Rating": 1.0,
"Review": "sample string 14",
"Total": 1.0
}
application/xml, text/xml
Sample:
<CartDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLogic.Models.CustomClasses"> <CartDetailId>3</CartDetailId> <CartID>1</CartID> <Color>sample string 11</Color> <ColorId>1</ColorId> <CreatedBy>1</CreatedBy> <CreatedDateTime>2025-12-15T05:49:52.3679204+05:30</CreatedDateTime> <CustomerId>1</CustomerId> <DeliveryDate>sample string 6</DeliveryDate> <DiscountPercent>1</DiscountPercent> <DiscountedPrice>1</DiscountedPrice> <FirstName>sample string 7</FirstName> <Image>QEA=</Image> <ImageFileName>sample string 13</ImageFileName> <ImagePath>sample string 12</ImagePath> <IsActive>true</IsActive> <IsSaveForLater>true</IsSaveForLater> <LastName>sample string 8</LastName> <OrderDate>sample string 4</OrderDate> <OrderGrandTotal>1</OrderGrandTotal> <OrderQuantity>1</OrderQuantity> <ProductColorId>1</ProductColorId> <ProductDesc>sample string 10</ProductDesc> <ProductId>1</ProductId> <ProductName>sample string 9</ProductName> <ProductRate>1</ProductRate> <ProductSizeId>1</ProductSizeId> <Rating>1</Rating> <Review>sample string 14</Review> <SavedMoney>1</SavedMoney> <ShippingDate>sample string 5</ShippingDate> <Size>1</Size> <SizeId>1</SizeId> <Status>sample string 2</Status> <Total>1</Total> <TotalPrice>1</TotalPrice> <UpdatedBy>1</UpdatedBy> <UpdatedDateTime>2025-12-15T05:49:52.3679204+05:30</UpdatedDateTime> </CartDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |