GET api/warranty

Returns all Warranties

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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

Warranty Length in days for Labor

integer

None.

Parts

Does Warranty cover Parts?

string

None.

Labor

Does Warranty cover Labor charges?

string

None.

Other

Does Warranty cover Other charges?

string

None.

Inactive

Set to true for Inactive

boolean

None.

PartsWarrantyLength

Warranty Length in days for Parts

integer

None.

OtherWarrantyLength

Warranty Length in days for Other

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
  },
  {
    "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:
<ArrayOfWarranty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
  <Warranty>
    <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>
  <Warranty>
    <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>
</ArrayOfWarranty>