<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Good morning.<br>
      <br>
      I have a device whose ID in GenieACS-GUI appears as <b>000B82-HT%2D502-000b82xxxxxx</b>.</p>
    <p>The Device's model is HT-502, and that symbol, the dash "-",
      isn't well represented.<br>
      <br>
      The problem is when trying to call it via the API, for example,
      asking for his SIP State. None of the ways work.:<br>
      <br>
      <i>curl -i
'<a class="moz-txt-link-freetext" href="http://my.acs.server:7557/devices/?query=%7B%22_id%22%3A%220000B82-HT-502-000b82xxxxxx%22%7D&projection=Device.Services.VoiceService.1.VoiceProfile.1.Line.1.Status">http://my.acs.server:7557/devices/?query=%7B%22_id%22%3A%220000B82-HT-502-000b82xxxxxx%22%7D&projection=Device.Services.VoiceService.1.VoiceProfile.1.Line.1.Status</a>'</i><br>
      nor<br>
      <i>curl -i
'<a class="moz-txt-link-freetext" href="http://my.acs.server:7557/devices/?query=%7B%22_id%22%3A%220000B82-HT%2D502-000b82xxxxxx%22%7D&projection=Device.Services.VoiceService.1.VoiceProfile.1.Line.1.Status">http://my.acs.server:7557/devices/?query=%7B%22_id%22%3A%220000B82-HT%2D502-000b82xxxxxx%22%7D&projection=Device.Services.VoiceService.1.VoiceProfile.1.Line.1.Status</a>'</i></p>
    <p>I've tried with other CPE's and it works, but I can't make it
      work with this model of CPE. Is there anything I could do to get
      it working?</p>
    <p>Currently, this is what GenieACS is answering me:</p>
    <p><i>HTTP/1.1 200 OK</i><i><br>
      </i><i>Content-Type: application/json</i><i><br>
      </i><i>total: 0</i><i><br>
      </i><i>Date: Tue, 19 Jul 2016 12:18:59 GMT</i><i><br>
      </i><i>Connection: keep-alive</i><i><br>
      </i><i>Transfer-Encoding: chunked</i><i><br>
      </i><i><br>
      </i><i>[</i><i><br>
      </i><i><br>
      </i><i>]</i><br>
    </p>
    <p><br>
      Thank you!<br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>