B U S I N E S S A N A L Y S T 10.2 R E S T R E P O S I T O R Y U T I L I T Y
Open Segmentation Target Group Endpoint
Returns XML serialized segmentation target group.
Availability: Business Analyst Server.
http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/OpenSegTargetGroup/execute
Parameters
Item (required) |
Folder item containing a segmentation target group. Type esriFolderItem. |
compatibility (optional) |
Business Analyst Server version the JSON output is compatible with. Type string. |
f (optional) |
Response format. Type string. Available formats: HTML, JSON, PJSON, XML. Default: HTML. |
token |
Authentication token. This parameter is required if your Business Analyst Server is secured. Type string. |
Returns
Variable of type string containing XML serialized segmentation target group.
Example Usage
The example below retrieves an existing segmentation target group item from Business Analyst Server Repository. In order to demonstrate this method, a market segmentation target group is created and saved to the repository. The OpenSegTargetGroup method is then used to retrieve the profile.
{ "results": [ { "paramName":"TargetGroupData", "dataType":"GPString", "value":"<TargetGroupData><Target Name=\"Core\"><Cluster Code=\"1\" Name=\"Top Rung\" />...</TargetGroupData>" } ], "messages": [ ] }
NOTE: The response has been abbreviated where "..." is noted.
See Also