# Set And GetParameterAttribute

**URL:** <https://forum.genieacs.com/t/set-and-getparameterattribute/6340>\
**Category:** Uncategorized\
**Created:** [December 27, 2024, 5:04am UTC](https://forum.genieacs.com/t/set-and-getparameterattribute/6340 "2024-12-27T05:04:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gokila](https://avatars.discourse-cdn.com/v4/letter/g/e9bcb4/32.png) [@Gokila](https://forum.genieacs.com/u/Gokila)\
**Post date:** [December 27, 2024, 5:04am UTC](https://forum.genieacs.com/t/set-and-getparameterattribute/6340/1 "2024-12-27T05:04:59Z")

</div>

Hi,

I have query, How to declare/call SetParamterAttribute and GetParamterAttribute towards device from ACS ?

I guess using “declare” we can send SetParamterAttribute to device. But I am not clear on this?

How to send GetParamterAttribute from ACS to CPE?

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [December 27, 2024, 5:50pm UTC](https://forum.genieacs.com/t/set-and-getparameterattribute/6340/2 "2024-12-27T17:50:53Z")

</div>

What are you trying to accomplish?

---

<div class="post-metadata">

**Author:** ![ojpojao](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/ojpojao/32/1213_2.png) [@ojpojao](https://forum.genieacs.com/u/ojpojao)\
**Post date:** [December 31, 2024, 9:39am UTC](https://forum.genieacs.com/t/set-and-getparameterattribute/6340/3 "2024-12-31T09:39:05Z")

</div>

References:

- [TR069](https://www.broadband-forum.org/pdfs/tr-069-1-6-0.pdf), **Anex A.3.2.4 SetParameterAttributes** and **Anex A.3.2.5 GetParameterAttributes**

- [Forced Active Notification Parameters](https://cwmp-data-models.broadband-forum.org/tr-098-1-8-0.html#forced-active-notification-parameters)

- [Default Active Notification Parameters](https://cwmp-data-models.broadband-forum.org/tr-098-1-8-0.html#default-active-notification-parameters)

- [Parameters for which Active Notification MAY be Denied](https://cwmp-data-models.broadband-forum.org/tr-098-1-8-0.html#parameters-for-which-active-notification-may-be-denied)

```javascript
// GetParameterAttributes example #1 #########
const now = Date.now()
let arg1 = "InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID"
let arg2 = {notification: now}
declare(arg1, arg2)

```

```javascript
// GetParameterAttributes example #2 #########
const now = Date.now()
let arg1 = "InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID"
let arg2 = {accessList: now}
declare(arg1, arg2)

```

```javascript
// SetParameterAttributes example #1 #########
let arg1 = "InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID"
let arg2 = null
let arg3 = {notification: 2}
declare(arg1, arg2, arg3)

```
