PUT api/admin/ProductWarranty/{transationId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
transationId

string

Required

Body Parameters

ProductWarrantyPropertiesDto
NameDescriptionTypeAdditional information
WarrantyEndDate

string

None.

Status

Collection of ProductWarrantyStatusDto

None.

Request Formats

application/json, text/json

Sample:
{
  "WarrantyEndDate": "sample string 1",
  "Status": [
    {
      "status": "sample string 1"
    },
    {
      "status": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<ProductWarrantyPropertiesDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AitLuxe.Common.Models.DTOs">
  <Status>
    <ProductWarrantyStatusDto>
      <status>sample string 1</status>
    </ProductWarrantyStatusDto>
    <ProductWarrantyStatusDto>
      <status>sample string 1</status>
    </ProductWarrantyStatusDto>
  </Status>
  <WarrantyEndDate>sample string 1</WarrantyEndDate>
</ProductWarrantyPropertiesDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.