SWS_ModificationSalarieProtege
  • 01 Feb 2023
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

SWS_ModificationSalarieProtege

  • Sombre
    Lumière
  • PDF

Résumé de l’article

Fonction API

SWS_ModificationSalarieProtege

Description

Permet d'ajouter, modifier ou supprimer les informations liées à la protection d'un salarié protégé.

Groupe de fonctions API

Code API : D30 / SAL003

Paramètres de la requête

ParamètreTypeDescription
Tokenstring

Token d'authentification renvoyé en réponse à l'authentification via SWS_SiteLogin

NumeroDossierstring

Numéro du dossier concerné par la requête

MatriculestringMatricule du salarié concerné
SalarieProtegeCPAISWSSalarieProtege[]Liste d'éléments structurés contenant les informations liées à la protection du salarié (cf. détail ci-dessous). Laisser ce paramètre à null pour supprimer les informations de protection

CPAISWSSalarieProtege

ParamètreTypeDescription
DateDebutdateTimeDate de début de la protection
DateFindateTimeDate de fin de la protection
CodeProtectionstringMotif de la protection :
Motif de protectionValeur correspondante
Délégué syndical01
Délégué du personnel02
Membre du comité d'entreprise (CE)03
Représentant du personnel au Comité d'Hygiène, de Sécurité et des Conditions de Travail (CHSCT)04
Conseiller prud'homal05
Délégué du personnel au CSE06
Autre motif99

Paramètres de la réponse

ParamètreTypeDescription
SWS_ModificationSalarieProtegeResultSWS_ModificationSalarieProtegeResult

Élément structuré contenant la réponse à la requête (Détail ci-dessous)

SWS_ModificationSalarieProtegeResult

ParamètreTypeDescription
Errorstring

Vide s'il n'y a pas d'erreur, sinon contient la description de l'erreur rencontrée

Requête

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SWS_ModificationSalarieProtege xmlns="http://www.silae.fr/">
      <Token>string</Token>
      <NumeroDossier>string</NumeroDossier>
      <Matricule>string</Matricule>
      <SalarieProtege>
        <CPAISWSSalarieProtege>
          <DateDebut>yyyy-mm-ddThh:mm:ss</DateDebut>
          <DateFin>yyyy-mm-ddThh:mm:ss</DateFin>
          <CodeProtection>string</CodeProtection>
        </CPAISWSSalarieProtege>
        <CPAISWSSalarieProtege>
          <DateDebut>yyyy-mm-ddThh:mm:ss</DateDebut>
          <DateFin>yyyy-mm-ddThh:mm:ss</DateFin>
          <CodeProtection>string</CodeProtection>
        </CPAISWSSalarieProtege>
      </SalarieProtege>
    </SWS_ModificationSalarieProtege>
  </soap12:Body>
</soap12:Envelope>

Réponse

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SWS_ModificationSalarieProtegeResponse xmlns="http://www.silae.fr/">
      <SWS_ModificationSalarieProtegeResult>
        <Error>string</Error>
      </SWS_ModificationSalarieProtegeResult>
    </SWS_ModificationSalarieProtegeResponse>
  </soap12:Body>
</soap12:Envelope>

Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.