Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page Properties
hiddentrue
idDONE

Product Version
Report Note
Assignee

Resources & Remarks

Modification History

NameDateProduct VersionAction
Antje08 FEB 20212.4New page properties macro.


...

The result is a JSON structure containing a validationErrors list, which could be an empty list.

As of Versionproduct version 1.0 | component version 1.0
Request MethodPOST
Response FormatJSON
Required Permission

available if listed in authorization.accesses in authentication-prod.yml and the specified access condition is matched.

>> AUTHENTICATION Service
DescriptionThis endpoint is used to validate a tenant schema candidate file. 

Validate the XML file passed in the request body for the usability as tenant schema for the tenant which the requesting user belongs to. The currently used tenant schema is NOT updated.

For details and examples regarding request and response please visit Schema - Defining Object Types.

Request HeadersContent-Type: application/xmlRequest ExampleResponse Example
Code Block
title200 - no validation errors
{
    "validationErrors": []
}
Code Block
title422 - there were validation errors
{ "validationErrors": [ { "message": "Ambiguous ids. There are 2 property type definitions with the id 'tenDefault:from'.", "serviceErrorCode": 2110 }, { "message": "Wrong base id. The base id of the system:document type definition 'tenDefault:email' must be 'system:document', but it is 'system:folder'.", "serviceErrorCode": 2131 }, { "message": "Invalid property reference 'fromm' in type definition 'tenDefault:email'.", "serviceErrorCode": 2132 }, { "message": "Invalid secondary object type reference 'appAcl:aclowner' in type definition 'tenDefault:email'.", "serviceErrorCode": 2135 } ] }