Changed response : [400]//Validation errors: <br />
ErrSessionIdIsEmpty:Session Id should not be empty <br />
ErrSessionIdIsEmpty:ErrInvalidSessionId:Invalid Session Id format <br />
ErrSessionIdIsEmpty:ErrSessionIdNotFound:Session Id is not found <br />
Changed response : [400]//Validation errors: <br />
ErrSessionIdIsEmpty:Session Id should not be empty <br />
ErrSessionIdIsEmpty:ErrInvalidSessionId:Invalid Session Id format <br />
ErrSessionIdIsEmpty:ErrSessionIdNotFound:Session Id is not found <br />
Changed response : [200]//Successfully fetches status of the
Live PM session specified by userSessionId
Changed response : [400]//Validation errors: <br />
ErrSessionIdIsEmpty:Session Id should not be empty <br />
ErrSessionIdIsEmpty:ErrInvalidSessionId:Invalid Session Id format <br />
ErrSessionIdIsEmpty:ErrSessionIdNotFound:Session Id is not found <br />
Changed response : [400]//Validation errors: <br
/>Download Failed because of Too many download file requests in processing.
<br />ErrProfileIdNotExist:Profile Id does not exist in DB.
Changed response : [400]//Validation errors: <br />
ErrSessionIdIsEmpty:Session Id should not be empty <br />
ErrSessionIdIsEmpty:ErrInvalidSessionId:Invalid Session Id format <br />
Changed response : [400]//Validation errors: <br />
Connection or NE and Port details should not be empty. <br />
ErrConnectionIdIsEmpty:ConnectionID should not be empty. <br />
ErrNeIdIsEmpty:Ne Id should not be empty. <br />
ErrPortLabelIsEmpty:Portlabel should not be empty. <br />
ErrValuesIsEmpty:cnp values should not be empty. <br /> Technology, Metric
Group and Metric details in metrics field should not be empty. <br />
ErrMetricsIsEmpty:Metrics should not be empty. <br />
ErrTechnologyIsEmpty:Technology should not be empty. <br />
ErrMetricGroupIsEmpty:Metric Group should not be empty. <br />
ErrMetricsIsEmpty:Metrics should not be empty. <br />
ErrInvalidGranularity:Only 15mins or 24hours granularity is supported in Live
PM<br />
Changed response : [400]//Validation errors: <br />
Granularity should be 15mins or 24hours in this release. <br /> Start time
should be a valid timestamp. It cannot be very older date time<br />
profileName should not be empty. <br /> Filter key cannot be empty in
neFilter. <br /> Filter key under neFilter should be one of [neLabel,
addr, loc, rel, type]. <br /> Filter value cannot be empty in neFilter.
<br /> Filter value under neFilter should start with one of keyword
[starts, ends, contains] followed by space. <br /> This operation is not
allowed for current user.
Changed response : [400]//Validation errors: <br />
Connection or NE and Port details should not be empty. <br /> Connection
ID is not present in PM DB. <br /> The NeID and port is not present in
given ConnectionID. <br /> Ports for NE Id is not present in PM DB. <br
/> ErrConnectionIdIsEmpty:ConnectionID should not be empty. <br />
ErrNeIdIsEmpty:Ne Id should not be empty. <br />
ErrPortLabelIsEmpty:Portlabel should not be empty. <br />
ErrValuesIsEmpty:cnp values should not be empty. <br /> Technology, Metric
Group and Metric details in metrics field should not be empty. <br />
ErrMetricsIsEmpty:Metrics should not be empty. <br />
ErrTechnologyIsEmpty:Technology should not be empty. <br />
ErrMetricGroupIsEmpty:Metric Group should not be empty. <br />
ErrMetricsIsEmpty:Metrics should not be empty. <br />
ErrInvalidGranularity:Only 15mins or 24hours granularity is supported in Live
PM
Changed response : [200]//Successfully subscribed to Live PM
data <br /> <pre> If this API is successful, PMNextGen will start
pumping Live PM Data into websocket topic for every sampling frequency<br
/> The successful response contains 2 fields:<br /> 1. topic -
Websocket topic name <br /> 2. subscription id to be used further in
update, pause, resume and delete subscription APIs <br /> Then user has to
perform below operations to start receiving Live PM Data: <br /> A.
Connect to the websocket "wss://<<WS-NOC Main
IP>>:8443/mncpm/connect" <br /> Authorization, Keystore and
Truststore should be set properly while connecting to websocket<br /> B.
Once connected to websocket, subscribe to topic which you received the name in
'topic' field in this response<br /> and listen for live pm data
messages.<br /> Live PM Data messages will be keep coming in the websocket
topic in below format:<br />
{"OTN_CONNECTION_63/7/11DPM12-1-11-L1/NEND/Rx":{"gdm":{"dt":"2023-02-01
20:31:40","OPR-AVG":10.0,"OPR-H":10.0,"OPR-L":10.0},"metrics":["OPR-AVG","OPR-H","OPR-L"]},"OTN_CONNECTION_63/8/11DPM12-1-11-L1/NEND/Rx":{"gdm":{"dt":"2023-02-01
20:31:40","OPR-AVG":10.0,"OPR-H":10.0,"OPR-L":10.0},"metrics":["OPR-AVG","OPR-H","OPR-L"]}}
<br /> The key format is "Connection Id/Ne
Id/PortLabel/Location/Direction". <br /> The metrics field will have
the metric name and value for the specified dt timeframe <br
/></pre>
Changed response : [400]//Validtion errors: <br
/>Granularity should be 15mins/24hours <br />File location is not
matching the ip address <br />Start time should be a valid timestamp
<br />End time should be a valid timestamp <br />ObjIds should not
be empty and should contain valid NE IDs <br />Start date time should be
less than end date time <br />Sftp details are incorrect, could not
connect to sftp server <br />The given file does not exist in the location
<br />Error in generating pdf report <br />Error in reading data
from PM database
POST/ne/export It is NAD compliant. Download PM data as a CSV report for
NEs
Response
Changed response : [400]//Validtion errors: <br
/>Granularity should be 15mins/24hours <br />Ports for given NE Id is
not present. <br />File location is not matching the ip address <br
/>Start time should be a valid timestamp <br />End time should be a
valid timestamp <br />ObjIds should not be empty and should contain valid
NE IDs <br />Start date time should be less than end date time <br
/>Sftp details are incorrect, could not connect to sftp server <br
/>The given file does not exist in the location
POST/ne/query It is NAD compliant. Fetches PM data for NEs
Response
Changed response : [400]//Validation errors: <br
/>Response size exceeded <br />Granularity should be 15mins or 24hours
<br />File location is not matching the ip <br />Start time should
be a valid timestamp <br />End time should be a valid timestamp <br
/>NE ID should not be empty <br />Start date time should be less than
end date time <br />Sftp details are incorrect, could not connect to sftp
server
Changed response : [400]//Validation errors: <br
/>Granularity should be 1min/15mins/24hours/4hr/8/hr/1hr <br />File
location is not matching the ip <br />Start time should be a valid
timestamp <br />End time should be a valid timestamp <br />ObjIds
should not be empty and should contain valid Connection IDs <br />The CXN
ID is not present in PM DB <br /> The CXN ID is not having matching data
in PM db <br /> Start date time should be less than end date time <br
/>Sftp details are incorrect, could not connect to sftp server <br
/>The given file does not exist in the location
Changed response : [400]//Validation errors: <br
/>Granularity should be 1min/15mins/24hours/4hr/8/hr/1hr <br />File
location is not matching the ip <br />Start time should be a valid
timestamp <br />End time should be a valid timestamp <br />ObjIds
should not be empty and should contain valid Connection IDs <br />Start
date time should be less than end date time <br />Sftp details are
incorrect, could not connect to sftp server <br />The given file does not
exist in the location <br />Error in downloading compact pdf report<br
/>Error in reading data from PM database
Changed response : [400]//Validation errors: <br
/>Granularity should be 1min/15mins/24hours/4hr/8/hr/1hr <br
/>Connection ID is not present in PM DB. <br />NeId and port is not
present in given connection ID. <br />NeId is not present for given
Connection ID. <br />File location is not matching the ip <br
/>Start time should be a valid timestamp <br />End time should be a
valid timestamp <br />ObjIds should not be empty and should contain valid
Connection IDs <br />Start date time should be less than end date time
<br />Sftp details are incorrect, could not connect to sftp server <br
/>The given file does not exist in the location
Changed response : [400]//Validtion errors: <br
/>Response size exceeded <br />Granularity should be 15mins or 24hours
<br />File location is not matching the ip <br />Start time should
be a valid timestamp <br />End time should be a valid timestamp <br
/>The CXN ID is not present in PM DB <br /> The CXN ID is not having
matching data in PM db <br /> ObjIds should not be empty and should
contain valid Connection IDs <br />Start date time should be less than end
date time
Changed response : [400]//Validtion errors: <br
/>Response size exceeded <br />Granularity should be 15mins or 24hours
<br />File location is not matching the ip <br />Start time should
be a valid timestamp in UTC secs <br />End time should be a valid
timestamp in UTC secs <br />ObjIds should not be empty and should contain
valid Connection IDs <br />Start date time should be in UTC secs and less
than end date time in UTC secs
Changed response : [400]//Validation errors: <br
/>Response size exceeded <br />Granularity should be 15mins or 24hours
<br />File location is not matching the ip <br />Start time should
be a valid timestamp <br />End time should be a valid timestamp <br
/>The CXN ID is not present in PM DB <br /> The CXN ID is not having
matching data in PM db <br /> ObjIds should not be empty and should
contain valid Connection IDs <br />Start date time should be less than end
date time