<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Not sure how but please please add this to the wiki section for getParameterValues<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Users [mailto:users-bounces@lists.genieacs.com] <b>On Behalf Of </b>Dan Morphis<br><b>Sent:</b> Friday, January 9, 2015 4:06 PM<br><b>To:</b> Community support for GenieACS users<br><b>Subject:</b> Re: grabbing a live list of params<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>POST a request to /devices/_modem_id_/tasks?timeout=3000&connection_request<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>{<o:p></o:p></p></div><div><p class=MsoNormal>  "name": "getParameterValues",<o:p></o:p></p></div><div><p class=MsoNormal>  "parameterNames": [<o:p></o:p></p></div><div><p class=MsoNormal>    "InternetGatewayDevice.ManagementServer.KickURL",<o:p></o:p></p></div><div><p class=MsoNormal>    "InternetGatewayDevice.ManagementServer.CWMPRetryMinimumWaitInterval",<o:p></o:p></p></div><div><p class=MsoNormal>    "InternetGatewayDevice.ManagementServer.UDPConnectionRequestAddress",<o:p></o:p></p></div><div><p class=MsoNormal>    "some.parameter.you.want"<o:p></o:p></p></div><div><p class=MsoNormal>  ]<o:p></o:p></p></div><div><p class=MsoNormal>}<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The &connection_request in the URL tell GenieACS to try and talk to the CPE. If you get back a 202, that means the CPE didn't respond in a timely fashion.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Here is my response for the above query:<o:p></o:p></p></div><div><div><p class=MsoNormal>{<o:p></o:p></p></div><div><p class=MsoNormal>  "name": "getParameterValues",<o:p></o:p></p></div><div><p class=MsoNormal>  "parameterNames": [<o:p></o:p></p></div><div><p class=MsoNormal>    "InternetGatewayDevice.ManagementServer.KickURL",<o:p></o:p></p></div><div><p class=MsoNormal>    "InternetGatewayDevice.ManagementServer.CWMPRetryMinimumWaitInterval",<o:p></o:p></p></div><div><p class=MsoNormal>    "InternetGatewayDevice.ManagementServer.UDPConnectionRequestAddress"<o:p></o:p></p></div><div><p class=MsoNormal>  ],<o:p></o:p></p></div><div><p class=MsoNormal>  "device": "00236a-96318REF-SR360NA0A4%2D0003196",<o:p></o:p></p></div><div><p class=MsoNormal>  "timestamp": "2015-01-09T20:02:41.898Z",<o:p></o:p></p></div><div><p class=MsoNormal>  "_id": "54b033e1f160d0240bbf0a28"<o:p></o:p></p></div><div><p class=MsoNormal>}<o:p></o:p></p></div></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Fri, Jan 9, 2015 at 8:20 AM, Christopher Chance <<a href="mailto:cchance@newtechgrp.com" target="_blank">cchance@newtechgrp.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>How would I go about pulling a list of say 6-7 different stats from a cpe (preferably live not queued) via geniefs, and have the results returned by json.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I want to pull a few vars out to perform signal tests from my oss system, but the API docs  are a bit sparse in regards to the getparams<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br><a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div></body></html>