# What is CURL equivalent for GenieACS "SUMMON" button?

**URL:** <https://forum.genieacs.com/t/what-is-curl-equivalent-for-genieacs-summon-button/449>\
**Category:** Uncategorized\
**Created:** [November 15, 2019, 7:53am UTC](https://forum.genieacs.com/t/what-is-curl-equivalent-for-genieacs-summon-button/449 "2019-11-15T07:53:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyob](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/kyob/32/122_2.png) [@kyob](https://forum.genieacs.com/u/kyob)\
**Post date:** [November 15, 2019, 7:53am UTC](https://forum.genieacs.com/t/what-is-curl-equivalent-for-genieacs-summon-button/449/1 "2019-11-15T07:53:49Z")

</div>

…or what is “SUMMON” button do behind scene?

**Second question:**  
I trying to get actual SSID from router but when device connect to GenieACS for the first time SSID value is not cached so I tried (I guess) almost all avaialble API calls but nothing works only “SUMMON” button from GenieACS.

How will looks command for ex. in CURL to get and cache actual value of router SSID GenieACS ?

---

<div class="post-metadata">

**Author:** ![pobk](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/pobk/32/109_2.png) [@pobk](https://forum.genieacs.com/u/pobk)\
**Post date:** [November 21, 2019, 11:06am UTC](https://forum.genieacs.com/t/what-is-curl-equivalent-for-genieacs-summon-button/449/2 "2019-11-21T11:06:06Z")

</div>

[From the API](https://docs.genieacs.com/en/latest/api-reference.html#post-devices-device-id-tasks-connection-request):

```
curl -i 'http://localhost:7557/devices/202BC1-BM632w-0000000/tasks?connection_request' \
-X POST \
--data '{"name": "refreshObject", "objectName": ""}'

```

Answer to your second question available [here](https://docs.genieacs.com/en/latest/api-reference.html#refreshobject):

```
curl -i 'http://localhost:7557/devices/00236a-SR552n-SR552NA084%252D0003269/tasks?timeout=3000&connection_request' \
-X POST \
--data '{"name": "refreshObject", "objectName": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice"}'

```

~ R
