- URL:
- https://[root]/portals/[portalID]/classifcation/validateClassification
- 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/validateClassification HTTP/1.1
Host: machine.domain.com
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary24xg3C7evhGxxvOk
Content-Length: []
Content-Disposition: form-data; name="classificationValueFile"; filename=""
Content-Type: application/octet-stream
------WebKitFormBoundary24xg3C7evhGxxvOk
Content-Disposition: form-data; name="classificationValue"
{"classification": "In-confidence","banner": "In-confidence//Legal Privilege/To be reviewed on 2025-05-05","distribution": "Legal Privilege","reviewDate": "2025-05-05"}
------WebKitFormBoundary24xg3C7evhGxxvOk
Content-Disposition: form-data; name="f"
pjson
------WebKitFormBoundary24xg3C7evhGxxvOk
Content-Disposition: form-data; name="token"
IrJJfqrMHKhCqEupZPKe5T8PO2AQX5T7ZpO7z6A0vW3C79IeazSsnW2_vSGNY60V4VXzSrEm9TpKsFBgtUZa7WLdS4aCg5Y4HWYeNWBj_ohR7APIpjQTDD9KW4NlreC9F-coXQv8dz8CgLoQjyOJOaHDO9twy4W32Bcym9pkKqlp1nqanyOw61jqWWezbrjf
------WebKitFormBoundary24xg3C7evhGxxvOk--
Description
The validate
operation validates a possible classification marking for an item against the organization's classification schema, ensuring that the potential marking matches the schema and meets its requirements. If the operation is successful, the classication marking can be assigned to an item or used to update an item's previous classification. To perform the operation, either a file containing the classification marking, or the classification marking JSON object, must be included in the request.
Request parameters
Parameter | Details |
---|---|
| A JSON file containing the classification marking. The structure of the marking should be a JSON object, containing properties related to the attributes specified in the schema and their appropriate values. |
| A JSON object of the classification marking. The JSON object should contain properties related to the attributes specified in the schema and reference a valid value for each attribute. The JSON object must include a
|
| The response format. The default format is Values: |
JSON Response example
{"success": true}