GET api/hero/printers/active
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CablePrinterViewModelName | Description | Type | Additional information |
---|---|---|---|
IdCablePrinter | integer |
None. |
|
Description | string |
Required Max length: 100 |
|
PrinterName | string |
Required Max length: 100 |
|
Ip | string |
Required Max length: 100 |
|
Port | integer |
Required Range: inclusive between 1 and 9999 |
|
DefaultScrapCloseBox | boolean |
None. |
|
DefaultCustomLrbLabel | boolean |
None. |
|
Comments | string |
Max length: 600 |
|
Active | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "IdCablePrinter": 1, "Description": "sample string 2", "PrinterName": "sample string 3", "Ip": "sample string 4", "Port": 5, "DefaultScrapCloseBox": true, "DefaultCustomLrbLabel": true, "Comments": "sample string 8", "Active": true }, { "IdCablePrinter": 1, "Description": "sample string 2", "PrinterName": "sample string 3", "Ip": "sample string 4", "Port": 5, "DefaultScrapCloseBox": true, "DefaultCustomLrbLabel": true, "Comments": "sample string 8", "Active": true } ]
application/xml, text/xml
Sample:
<ArrayOfCablePrinterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Operations.Hero.Gulf.Application.Admin.Printers.ViewModels"> <CablePrinterViewModel> <Active>true</Active> <Comments>sample string 8</Comments> <DefaultCustomLrbLabel>true</DefaultCustomLrbLabel> <DefaultScrapCloseBox>true</DefaultScrapCloseBox> <Description>sample string 2</Description> <IdCablePrinter>1</IdCablePrinter> <Ip>sample string 4</Ip> <Port>5</Port> <PrinterName>sample string 3</PrinterName> </CablePrinterViewModel> <CablePrinterViewModel> <Active>true</Active> <Comments>sample string 8</Comments> <DefaultCustomLrbLabel>true</DefaultCustomLrbLabel> <DefaultScrapCloseBox>true</DefaultScrapCloseBox> <Description>sample string 2</Description> <IdCablePrinter>1</IdCablePrinter> <Ip>sample string 4</Ip> <Port>5</Port> <PrinterName>sample string 3</PrinterName> </CablePrinterViewModel> </ArrayOfCablePrinterViewModel>