Request Details/Get the Device Printer List
Verb:POST
URL: {url}/device/{id}/printer/list
Parameters
Parameters for this request that must be sent in the body of the request:
Field | Description | Guy | Obligatory | Possible values |
---|---|---|---|---|
updateDate | Date value that the modification is filtered | Date | No | - |
search | Value by which it will be filtered in the search | Text | No | The values by which they can be filtered: - Driver name -Maker - Printer name |
orderField | Field by which the list will be sorted | Text | Yes | Id driverName, printerName, manufacturer |
orderType | Field indicating sort type, ascending or descending | Text | No | ASC, DESC |
pageSize | This field indicates the number of results expected in the response | Whole | No | - |
pageIndex | This field indicates the result number that we have obtained in previous queries, this field is used in conjunction with pageSize for pagination | Whole | No | - |
Answer
- Code: 200 – Successful Answer:True
Field | Description | Guy |
---|---|---|
Description | Brief description of the printer (if registered in the printer settings) | Text |
Name | Peripheral Driver Name | Text |
manufacturer | Printer Manufacturer | Text |
port | Communications port to which the printer is connected | Text |
printerName | Printer Name | Text |
- Code: 400 - Bad request Answer: Error Description Message
- Code: 401- Error: Unauthorized Answer: Authorization has been refused
-
Code: 500 - Internal Error Server Answer: Error Description Message
- BadRequest Search parameters not sent
- ValidationError If one of the required values is not sent