POST api/admin/ProductWarranty/{serialNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serialNumber

string

Required

Body Parameters

ProductWarrantyChopardDto
NameDescriptionTypeAdditional information
TransationID

string

None.

ProductSku

string

None.

WarrantyEndDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TransationID": "sample string 1",
  "ProductSku": "sample string 2",
  "WarrantyEndDate": "sample string 3"
}

application/xml, text/xml

Sample:
<ProductWarrantyChopardDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AitLuxe.Common.Models.DTOs">
  <ProductSku>sample string 2</ProductSku>
  <TransationID>sample string 1</TransationID>
  <WarrantyEndDate>sample string 3</WarrantyEndDate>
</ProductWarrantyChopardDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.