add Application

@PostMapping(headers = [] )
open fun addApplication(@PathVariable(value = "id") userId: String, @RequestHeader(value = "token") token: String, @ModelAttribute application: ApplicationsService.ApplicationPayload): String

Method to save and add in the system a new application

Return

the result of the request as String

Parameters

userId

The identifier of the user

token

The token of the user

application

The application payload to use