POST api/cart/updatewarranty
Request Information
URI Parameters
None.
Body Parameters
UpdateExtendedWarrantyModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | integer |
None. |
|
| OrderId | integer |
None. |
|
| OrderDetailsId | integer |
None. |
|
| IsExtendedWarranty | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductId": 1,
"OrderId": 2,
"OrderDetailsId": 3,
"IsExtendedWarranty": true
}
application/xml, text/xml
Sample:
<UpdateExtendedWarrantyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.ApplicanProgramInterface.Models"> <IsExtendedWarranty>true</IsExtendedWarranty> <OrderDetailsId>3</OrderDetailsId> <OrderId>2</OrderId> <ProductId>1</ProductId> </UpdateExtendedWarrantyModel>
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.