GET api/warranty/{id}

Returns the specified Warranty

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Warranty
NameDescriptionTypeAdditional information
WarrantyId

Sedona internal autonumber for Warranty

integer

None.

WarrantyCode

Abbreviated Warranty

string

String length: inclusive between 0 and 25

Description

Full description of Warranty

string

String length: inclusive between 0 and 50

LaborWarrantyLength

integer

None.

Parts

string

None.

Labor

string

None.

Other

string

None.

Inactive

Set to true for Inactive

boolean

None.

PartsWarrantyLength

integer

None.

OtherWarrantyLength

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "WarrantyId": 1,
  "WarrantyCode": "sample string 2",
  "Description": "sample string 3",
  "LaborWarrantyLength": 1,
  "Parts": "sample string 4",
  "Labor": "sample string 5",
  "Other": "sample string 6",
  "Inactive": true,
  "PartsWarrantyLength": 1,
  "OtherWarrantyLength": 1
}

application/xml, text/xml

Sample:
<Warranty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
  <Description>sample string 3</Description>
  <Inactive>true</Inactive>
  <Labor>sample string 5</Labor>
  <LaborWarrantyLength>1</LaborWarrantyLength>
  <Other>sample string 6</Other>
  <OtherWarrantyLength>1</OtherWarrantyLength>
  <Parts>sample string 4</Parts>
  <PartsWarrantyLength>1</PartsWarrantyLength>
  <WarrantyCode>sample string 2</WarrantyCode>
  <WarrantyId>1</WarrantyId>
</Warranty>