- URL:
- https://<root>/<serviceName>/FeatureServer/<layerId>/fieldGroups
- Methods:
GET
- Version Introduced:
- 11.2
Description
The field
resource returns the set of field groups that have been defined on a layer. Field groups are required for contingent values and identify the set of fields whose values are constrained by values in the other fields within the group. The field groups returned by this resource could be a superset of the field groups that are used by the contingent value definition, as some field groups may not be used in the context of contingent values.
Request parameters
Parameter | Details |
---|---|
| The response format. The default format is Values: |
Example usage
The following is a sample request URL used to access the field
resource:
https://machine.domain.com/webadaptor/rest/services/Hosted/CV_SimpleSubtype/FeatureServer/0/fieldGroups?f=pjson
JSON Response example
{
"fieldGroups": [
{
"name": "make_rating",
"restrictive": true,
"fields": [
"vmake",
"vrating"
]
},
{
"name": "make_model2",
"restrictive": true,
"fields": [
"vmake",
"vmodel"
]
}
]
}