diff --git a/api/client/fiche.php b/api/client/fiche.php new file mode 100644 index 0000000..97d4604 --- /dev/null +++ b/api/client/fiche.php @@ -0,0 +1,114 @@ + +{ + "status": "jeton_errone" +} + +{ + "status": "jeton_vide" +} + +{ + "status": "non_autorise" +} + +{ + "status": "requete_malformee" +} + +{ + "status": "etudiant_inconnu" +} + +{ + "status": "ok", + "loginLille1": "petite.jaja", + "idCarteEtudiant": "AHS0DIEX", + "solde": 48.3, += 3) { +?> + "decouvertAutorise": false, + + "transactions": [{ + "id": 5, + "type": 1, + "date": 1460369884183, + "montant": 50, + "qte": 0, + "valide": true + }, { + "id": 6, + "type": 3, + "date": 1460370161326, + "montant": 1.7, + "qte": 1, + "valide": true + }] +} diff --git a/api/ficheClient.php b/api/ficheClient.php deleted file mode 100644 index 97d4604..0000000 --- a/api/ficheClient.php +++ /dev/null @@ -1,114 +0,0 @@ - -{ - "status": "jeton_errone" -} - -{ - "status": "jeton_vide" -} - -{ - "status": "non_autorise" -} - -{ - "status": "requete_malformee" -} - -{ - "status": "etudiant_inconnu" -} - -{ - "status": "ok", - "loginLille1": "petite.jaja", - "idCarteEtudiant": "AHS0DIEX", - "solde": 48.3, -= 3) { -?> - "decouvertAutorise": false, - - "transactions": [{ - "id": 5, - "type": 1, - "date": 1460369884183, - "montant": 50, - "qte": 0, - "valide": true - }, { - "id": 6, - "type": 3, - "date": 1460370161326, - "montant": 1.7, - "qte": 1, - "valide": true - }] -} -- libgit2 0.21.2