validate Application Payload

Method to validate the payload used in the addApplication or editApplication operations

Return

null if the payload is valid or the error message if not valid as String

Parameters

application

The payload used