POST Order/DeleteFromCart
Request Information
URI Parameters
None.
Body Parameters
OrderModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ProductId | globally unique identifier |
None. |
|
UserId | globally unique identifier |
None. |
|
ProductQty | integer |
None. |
|
totalPrice | decimal number |
None. |
|
Products | Collection of Productload |
None. |
|
PaymentMode | integer |
None. |
|
PlacedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "d6167646-50e5-4088-9f0b-bb136fdfc7ea", "ProductId": "d20aec06-8b9f-49ef-b8b9-e6bd7fa9e850", "UserId": "22e97f65-c0e8-4ac5-81de-c91085dc24ab", "ProductQty": 4, "totalPrice": 5.1, "Products": [ { "Id": "f2ecc305-720b-43a5-a850-a91ef5ebf229", "ProductId": "a2f721bd-3709-4ffe-bbf8-3f6d27eb683f", "ProductQty": 3, "totalPrice": 4.1, "PaymentMode": 5, "PlacedOn": "2024-12-23T03:55:27.8263922+05:30" }, { "Id": "f2ecc305-720b-43a5-a850-a91ef5ebf229", "ProductId": "a2f721bd-3709-4ffe-bbf8-3f6d27eb683f", "ProductQty": 3, "totalPrice": 4.1, "PaymentMode": 5, "PlacedOn": "2024-12-23T03:55:27.8263922+05:30" } ], "PaymentMode": 6, "PlacedOn": "2024-12-23T03:55:27.8263922+05:30" }
application/xml, text/xml
Sample:
<OrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models"> <Id>d6167646-50e5-4088-9f0b-bb136fdfc7ea</Id> <PaymentMode>6</PaymentMode> <PlacedOn>2024-12-23T03:55:27.8263922+05:30</PlacedOn> <ProductId>d20aec06-8b9f-49ef-b8b9-e6bd7fa9e850</ProductId> <ProductQty>4</ProductQty> <Products> <Productload> <Id>f2ecc305-720b-43a5-a850-a91ef5ebf229</Id> <PaymentMode>5</PaymentMode> <PlacedOn>2024-12-23T03:55:27.8263922+05:30</PlacedOn> <ProductId>a2f721bd-3709-4ffe-bbf8-3f6d27eb683f</ProductId> <ProductQty>3</ProductQty> <totalPrice>4.1</totalPrice> </Productload> <Productload> <Id>f2ecc305-720b-43a5-a850-a91ef5ebf229</Id> <PaymentMode>5</PaymentMode> <PlacedOn>2024-12-23T03:55:27.8263922+05:30</PlacedOn> <ProductId>a2f721bd-3709-4ffe-bbf8-3f6d27eb683f</ProductId> <ProductQty>3</ProductQty> <totalPrice>4.1</totalPrice> </Productload> </Products> <UserId>22e97f65-c0e8-4ac5-81de-c91085dc24ab</UserId> <totalPrice>5.1</totalPrice> </OrderModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.