Versions Compared

Key

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

...

Page Properties
hiddentrue


Status

Status
colourGreen
titleDONE

Priority
Note
Assignee

Ressources

Remarks


As of Versionproduct version 1.0 | component version 1.0
Request MethodPOST
Response FormatJSON
DescriptionThis endpoint is used to validate a permissions file to determine its fitness to become the new global permissions file of the yuuvis® system. 
Request HeadersContent-Type: application/xml
Response Example

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

Code Block
title200 - no validation errors, the role set has been updated
{
    "validationErrors": []
}


Code Block
title422 - there were validation errors, the role set was not updated
{
    "validationErrors": [
        {
            "message": "Unable to unmarshal schema. [line: 14][column: 13] cvc-complex-type.2.4.a: Invalid content was found starting with element 
			'condition'. One of '{\"http://optimal-systems.org/ns/dmscloud/roleset/\":action}' is expected."
        }
    ]
}


...