Validate User Schema Json (POST)
This API allows you to validate that the user schema you will use to create or update users in the alumni platform is valid and won’t generate errors during your calls, allowing you to verify without affecting real data.
Call
In this call, you will be able to send the schema with the fields you wish to use to create or update users with their possible values. Also, it is possible to use the “disabledRequiredFields” flag, which will disable the system validation for required fields if true, making it possible for you to perform calls without including all the required fields, the default value for this flag is FALSE.
Response
This API will return an empty message if the validation was successful or a message with the error if there was something wrong in the schema.
- For a Successful call:
{}- For a call where a fake field was added:
{
"message": "{\"message\":\"Error while validating User Schema\",\"errors\":[\"#: extraneous key [fakeField] is not permitted\"]}"
}Updated 7 months ago
