Preferred Route
Retrieve a list of preferred routes for the specified published resource.
ID of the published resource to be acquired.
GET /api/PubItems/{id}/PreferredRoute HTTP/1.1
Host:
Accept: */*
[
{
"id": 1,
"priority": 1,
"name": "text",
"description": "text",
"enabled": true,
"referenceType": [
"3 = Gateway",
"51 = HALB",
"83 = Custom"
],
"referenceId": 1
}
]
Add a preferred route to the specified published resource.
ID of the published resource to be updated
Add a client device name to the filter of type 'Client Device Name' for the specified published resource
The Name of the Preferred Route
Description of the Preferred Route
Whether the Preferred Route is enabled or not
RAS Publishing Routing Type
Reference ID of the Preferred Route
POST /api/PubItems/{id}/PreferredRoute HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 125
{
"name": "text",
"description": "text",
"enabled": true,
"referenceType": [
"3 = Gateway",
"51 = HALB",
"83 = Custom"
],
"referenceId": 1
}
No content
Update the specified preferred route for the specified published resource.
ID of the published resource to be updated
ID of the preferred route to be updated
The Name of the Preferred Route
Description of the Preferred Route
Whether the Preferred Route is enabled or not
RAS Publishing Routing Type
Reference ID of the Preferred Route
Move Direction.
PUT /api/PubItems/{id}/PreferredRoute/{preferredRouteId} HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 158
{
"name": "text",
"description": "text",
"enabled": true,
"referenceType": [
"3 = Gateway",
"51 = HALB",
"83 = Custom"
],
"referenceId": 1,
"priority": [
"0 = Up",
"1 = Down"
]
}
No content
Delete a preferred route from the specified published resource.
ID of the published resource to be updated
ID of the preferred route to be deleted
DELETE /api/PubItems/{id}/PreferredRoute/{preferredRouteId} HTTP/1.1
Host:
Accept: */*
No content
Was this helpful?