Get Subnet Mappings

Get Subnet Mappings

Get all subnet mappings (CIDR to VLAN ID).

Request
URI
GET
https://vrni.example.com/api/ni/settings/subnet-mappings
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns SubnetMappingList of type(s) application/json
{
    "results": [
        {
            "entity_id": "string",
            "name": "string",
            "entity_type": "string",
            "cidr": "string",
            "vlan_id": 0
        }
    ]
}
results
Optional

results


400

Bad Request

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure

500

Internal Error

Operation doesn't return any data structure