SWS_ModificationSalarieProtege
- 01 Feb 2023
- 1 Minute à lire
- Impression
- SombreLumière
- PDF
SWS_ModificationSalarieProtege
- Mis à jour le 01 Feb 2023
- 1 Minute à lire
- Impression
- SombreLumière
- PDF
Résumé de l’article
Avez-vous trouvé ce résumé utile ?
Merci pour vos commentaires
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ètre | Type | Description |
---|---|---|
Token | string | Token d'authentification renvoyé en réponse à l'authentification via SWS_SiteLogin |
NumeroDossier | string | Numéro du dossier concerné par la requête |
Matricule | string | Matricule du salarié concerné |
SalarieProtege | CPAISWSSalarieProtege[] | 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ètre | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DateDebut | dateTime | Date de début de la protection | ||||||||||||||||
DateFin | dateTime | Date de fin de la protection | ||||||||||||||||
CodeProtection | string | Motif de la protection :
|
Paramètres de la réponse
Paramètre | Type | Description |
---|---|---|
SWS_ModificationSalarieProtegeResult | SWS_ModificationSalarieProtegeResult | Élément structuré contenant la réponse à la requête (Détail ci-dessous) |
SWS_ModificationSalarieProtegeResult
Paramètre | Type | Description |
---|---|---|
Error | string | 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 ?