Operation
post /data/npr/threeRs/{threerId}
Path parameters
Name |
IsRequired |
Description |
Enum |
---|---|---|---|
threerId | required | 'threerId' is the id of the 3R, equal to the value of 'id' parameter of the 3R in the response of /data/npr/threeRs | --- |
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
---|---|---|---|---|
body | optional | request | ServletWebRequest |
--- |
body2 | optional | session | HttpSession |
--- |
body3 | optional | form | String |
--- |
Return type
Responses
Response Messages |
Schema |
---|---|
200success |
NprResponse
|
201Created | --- |
401Unauthorized | --- |
403Forbidden | --- |
404Not Found | --- |
Consumes
application/json
Example Request Data
Request: /data/npr/threeRs/21 Example: Assign to NPA: POST /data/npr/threeRs/21 Request: {"Tag":"F_POP_AddToNpa","userLabel":"Test"} Unassign from NPA: POST /data/npr/threeRs/21 Request: {"Tag":"F_POP_RemoveFromNpa","userLabel":"Test"} To Retrieve ThreeR Id's --> /data/npr/threeRs/ Request Body: { "Tag": "Create3R", "npa": "Sushma", "npaid": "21", "aNode": "PSS32-100-59-77", "aNode_IdClass": 26, "aNode_alarmSyntesis": "AlarmStatus_activeReportableCritical", "aNode_asonCtrPlaneType": "AsonCtrPlaneType_ocs", "aNode_cTAccessStatus": "CTAccessStatus_ctConnEnab", "aNode_comment1": null, "aNode_comment2": null, "aNode_communicationState": "CommState_available", "aNode_ethPresent": "Boolean_false", "aNode_hierarchySubnet": null, "aNode_isMultiNEs": "Boolean_false", "aNode_localization": null, "aNode_mibAlignmentState": "MibAlignmentState_aligned", "aNode_neAlignment": "Alignment_failed", "aNode_neSubType": "NeSubtype_notRepeater", "aNode_id": 5, "aNode_key": "Node/5", "aNode_className": "Node", "aNode_otnConfDownldSt": "GlobConfDwnldSt_enabled", "aNode_parentId": 1, "aNode_parentLabel": "DEFAULT", "aNode_position": "1 0 0", "aNode_sdhPresent": "Boolean_false", "aNode_supervisionState": "SupervisionState_supervised", "aNode_guiLabel": "PSS32-100-59-77", "aNode_version": "9.0", "aNode_wdmPresent": "Boolean_true", "aNode_confDownldSt": "ConfDownloadState_enabled", "aNode_nadString": "unknown", "aNode_productName": "1830PSS", "aNode_reachable": "Boolean_true", "aNode_shortProductName": "pss", "aNode_siteName": "BA", "aPort": "PSS32-100-59-77/11QPA4-11-8-L1", "aPort_IdClass": 4, "aPort_alarmStatus": "AlarmStatus_cleared", "aPort_boardType": "TR%UNI%LINE", "aPort_cardType": "11QPA4", "aPort_clonePortPresent": "Boolean_false", "aPort_compModule": null, "aPort_consistSt": "ConsistencyStatus_normal", "aPort_currentFrequency": null, "aPort_direction": "Direction_bidirectional", "aPort_displayLabel": "11QPA4-11-8-L1", "aPort_encoding": "Encoding_nrz", "aPort_ethInterfaceRate": "EthInterfaceRate_notMeaningful", "aPort_ethInterfaceType": "EthInterType_notApplicable", "aPort_fdnMapper": "NC_n=*EML_301_SNA/NE_n=*3/PTPn=*11QPA4-11-8-L1/:PORT", "aPort_fecType": "FecType_efec", "aPort_frequency": "tunable", "aPort_internalEmlAid": "11/8/1", "aPort_involvedIn3R": "Boolean_false", "aPort_involvedOnInternalCable": "Boolean_true", "aPort_involvedOnPhyConn": "Boolean_true", "aPort_neId": 3, "aPort_neLabel": "PSS32-100-59-77", "aPort_networkInterfaceType": "NetworkInterfaceType_uni", "aPort_operationalState": "OperationalState_enabled", "aPort_otuSignalType": "OtuSignalType_otu2", "aPort_physicalPortType": "PortType_notMeaningful", "aPort_portBitRate": "10709", "aPort_id": 1685, "aPort_key": "Port/1685", "aPort_className": "Port", "aPort_technology": "Technology_wdm", "aPort_uploadSt": "UploadStatus_normal", "aPort_usedDir": "Direction_bidirectional", "aPort_usedOnOtn": "Boolean_false", "aPort_guiLabel": "PSS32-100-59-77/11QPA4-11-8-L1", "aPort_wdmClientSignalType": "ClientSignalType_otu2", "aPort_wdmInterfaceType": "WdmInterfaceType_blackAndWhite", "aPort_wdmPhysicalPortRate": "10037.273Mbit/s", "aPort_wdmPortType": "WdmPortType_ops0", "aPort_wdmTransmissionMode": "WdmTransMode_addDrop", "aPort_width": 50, "zPort": "" } Response: { "ok": true, "id": "1897132873583491", "responseMessage": "Success", "responseList": [ { "requestType": "Info", "messagetag": "TDMmsg_95_73", "errorMsgData": [ null ], "requestStatus": "Success" } ], "HTTPResponse": 0, "httpresponse": 0 }
Produces
application/json
Example Response Data
Response: { "IdClass": 181, "aLocalPortId": 10742, "aMuxPrtLabel": "SFD-18-3-9210", "aRemotePortId": 10756, "aTrPrtLabel": "112SCX10-18-6-L1", "asonSncLabel": null, "belongTrailId": null, "confSt": "ConfigurationState_implemented", "endToEndOtnTrailId": null, "endToEndOtnTrailLabel": null, "nodeId": 6, "npaId": 21, "npaLabel": "NPA_For_ThreeR", "systemLabel": "Node1 112SCX10-18-6-L1 112SCX10-18-12-L1", "id": 36, "key": "ThreeR/36", "className": "ThreeR", "zLocalPortId": 10743, "zMuxPrtLabel": "SFD-18-4-9210", "zRemotePortId": 10765, "zTrPrtLabel": "112SCX10-18-12-L1" }