Add a route to routeSet.
post
/rest/{versionId}/routeSets/{routeSetId}/entries
Use this (POST) add new entry to a specified routeset on SDM server. User has to provide route set Id as part of URI and route data as part of method body.
Request
Supported Media Types
- application/xml
- application/json
Path Parameters
-
routeSetId: string
The route set id to which route needs to be added.
-
versionId: string
The rest api version, it's value is v1.3.
The route data to be added for a route set.
Root Schema : routeSetEntry
Type:
Show Source
object
-
carrierIdCode(optional):
string
-
destinationGroup(optional):
string
-
getpUser1(optional):
string
-
getpUser2(optional):
string
-
nextHop(optional):
string
-
npa(optional):
string
-
nxx(optional):
string
-
objectId(optional):
string
-
order(optional):
string
-
preference(optional):
string
-
pubId(optional):
string
-
pubIdFormula(optional):
string
-
routingNum(optional):
string
-
sed(optional):
string
-
sedFormula(optional):
string
-
trunkContext(optional):
string
-
trunkGroup(optional):
string
-
user1(optional):
string
-
user2(optional):
string
-
user3(optional):
string
-
user4(optional):
string
-
user5(optional):
string
Response
Supported Media Types
- application/xml
- application/json
200 Response
successful operation
Nested Schema : routeSetEntry
Type:
Show Source
object
-
carrierIdCode(optional):
string
-
destinationGroup(optional):
string
-
getpUser1(optional):
string
-
getpUser2(optional):
string
-
nextHop(optional):
string
-
npa(optional):
string
-
nxx(optional):
string
-
objectId(optional):
string
-
order(optional):
string
-
preference(optional):
string
-
pubId(optional):
string
-
pubIdFormula(optional):
string
-
routingNum(optional):
string
-
sed(optional):
string
-
sedFormula(optional):
string
-
trunkContext(optional):
string
-
trunkGroup(optional):
string
-
user1(optional):
string
-
user2(optional):
string
-
user3(optional):
string
-
user4(optional):
string
-
user5(optional):
string
400 Response
The user input is invalid.
401 Response
The session ID is invalid.
403 Response
There is no permission to access the resources.
404 Response
The object (resource URI, device, and so on) of your input request cannot be found.
500 Response
Internal server error