POST api/hero/localprinters/add
Request Information
URI Parameters
None.
Body Parameters
AdminLocalPrinterViewModel| Name | 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. |
Request Formats
application/json, text/json
Sample:
{
"IdAdminLocalPrinter": 1,
"PrinterName": "sample string 2",
"PrinterKey": "ca37a560-51c1-4c5c-91ee-ee8c952d73ce",
"LastSyncedDate": "2025-11-06T19:16:51.9635724-05: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-11-06T19:16:51.9635724-05:00</LastSyncedDate> <PrinterKey>ca37a560-51c1-4c5c-91ee-ee8c952d73ce</PrinterKey> <PrinterName>sample string 2</PrinterName> <Status>PendingApproval</Status> </AdminLocalPrinterViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.