Last active
October 1, 2025 17:34
-
-
Save DuaneR5280/9271182d4aaea2a2cdf1ed3e0f4c1343 to your computer and use it in GitHub Desktop.
Morpheus Data: Edit Option List (plans)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /********* Edit Option List ************* | |
| Usage for | |
| - TYPE: Morpheus API | |
| - Request Options >> Option List: Plans | |
| *****************************************/ | |
| // Translation Script (transform api data object) | |
| for (var x = 0; x < data.length; x++) { | |
| results.push({name:data[x].name, value:data[x].id}); | |
| } | |
| // Request Script (filter options) | |
| results = { | |
| zoneId: 1, | |
| siteId: 3, | |
| layoutId: 212, | |
| }; | |
| /***** Request Script alternative ***** | |
| results.zoneId = 1 | |
| results.siteId = 3 | |
| results.layoutId = 212 | |
| **************************************/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment