POST api/hero/localprinters/add

Request Information

URI Parameters

None.

Body Parameters

AdminLocalPrinterViewModel
NameDescriptionTypeAdditional 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": "d77a584c-95c0-4d43-98c2-8557850ad1d1",
  "LastSyncedDate": "2025-06-21T07:12:11.4978064-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:12:11.4978064-04:00</LastSyncedDate>
  <PrinterKey>d77a584c-95c0-4d43-98c2-8557850ad1d1</PrinterKey>
  <PrinterName>sample string 2</PrinterName>
  <Status>PendingApproval</Status>
</AdminLocalPrinterViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.