Get Route Map for Element (v2.2)
GEThttps://api.sase.paloaltonetworks.com/sdwan/v2.2/api/sites/:site_id/elements/:element_id/routing_routemaps
List all the route maps for an element.
Request
Path Parameters
site_id stringrequired
The ID of the site.
element_id stringrequired
The ID of the element.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (auto)
Schema
countint32
The actual count.
idstring
The ID.
items RoutingRouteMapScreenV2N2[]
{
"count": 0,
"id": "string",
"items": [
{
"auto_generated": true,
"id": "string",
"name": "string",
"route_map_entries": [
{
"continue_entry": "string",
"match": {
"as_path_id": "string",
"community_list_id": "string",
"ip_next_hop_id": "string",
"ip_prefix_list_id": "string",
"tag": 0
},
"order": 0,
"permit": true,
"set": {
"as_path_prepend": "string",
"community": "string",
"ip_next_hop": "string",
"local_preference": 0,
"tag": 0,
"weight": 0
}
}
],
"tags": [
"string"
]
}
]
}
Bad Request
- application/json
- Schema
- Example (auto)
- Example
Schema
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "ELEMENT_NOT_ASSIGNED_TO_SITE"
}
]
}
}
- curl
- python
- go
- nodejs
- csharp
- php
- CURL
curl -L 'https://api.sase.paloaltonetworks.com/sdwan/v2.2/api/sites/:site_id/elements/:element_id/routing_routemaps' \
-H 'Accept: application/json'
ResponseClear