GET api/warranty
Returns all Warranties
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Warranty| Name | Description | Type | Additional 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 |
| Inactive |
Set to true for Inactive |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"WarrantyId": 1,
"WarrantyCode": "sample string 2",
"Description": "sample string 3",
"Inactive": true
},
{
"WarrantyId": 1,
"WarrantyCode": "sample string 2",
"Description": "sample string 3",
"Inactive": true
}
]
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>
<WarrantyCode>sample string 2</WarrantyCode>
<WarrantyId>1</WarrantyId>
</Warranty>
<Warranty>
<Description>sample string 3</Description>
<Inactive>true</Inactive>
<WarrantyCode>sample string 2</WarrantyCode>
<WarrantyId>1</WarrantyId>
</Warranty>
</ArrayOfWarranty>