GET api/pmgPrinterType/warehouse/{warehouseID}

Return a list of values from the PrinterType table for the specified warehouseID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
warehouseID

The PrinterType Primary Key.

integer

Required

Body Parameters

None.

Response Information

Resource Description

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