POST api/printer/print
Request Information
URI Parameters
None.
Body Parameters
OrderPrintRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PrintedProducts | Collection of integer |
None. |
|
| PrintedGeneralReceipt | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"PrintedProducts": [
1,
2
],
"PrintedGeneralReceipt": true
}
application/xml, text/xml
Sample:
<PrinterController.OrderPrintRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrinterApp.Controllers">
<Id>1</Id>
<PrintedGeneralReceipt>true</PrintedGeneralReceipt>
<PrintedProducts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</PrintedProducts>
</PrinterController.OrderPrintRequest>
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.