src/main/java/de/otto/teamdojo/web/rest/LevelSkillResource.java
@PostMapping("/level-skills")
    @Timed
    public ResponseEntity<LevelSkillDTO> createLevelSkill(@Valid @RequestBody LevelSkillDTO levelSkillDTO) throws URISyntaxException {
        log.debug("REST request to save LevelSkill : {}", levelSkillDTO);
        if (levelSkillDTO.getId() != null) {
            throw new BadRequestAlertException("A new levelSkill cannot already have an ID", ENTITY_NAME, "idexists");
        }
        LevelSkillDTO result = levelSkillService.save(levelSkillDTO);
        return ResponseEntity.created(new URI("/api/level-skills/" + result.getId()))
            .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))
            .body(result);
    }
/**
     * POST  /level-skills : Create a new levelSkill.
     *
     * @param levelSkillDTO the levelSkillDTO to create
     * @return the ResponseEntity with status 201 (Created) and with body the new levelSkillDTO, or with status 400 (Bad Request) if the levelSkill has already an ID
     * @throws URISyntaxException if the Location URI syntax is incorrect
     */
POST  /level-skills : Create a new levelSkill.
@param levelSkillDTO the levelSkillDTO to create
@return the ResponseEntity with status 201 (Created) and with body the new levelSkillDTO, or with status 400 (Bad Request) if the levelSkill has already an ID
@throws URISyntaxException if the Location URI syntax is incorrect
POST / level - skills : Create a new levelSkill . @param levelSkillDTO the levelSkillDTO to create @return the ResponseEntity with status 201 ( Created ) and with body the new levelSkillDTO or with status 400 ( Bad Request ) if the levelSkill has already an ID @throws URISyntaxException if the Location URI syntax is incorrect
@PostMapping("/level-skills")
    @Timed
    public ResponseEntity<LevelSkillDTO> createLevelSkill(@Valid @RequestBody LevelSkillDTO levelSkillDTO) throws URISyntaxException {
        log.debug("REST request to save LevelSkill : {}", levelSkillDTO);
        if (levelSkillDTO.getId() != null) {
            throw new BadRequestAlertException("A new levelSkill cannot already have an ID", ENTITY_NAME, "idexists");
        }
        LevelSkillDTO result = levelSkillService.save(levelSkillDTO);
        return ResponseEntity.created(new URI("/api/level-skills/" + result.getId()))
            .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))
            .body(result);
    }
@ PostMapping ( "/level-skills" ) @ Timed public ResponseEntity < LevelSkillDTO > createLevelSkill ( @ Valid @ RequestBody LevelSkillDTO levelSkillDTO ) throws URISyntaxException { log . debug ( "REST request to save LevelSkill : {}" , levelSkillDTO ) ; if ( levelSkillDTO . getId ( ) != null ) { throw new BadRequestAlertException ( "A new levelSkill cannot already have an ID" , ENTITY_NAME , "idexists" ) ; } LevelSkillDTO result = levelSkillService . save ( levelSkillDTO ) ; return ResponseEntity . created ( new URI ( "/api/level-skills/" + result . getId ( ) ) ) . headers ( HeaderUtil . createEntityCreationAlert ( ENTITY_NAME , result . getId ( ) . toString ( ) ) ) . body ( result ) ; }
POST  /level-skills : Create a new levelSkill.
POST / level - skills : Create a new levelSkill .