# Network Interface Card Controller Resource

The API allows you list and view networks.

### GET /network-interface-card

Returns list of networks filtered by specified query parameters.

Request Parameters
name | type | description
--- | --- | ---
compute-zone | query |
hvCluster | query |
hvGuid | query |
hvmGuid | query |
network | query |
virtualMachine | query |

Response Body
media type | data type | description
--- | --- | ---
application/json | array of NetworkInterfaceCardDetails (JSON) | list of networks filtered by specified query parameters

#### Example

##### Request

    GET /network-interface-card
    Content-Type: */*
    Accept: application/json

    ...

##### Response

    HTTP/1.1 200 OK
    Content-Type: application/json

    [ { } ]

### GET /network-interface-card/{guid}

Get a single network.

Request Parameters
name | type | description
--- | --- | ---
guid | path | specify local unique identifier for network (use by vProtect)

Response Body
media type | data type | description
--- | --- | ---
application/json | NetworkInterfaceCardDetails (JSON) | network details

#### Example

##### Request

    GET /network-interface-card/{guid}
    Content-Type: */*
    Accept: application/json

    ...

##### Response

    HTTP/1.1 200 OK
    Content-Type: application/json

    { }