POST api/Printer/Save
Save printer by given object
Request Information
URI Parameters
None.
Body Parameters
DTO_Printer| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | string |
None. |
|
| Area_ID | string |
None. |
|
| Name | string |
None. |
|
| Path | string |
None. |
|
| DPI_X | integer |
None. |
|
| DPI_Y | integer |
None. |
|
| Print_Type | integer |
None. |
|
| Is_Network | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": "sample string 1",
"Area_ID": "sample string 2",
"Name": "sample string 3",
"Path": "sample string 4",
"DPI_X": 5,
"DPI_Y": 6,
"Print_Type": 7,
"Is_Network": true
}
application/xml, text/xml
Sample:
<DTO_Printer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrintService.DTO"> <Area_ID>sample string 2</Area_ID> <DPI_X>5</DPI_X> <DPI_Y>6</DPI_Y> <ID>sample string 1</ID> <Is_Network>true</Is_Network> <Name>sample string 3</Name> <Path>sample string 4</Path> <Print_Type>7</Print_Type> </DTO_Printer>
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.