POST api/tickets/print
Request Information
URI Parameters
None.
Body Parameters
PrintOrderViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TableNum | string |
None. |
|
| DepartmentId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| PrintJobName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TableNum": "sample string 1",
"DepartmentId": 2,
"CustomerId": 3,
"PrintJobName": "sample string 4"
}
text/html
Sample:
{"TableNum":"sample string 1","DepartmentId":2,"CustomerId":3,"PrintJobName":"sample string 4"}
application/xml, text/xml
Sample:
<PrintOrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.DTO"> <CustomerId>3</CustomerId> <DepartmentId>2</DepartmentId> <PrintJobName>sample string 4</PrintJobName> <TableNum>sample string 1</TableNum> </PrintOrderViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseBase| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2"
}
text/html
Sample:
{"isSuccess":true,"message":"sample string 2"}
application/xml, text/xml
Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.WebApi.Models"> <isSuccess>true</isSuccess> <message>sample string 2</message> </ResponseBase>