POST utility/warranty

Call to verify warranty qualification

Request Information

URI Parameters

None.

Body Parameters

Warranty
NameDescriptionTypeAdditional information
test

boolean

None.

product

OwnedProduct

None.

Request Formats

application/json, text/json

Sample:
{
  "test": true,
  "product": {
    "ModelNumber": "sample string 1",
    "SerialNumber": "sample string 2",
    "PurchaseDate": "2018-12-16T00:00:00-06:00",
    "EquipmentType": "sample string 4",
    "ManufactureType": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<Warranty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/External_Services.Models.DAO">
  <product>
    <EquipmentType>sample string 4</EquipmentType>
    <ManufactureType>sample string 5</ManufactureType>
    <ModelNumber>sample string 1</ModelNumber>
    <PurchaseDate>2018-12-16T00:00:00-06:00</PurchaseDate>
    <SerialNumber>sample string 2</SerialNumber>
  </product>
  <test>true</test>
</Warranty>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Return codes 1 - Qualifies, 2- Does not qualify, 3 - Invlaid model and serial, 4- not registered

SubscriberResponse
NameDescriptionTypeAdditional information
ReturnCode

Code return from each web api call

integer

None.

Message

Message sent back for success

string

None.

Success

Call succeeded

boolean

None.

warrantyCode

Returns a warranty type code - 0 if nothing, 1 - extended

integer

None.

partNum

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ReturnCode": 1,
  "Message": "sample string 2",
  "Success": true,
  "warrantyCode": 4,
  "partNum": "sample string 5"
}

application/xml, text/xml

Sample:
<SubscriberResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/External_Services.Models.DAO">
  <Message>sample string 2</Message>
  <ReturnCode>1</ReturnCode>
  <Success>true</Success>
  <partNum>sample string 5</partNum>
  <warrantyCode>4</warrantyCode>
</SubscriberResponse>