| API / APIs Radiofréquence | |
| Version ACE : 1.3 | |
|
Package : Standard Nom de la gnc : gnc_rf_rechprofil |
Fonctionnalité : SCE Mobile |
| Schémas d’entrée et de sortie : | voir en fin de document. |
The function looks for the first 5 active activity profiles for an operator.
API imbriquées : aucune.
Contraintes et limites de fonctionnement (hors périmètre)
| RAS. |
Paramétrage (PPE)
| RAS. |
Valeurs restituées par l’API
| VALEUR | REMARQUE |
| 70 | L’opérateur n’existe pas. |
| 71 | Il n’y a pas d’activité affectée à l’opérateur. |
Processus, contrôles et règles de gestion
| ETAPE | DESCRIPTION DU PROCESSUS |
| 1 | Recherche des types d’activité affectés à l’opérateur choisi. |
| Détail : |
Read the depot for the operator. If the operator does not exist the API returns the error code 70. The status of the operator is changed to connected (LOPR.statut = 3). Look for an active activity profile for the operator (LPRFOPR.active = 1). If no one active profile is found the API returns the error code 71. For each active activity profile found (up to 5). The API returns the identifier of the activity profile (lprfopr.idprfact), the short label of the activity profile (LPRFACT.lirprfact) and the activity type (lprfact.ltypact). |
Erreurs possibles
| CAUSE | EFFET |
| L’opérateur n’existe pas. |
Code retour 70, message « L'opérateur n'est pas un opérateur RF » |
| Il n’y a pas d’activité affectée à l’opérateur, donc pas de profil d’activité. |
Code retour 71, message « L'opérateur n'a pas de profils » |
| NOM DU PARAMÈTRE | TYPE | FORMAT | TAILLE | OBL O/N | REMARQUE |
| idopr | CHAR | 8 | O | Code opérateur |
| NOM | DESCRIPTION | FORMAT |
|---|---|---|
| idprfact1 | Identifier of the 1. active activity profile | Char(5) |
| lirprfact1 | Short label of the 1. active activity profile | Char(13) |
| ltypact1 | Type of the 1. active activity profile | Char(2) |
| idprfact2 | Identifier of the 2. active activity profile | Char(5) |
| lirprfact2 | Short label of the 2. active activity profile | Char(13) |
| ltypact2 | Type of the 2. active activity profile | Char(2) |
| idprfact3 | Identifier of the 3. active activity profile | Char(5) |
| lirprfact3 | Short label of the 3. active activity profile | Char(13) |
| ltypact3 | Type of the 3. active activity profile | Char(2) |
| idprfact4 | Identifier of the 4. active activity profile | Char(5) |
| lirprfact4 | Short label of the 4. active activity profile | Char(13) |
| ltypact4 | Type of the 4. active activity profile | Char(2) |
| idprfact5 | Identifier of the 5. active activity profile | Char(5) |
| lirprfact5 | Short label of the 5. active activity profile | Char(13) |
| ltypact5 | Type of the 5. active activity profile | Char(2) |