POST api/Service/Print
Request Information
URI Parameters
None.
Body Parameters
DTO_Print_Job| Name | Description | Type | Additional information |
|---|---|---|---|
| Service_ID |
Service ID |
string |
None. |
| Copies | integer |
None. |
|
| Target_ID |
Target_ID is not a required field here. If we need to print labels to the default printer, we don't need to specify this. If we need to print to another printer, put the ID here Or we need print to local printer, put the Client_Id here |
string |
None. |
| Is_Preview | boolean |
None. |
|
| ParaIn |
Parameters need to be passed in. |
Collection of Collection of Param |
None. |
Request Formats
application/json, text/json
Sample:
{
"Service_ID": "sample string 1",
"Copies": 2,
"Target_ID": "sample string 3",
"Is_Preview": true,
"ParaIn": [
[
{
"Name": "sample string 1",
"Value": "sample string 2"
},
{
"Name": "sample string 1",
"Value": "sample string 2"
}
],
[
{
"Name": "sample string 1",
"Value": "sample string 2"
},
{
"Name": "sample string 1",
"Value": "sample string 2"
}
]
]
}
application/xml, text/xml
Sample:
<DTO_Print_Job xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrintService.DTO">
<Copies>2</Copies>
<Is_Preview>true</Is_Preview>
<ParaIn>
<ArrayOfParam>
<Param>
<Name>sample string 1</Name>
<Value>sample string 2</Value>
</Param>
<Param>
<Name>sample string 1</Name>
<Value>sample string 2</Value>
</Param>
</ArrayOfParam>
<ArrayOfParam>
<Param>
<Name>sample string 1</Name>
<Value>sample string 2</Value>
</Param>
<Param>
<Name>sample string 1</Name>
<Value>sample string 2</Value>
</Param>
</ArrayOfParam>
</ParaIn>
<Service_ID>sample string 1</Service_ID>
<Target_ID>sample string 3</Target_ID>
</DTO_Print_Job>
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.