/* * Service Collaborateur API * * Api du service Collaborateur, utilisée pour récupérer les données des collaborateurs d'Apside * * OpenAPI spec version: 1.1.3 * Contact: lilian.gayet@apside-groupe.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using Swashbuckle.AspNetCore.Annotations; using Swashbuckle.AspNetCore.SwaggerGen; using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; using IO.Swagger.Attributes; using Microsoft.AspNetCore.Authorization; using IO.Swagger.Models; namespace IO.Swagger.Controllers { /// /// /// [ApiController] public class PeriodeDessaiApiController : ControllerBase { /// /// mettre à jour la première partie de la péridode d'essai /// /// La différence entre la première et celle en cours est que, si une période d'essai est prolongee, il y en a techniquement 2 /// Ce paramêtre permet de renseigner l'identifiant du collaborateur recherché /// /// Opération terminée avec succès /// Mauvais paramètre [HttpPut] [Route("/collaborateurs/{collabId}/PremierePeriodeEssai")] [ValidateModelState] [SwaggerOperation("Maj1PE")] public virtual IActionResult Maj1PE([FromRoute][Required]Guid? collabId, [FromBody]NouvellePeriodeEssai body) { //TODO: Uncomment the next line to return response 200 or use other options such as return this.NotFound(), return this.BadRequest(..), ... // return StatusCode(200); //TODO: Uncomment the next line to return response 400 or use other options such as return this.NotFound(), return this.BadRequest(..), ... // return StatusCode(400); throw new NotImplementedException(); } /// /// mettre à jour la première partie de la péridode d'essai /// /// La différence entre la première et celle en cours est que, si une période d'essai est prolongee, il y en a techniquement 2 /// Ce paramêtre permet de renseigner l'identifiant du collaborateur recherché /// /// Opération terminée avec succès /// Mauvais paramètre [HttpPatch] [Route("/collaborateurs/{collabId}/PremierePeriodeEssai")] [ValidateModelState] [SwaggerOperation("Maj1PEPatch")] public virtual IActionResult Maj1PEPatch([FromRoute][Required]Guid? collabId, [FromBody]NouvellePeriodeEssai body) { //TODO: Uncomment the next line to return response 200 or use other options such as return this.NotFound(), return this.BadRequest(..), ... // return StatusCode(200); //TODO: Uncomment the next line to return response 400 or use other options such as return this.NotFound(), return this.BadRequest(..), ... // return StatusCode(400); throw new NotImplementedException(); } /// /// mettre à jour une péridode d'essai /// /// La différence entre la première et celle en cours est que, si une période d'essai est prolongee, il y en a techniquement 2 /// Ce paramêtre permet de renseigner l'identifiant du collaborateur recherché /// /// Opération terminée avec succès /// Mauvais paramètre [HttpPut] [Route("/collaborateurs/{collabId}/PeriodeEssai")] [ValidateModelState] [SwaggerOperation("MajPE")] public virtual IActionResult MajPE([FromRoute][Required]Guid? collabId, [FromBody]NouvellePeriodeEssai body) { //TODO: Uncomment the next line to return response 200 or use other options such as return this.NotFound(), return this.BadRequest(..), ... // return StatusCode(200); //TODO: Uncomment the next line to return response 400 or use other options such as return this.NotFound(), return this.BadRequest(..), ... // return StatusCode(400); throw new NotImplementedException(); } /// /// mettre à jour une péridode d'essai en cours /// /// La différence entre la première et celle en cours est que, si une période d'essai est prolongee, il y en a techniquement 2 /// Ce paramêtre permet de renseigner l'identifiant du collaborateur recherché /// /// Opération terminée avec succès /// Mauvais paramètre [HttpPatch] [Route("/collaborateurs/{collabId}/PeriodeEssai")] [ValidateModelState] [SwaggerOperation("MajPEPatch")] public virtual IActionResult MajPEPatch([FromRoute][Required]Guid? collabId, [FromBody]NouvellePeriodeEssai body) { //TODO: Uncomment the next line to return response 200 or use other options such as return this.NotFound(), return this.BadRequest(..), ... // return StatusCode(200); //TODO: Uncomment the next line to return response 400 or use other options such as return this.NotFound(), return this.BadRequest(..), ... // return StatusCode(400); throw new NotImplementedException(); } } }