GET api/pmgPrinterType
Get all values from the PrinterType table
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of 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
},
{
"results": null,
"PrinterTypeID": 1,
"PrinterTypeDescription": "sample string 2",
"IsActive": true
}
]
application/xml, text/xml
Sample:
<ArrayOfpmgPrinterTypeDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
<pmgPrinterTypeDb>
<results xmlns:d3p1="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>
<pmgPrinterTypeDb>
<results xmlns:d3p1="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>
</ArrayOfpmgPrinterTypeDb>