Request Details/Gets the list of logical disks for a device devices
Verb:POST
URL: {url}/device/{id}/logicaldisk/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 | - |
| orderField | Field by which the list will be sorted | Text | Yes | driverType, fileSystem, mediaType, serial unit, volumeName |
| orderType | Field indicating sort type, ascending or descending | Text | Yes | ASC, DESC |
| pageSize | This field indicates the number of results expected in the response | Whole | yes | - |
| 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 | yes | - |
Answer
- Code: 200 – Successful Answer:True
| Field | Description | Guy |
|---|---|---|
| driverType | Unit Type | Text |
| fileSystem | The type of file system used on that drive. For example, FAT, FAT32, NTFS, CDFS | Text |
| Freespace | Free disk space | Numerical |
| Name | Unit Name | Text |
| usedSpace | Disk Space Used | Numerical |
| volumeName | Disk Volume 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