Request Details/Get the Device’s CD-ROM List
Verb:POST
URL: {url}/device/{id}/cdrom/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: -Model |
orderField | Field by which the list will be sorted | Text | Yes | bustype, model, serial |
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 |
---|---|---|
bus | CD ROM bud type | Text |
Feature | Obtains or establishes a formation of the characteristics of the CD-ROM joins | Text Listing |
model | CR ROM Unit Model | Text |
Name | Monitor Name | Text |
Hardware Id | Hardware Identifier | Text |
serial | Serial del CD ROM | 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