- 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 validate
operation:
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 validate
operation validates a classification schema file, ensuring that the schema is properly formatted before performing the Assign Classification Schema operation.
Request parameters
Parameter | Details |
---|---|
| 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. |
| The response format. The default format is Values: |
JSON Response example
{"success": true}