Web-service postcerbere
=======================

Cette route permet de récupérer des informations sur l'utilisateur s'étant authentifier via le portail d'authentification
en utilisant le lien fourni par le web-service precerbere.

Paramètres HTTP
---------------

========= ============
Paramètre Valeur
========= ============
Route     postcerbere
Méthode   GET
========= ============


Paramètres
----------

========== ====================== ==== ===
Nom        Description            Type O/F
========== ====================== ==== ===
idsession  Identifiant de session str  O
========== ====================== ==== ===

Retour
------

La PHyC renvoie au format JSON les paramètres suivants:

========= =================================
Paramètre Description
========= =================================
idsession identifiant de session
cdcontact code du contact
json      des informations liés contact
          nom, prénom, email au format json
========= =================================

Erreurs du web-service
----------------------
- l'identifiant de session est inactif ou périmé. L'utilisateur ne s'est pas authentifié au portail Cerbère.
- le contact est inactif
- l'utilisateur authentifié âr le portail d'authentification n'existe pas en PHyC

Propriété json
^^^^^^^^^^^^^^

.. code-block:: json
   :caption: Ressource au format json

   {
     "Scenario": {},
     "RefHyd": {
       "Intervenants": [
         {
           "CdIntervenant": "1537"
           "Contacts": [
             {
               "CdContact": "1234",
               "NomContact": "FOO",
               "PrenomContact": "Bar"
               "...": "..."
               "MelContact": "FOO@bar.fr",
               "...": "..."
             }
           ]
         }
       ]
     }
   }
