- URL:https://[root]/portals/[portalID]/memberCategorySchema
Example usage
The following is a sample ArcGIS Online request URL used to access the memberCategorySchema resource:
https://org.arcgis.com/sharing/rest/portals/0123456789ABCDEF/memberCategorySchema?f=pjson
The following is a sample ArcGIS Enterprise request URL used to access the memberCategorySchema resource:
https://machine.domain.com/webadaptor/sharing/rest/portals/0123456789ABCDEF/memberCategorySchema?f=pjson
Description
The memberCategorySchema resource returns the member category schema of an organization.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default format is html. Values: html | json | pjson |
Response properties
Property | Details |
---|---|
memberCategorySchema | A JSON object that consists of a JSON array representing top level categories. Each category object has a title and a categories property. The categories property consists of an array of objects that represent the secondary and tertiary categories. Example
|
JSON Response syntax
{
"memberCategorySchema": [
{
"title": "<parent member category title1>",
"categories": [
{
"title": "<child member category title>"
},
{
"title": "<child member category title>",
}
]
},
{
"title": "<parent member category title2>",
"categories": [
{
"title": "<child member category title>"
},
{
"title": "<child member category title>"
}
]
}
]
}
JSON Response example
{
"memberCategorySchema": [
{
"title": "Location",
"categories": [
{
"title": "Redlands, CA"
},
{
"title": "Portland, OR",
}
]
},
{
"title": "Department",
"categories": [
{
"title": "Software Products"
},
{
"title": "Software Development"
}
]
}
]
}