DELETE api/pmgPrinterType/{id}

Delete a single record from the PrinterType table.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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
}

application/xml, text/xml

Sample:
<pmgPrinterTypeDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="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>