Request Details/Get the list of network adapters for the device
Verb:POST
URL: {url}/device/{id}/networkAdapter/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: - Adapter name |
| orderField | Field by which the list will be sorted | Text | Yes | adapterName |
| 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 |
|---|---|---|
| addressList | It stores IP addresses with their respective network masks that a network card has | Text Listing |
| Description | Network adapter description | Text |
| dhcpServer | DHCP server IP address | Text |
| dnsList | Stores IP addresses configured for the DNS | Text |
| gatewayList | Stores IP addresses configured for the Gateway | Text |
| isDhcpEnable | Indicates whether the station’s IP was set by a DHCP server | Bool |
| isLmHostsEnabled | Whether the LMHOSTS (LAN Manager Hosts) is enabled or not | Bool |
| leaseExpires | Date on which the IP address obtained by the DHCP server expires | Date |
| leaseObtained | Date on which the IP address obtained by the DHCP server was assigned | Date |
| macAddress | MAC identification number associated with the station’s network card | Text |
| maskList | Stores the network masks that a network card has | Text Listing |
| networkAdapterType | Network adapter classification (ethernet, Token ring, etc…) | Text |
| Speed | Net Tearjet Speed | Numerical |
- 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 are not being sent
- ValidationError If one of the required values is not sent