Operation

post /data/npr/teLinks/{teLinkId}
commandTeLink (commandTeLink : /data/npr/teLinks/{teLinkId})
Modify TE-Link parameters, namely - Costs/Metric, Color Profile and Shared Risk Groups (SRGs)

Path parameters

Name

IsRequired

Description

Enum

teLinkId required teLinkId (required) Id of the TE Link, as defined in GMRE ---
Request body

Name

IsRequired

Description

Data Type

Enum

body optional request ServletWebRequest ---
body2 optional session HttpSession ---
body3 optional form String ---

Return type
  • NprResponse
  • Responses

    Response Messages

    Schema

    200success NprResponse
    201Created ---
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    Consumes
    This API call consumes the following media types via the Content-Type request header:
    • application/json
    Example Request Data

    Request: /data/npr/teLinks/100003 Request body: { "Tag": "updateTelink", "teLinkId": "100003", "bundlingRule": "BundlingRule_oneToOne", "prefixCol": "ColorProfiles", "npaId": "1", "userLabel": "ASON_L0CP_NODE_F/ASON_L0CP_NODE_C-100003", "linkMetric": "20", "colorProfileName": "AllColors", "colorProfileName_IdClass": 180, "colorProfileName_id": 2, "colorProfileName_key": "ColorProfile/2", "colorProfileName_className": "ColorProfile", "colorProfileName_colorString": "1111.1111.1111.1111.1111.1111.1111", "colorProfileName_colors": 268435455, "colorProfileName_comment1": "Profile with all 28 colors, used as default for exclude any vector", "colorProfileName_owner": "OperationalRule_automatic", "colorProfileName_guiLabel": "AllColors", "srg_length": 1, "srg_0_IdClass": 125, "srg_0_id": 1, "srg_0_key": "SharedRiskGroup/1", "srg_0_className": "SharedRiskGroup", "srg_0_srgProbability": "SrgProb_high", "srg_0_srgType": "SrgType_cable", "srg_0_guiLabel": "SRG1" }

    Produces
    This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
    • application/json
    Example Response Data
    Response: { "ok": true, "id": "738800577825590", "responseMessage": "Validation for TeLinkModification is successful", "responseList": [ { "requestType": "Info", "messagetag": "ActionInProgress", "errorMsgData": [ null ], "requestStatus": "Success" } ], "HTTPResponse": 200, "asonResponseList": [ { "requestType": "Info", "messagetag": "ActionInProgress", "errorMsgData": [ null ], "requestStatus": "Success" } ], "requestStatus": "Success", "eventableObjects": {}, "httpresponse": 200 }

    External Docs
    See Also :
  • get : /data/npr/teLinks

  • NprResponse

    Name

    Type

    Description

    Enum

    HTTPResponse Integer integer --- ---
    ok Boolean boolean The Npr response is created successfully ---
    id String string The Response id ---
    responseMessage String string Response message for the request ---
    responseList array[Object] object The List of response ---