/validateClassificationSchema: Validate Classification Schema

URL:
https://[root]/portals/[portalID]/classifcation/validateClassificationSchema
Methods:
POST
Version Introduced:
11.4

Example usage

The following is a sample ArcGIS Enterprise POST request for the validateClassificationSchema operation:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
POST /sharing/rest/portals/0123456789ABCDEF/classification/validateClassificationSchema HTTP/1.1
Host: machine.domain.com
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryQ6A2tRlcmsxdN3tm
Content-Length: []

------WebKitFormBoundaryQ6A2tRlcmsxdN3tm
Content-Disposition: form-data; name="classificationSchemaFile"; filename=""
Content-Type: application/octet-stream

advCategorySchema.json
------WebKitFormBoundaryQ6A2tRlcmsxdN3tm
Content-Disposition: form-data; name="f"

pjson
------WebKitFormBoundaryQ6A2tRlcmsxdN3tm
Content-Disposition: form-data; name="token"

IrJJfqrMHKhCqEupZPKe5T8PO2AQX5T7ZpO7z6A0vW3C79IeazSsnW2_vSGNY60ViR6ffmGvBQM6gkBmiwCY6Z2Wh06_MEjvztNKX2_qhchAJaf3t9PXG19NIdayJI2DJNglxQxmbLzgJa3Np5vGoTpj5qXAcW45eg8d-KhRoSNrHFnkCtqVj-RNXYHnODY2
------WebKitFormBoundaryQ6A2tRlcmsxdN3tm--

Description

The validateClassificationSchema operation validates a classification schema file, ensuring that the schema is properly formatted before performing the Assign Classification Schema operation.

Request parameters

ParameterDetails

classificationSchemaFile

The classification schema JSON file. For information on how the syntax of a classification schema, see the Item classification reference documentation. Sample classification schemas can also be accessed from the ArcGIS/Classification GitHub repository.

f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example

1
{"success": true}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close