I would like to be able to retrieve the custom form values (parameterValues), given a custom form section (categoryParameter) name or ID.
Currently, the API allows for Custom Form Names to be retrieved from a given Custom Form using the following api call:
/proj/[projectID]/search?fields=objectCategories:category:categoryParameters:parameterGroup
There is also an, unsupported, api call that allows for a "data dump" of all values in a given custom form, using the following api call:
/proj/[projectID]/search?fields=*,parameterValues
I would think that the "parameterValues" object would need to be added to the "parameterGroup" object.
{
"data": {
"ID": "",
"name": "",
"objCode": "PROJ",
"objectCategories": [
{
"ID": "",
"objCode": "OBJCAT",
"category": {
"ID": "",
"name": "",
"objCode": "CTGY",
"categoryParameters": [
{
"objCode": "CTGYPA",
"parameterGroup": {
"ID": "",
"name": "",
"objCode": "PGRP",
"parameterValues":{
"[customFormName]":"[value]"
}
}
}
}
}
]
}
}
If that isn't possible, maybe a simple GET call to get the "parameterValues" by a "parameterGroup" Name or ID.
This is important to our business because we use custom forms to integrate many systems. At times, these custom forms are very large and have many sections within them. We would like the ability to separate logic base on values from a given section with a custom form in order to keep scenario blueprints to a manage, maintainable size.
Currently we are unable to separate logic in a scenario, based on custom form sections, within large custom forms bases on values from a given section with a custom form.