Edge Sync Ofc Routes

Edge Sync Ofc Routes

Sync or Resync static and connected routes for an edge to overlay flow control page

Privileges required:

UPDATE EDGE

Request
URI
POST
https://{api_host}/portal/rest/edge/syncOfcRoutes
COPY
Request Body

Show optional properties

{
    "edgeId": 0
}
{
    "edgeId": 0,
    "enterpriseId": 0
}
integer
edgeId
Required

edgeId

integer
enterpriseId
Optional

enterpriseId

Responses
200

Request was successfully processed

{
    "status": "string",
    "staticRoutes": "string",
    "connectedRoutes": "string"
}
string
status
Optional

status

Possible values are : SUCCESS, FAILED,
string
staticRoutes
Optional

staticRoutes

Possible values are : UPDATED, NO_CHANGE,
string
connectedRoutes
Optional

connectedRoutes

Possible values are : UPDATED, NO_CHANGE,

400

Invalid Request: Please check your request schema

Returns generic_400 of type(s) application/json
{
    "error": {
        "code": -32600,
        "message": "An error occurred while processing your request",
        "data": {
            "valid": false,
            "error": [
                {
                    "code": "string",
                    "message": "string",
                    "path": "string"
                }
            ],
            "warning": [
                {
                    "code": "string",
                    "message": "string",
                    "path": "string"
                }
            ]
        }
    }
}

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"edgeId:"integer"}' https://{api_host}/portal/rest/edge/syncOfcRoutes