cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Retrieve Device Uplink Status [SOLVED]

Comes here often

Retrieve Device Uplink Status [SOLVED]

Hi all,

 

I'm trying to retrieve the uplink status from the WANs on our MX67 devices. All of them have 2 WANs active.

 

I'm using Node Red, with the Meraki Dashboard api module. https://flows.nodered.org/node/node-red-contrib-meraki-dashboard-api

 

The API "Get Network Device Uplink" (https://developer.cisco.com/meraki/api/#!get-network-device-uplink) requires 2 parameters, networkId and serial number.

 

First, I'm extracting those parameters using other API called "Get Organization Devices" (https://developer.cisco.com/meraki/api/#!get-organization-devices). After extracting the information for all the devices I want to pass it to Meraki api module using the mentioned "Get Network Device Uplink" API. 

 

I'm having problems passing the required parameters into the module:

 

Annotation 2020-06-29 124603.png

apparently the module is not parsing the payload and just using the the text as a string. The following has been extracted from the request:

 

 

Thanks so much in advance for your help.

 

Enrique

 

 

 

 

 

 

 

 

1 REPLY 1
Highlighted
Comes here often

Re: Retrieve Device Uplink Status

Solved using a function module:
 
var serial = msg.payload.serial;
var netID = msg.payload.networkId;
msg.networkId = netID;
msg.serial = serial;
return msg;
 
 
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.