GET api/warranty/{id}
Returns the specified Warranty
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
WarrantyName | 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 }
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> <WarrantyCode>sample string 2</WarrantyCode> <WarrantyId>1</WarrantyId> </Warranty>