GET api/pmgPrinterType/{id}
Return a single value from the PrinterType table using the primary key as ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The PrinterType Primary Key. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
pmgPrinterTypeDb| Name | Description | Type | Additional information |
|---|---|---|---|
| PrinterTypeID | integer |
None. |
|
| PrinterTypeDescription | string |
Required Max length: 50 |
|
| IsActive | boolean |
None. |
|
| results | Collection of ValidationResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"results": null,
"PrinterTypeID": 1,
"PrinterTypeDescription": "sample string 2",
"IsActive": true
}
application/xml, text/xml
Sample:
<pmgPrinterTypeDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables"> <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" /> <IsActive>true</IsActive> <PrinterTypeDescription>sample string 2</PrinterTypeDescription> <PrinterTypeID>1</PrinterTypeID> </pmgPrinterTypeDb>