GET api/hero/localprinters/get?printerName={printerName}&printerKey={printerKey}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
printerName | string |
Required |
|
printerKey | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
AdminLocalPrinterViewModelName | Description | Type | Additional information |
---|---|---|---|
IdAdminLocalPrinter | integer |
None. |
|
PrinterName | string |
Required Max length: 20 |
|
PrinterKey | globally unique identifier |
Required |
|
LastSyncedDate | date |
Required |
|
Status | AdminLocalPrinterStatusType |
Required |
|
FkGalvanizer | integer |
None. |
|
GalvanizerName | string |
None. |
|
Active | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "IdAdminLocalPrinter": 1, "PrinterName": "sample string 2", "PrinterKey": "a9cb7943-de0c-40be-9680-7929e3dbeed6", "LastSyncedDate": "2025-06-21T07:20:07.6765674-04:00", "Status": 0, "FkGalvanizer": 1, "GalvanizerName": "sample string 5", "Active": true }
application/xml, text/xml
Sample:
<AdminLocalPrinterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Operations.Content.Application.LocalPrinter.ViewModels"> <Active>true</Active> <FkGalvanizer>1</FkGalvanizer> <GalvanizerName>sample string 5</GalvanizerName> <IdAdminLocalPrinter>1</IdAdminLocalPrinter> <LastSyncedDate>2025-06-21T07:20:07.6765674-04:00</LastSyncedDate> <PrinterKey>a9cb7943-de0c-40be-9680-7929e3dbeed6</PrinterKey> <PrinterName>sample string 2</PrinterName> <Status>PendingApproval</Status> </AdminLocalPrinterViewModel>