API REST du Service Synchro LRM (v1)

Download OpenAPI specification:Download

Endpoints REST exposés par le service de sychronisation du SI-SAMU à destination des LRM externes

cti

post

Appel Sortant. Crée un nouvel appel (clickToCall).

path Parameters
idCrra
required
string^FR[0-9][0-9AB]{2}$

Identifiant du CRRA

idNatPs
required
string [ 1 .. 32 ] characters

Identifiant de l'agent

Request Body schema: application/json

Information de l'appel

numTel
required
string^([#\+\*]|37000|00+)?[0-9]{2,15}$

Numéro de téléphone appelé

idDossier
string [ 0 .. 25 ] characters

Numéro du dossier en relation avec l’appel

Responses

Request samples

Content type
application/json
{
  • "numTel": "string",
  • "idDossier": "string"
}

Response samples

Content type
application/json
{
  • "message": "string",
  • "code": "string"
}

put

Corrélation d'un dossier à un appel.

path Parameters
idCrra
required
string^FR[0-9][0-9AB]{2}$

Identifiant du CRRA

idDossier
required
string [ 1 .. 25 ] characters

Identifiant du dossier

Request Body schema: application/json

Information du dossier

idNatPs
required
string [ 1 .. 32 ] characters

Identifiant national de l’agent

idAppel
string [ 0 .. 64 ] characters

Identifiant de la communication (interne SI-SAMU). En cas de non présence, le dossier sera associé à l’appel en cours de l’agent.

prioriteRegul
stringP[0-3]|NR

Priorité de régulation. Nomenclature SI-SAMU PRIORITE

localisation
string [ 0 .. 256 ] characters

Localisation du dossier (lieu d’intervention)

object (Appelant)

Information d'un appelant

Array of objects (Patient)

Liste des patients concernés par le DRM

Responses

Request samples

Content type
application/json
{
  • "idNatPs": "string",
  • "idAppel": "string",
  • "prioriteRegul": "string",
  • "localisation": "string",
  • "appelant": {
    },
  • "patients": [
    ]
}

Response samples

Content type
application/json
{
  • "message": "string",
  • "code": "string"
}