Skip to content
Snippets Groups Projects
Commit 3350579f authored by Fabrice Gangler's avatar Fabrice Gangler :art:
Browse files

FIX: update "Pôle Emploi" responses

parent 02acb136
No related branches found
No related tags found
No related merge requests found
Pipeline #16334 failed
......@@ -6,7 +6,7 @@ fe1274e2b1eb8b1adbf68ecd199df399ca23e8cb194a9699cf47ac75ebe30531 ../../build/CU
fe1274e2b1eb8b1adbf68ecd199df399ca23e8cb194a9699cf47ac75ebe30531 ../../build/CURL_situations-pole-emploi_endpoint/situations-pole-emploi_token-ce469960-7bfc-401d-8599-686d158939ae.json
fe1274e2b1eb8b1adbf68ecd199df399ca23e8cb194a9699cf47ac75ebe30531 ../../build/CURL_situations-pole-emploi_endpoint/situations-pole-emploi_token-ea903339-692b-4cc2-96b3-09a2d6acd4d2.json
fe1274e2b1eb8b1adbf68ecd199df399ca23e8cb194a9699cf47ac75ebe30531 ../../build/CURL_situations-pole-emploi_endpoint/situations-pole-emploi_token-d7e9c9f4c3ca00caadde31f50fd4521a.json
4f21999c54f1858adc0de5bc6c6364e2dd3cfa83b82706ac2449b8b782b14baa ../../build/CURL_situations-pole-emploi_endpoint/situations-pole-emploi_token-fd38830c480221d0ff0b6013c4de6c32.json
43a59202cfcd8742d0a6d42c4971a46eafd5cfb5416c1ee599df234d20a09405 ../../build/CURL_situations-pole-emploi_endpoint/situations-pole-emploi_token-fd38830c480221d0ff0b6013c4de6c32.json
fe1274e2b1eb8b1adbf68ecd199df399ca23e8cb194a9699cf47ac75ebe30531 ../../build/CURL_situations-pole-emploi_endpoint/situations-pole-emploi_token-1b8bea9a1df409af64c995e58014f642.json
c95053c814dada5f1638fe4b8d2e38cb7cdc42f9ca7e8fc360e2e65e72e39507 ../../build/CURL_situations-pole-emploi_endpoint/situations-pole-emploi_token-fakeToken.json
c95053c814dada5f1638fe4b8d2e38cb7cdc42f9ca7e8fc360e2e65e72e39507 ../../build/CURL_situations-pole-emploi_endpoint/situations-pole-emploi_token-missing_API_TOKEN.json
{"identifiant":"georges_moustaki_77","civilite":"M.","nom":"Moustaki","nomUsage":"Moustaki","prenom":"Georges","sexe":"M","dateNaissance":"1934-05-03T00:00:00.000Z","codeCertificationCNAV":"VC","telephone":"0629212921","email":"georges@moustaki.fr","adresse":{"codePostal":"75018","INSEECommune":"75118","localite":"75018 Paris","ligneVoie":"3 rue des Huttes","ligneNom":"MOUSTAKI"},"dateInscription":"1965-05-03T00:00:00.000Z","dateCessationInscription":"1966-05-03T00:00:00.000Z","categorieInscription":"PERSONNE SANS EMPLOI DISPONIBLE DUREE INDETERMINEE PLEIN TPS"}
\ No newline at end of file
{"identifiant":"georges_moustaki_77","civilite":"M.","nom":"Moustaki","nomUsage":"Moustaki","prenom":"Georges","sexe":"M","dateNaissance":"1934-05-03T00:00:00.000Z","codeCertificationCNAV":"VC","telephone":"0629212921","email":"georges@moustaki.fr","adresse":{"codePostal":"75018","INSEECommune":"75118","localite":"75018 Paris","ligneVoie":"3 rue des Huttes","ligneNom":"MOUSTAKI"},"dateInscription":"1965-05-03T00:00:00.000Z","dateCessationInscription":"1966-05-03T00:00:00.000Z","codeCategorieInscription":1,"libelleCategorieInscription":"PERSONNE SANS EMPLOI DISPONIBLE DUREE INDETERMINEE PLEIN TPS"}
\ No newline at end of file
## 2021.06.14 - Update of PoleEmploi responses
> Changement des données renvoyées par PE. <br>
> Le champ "categorieInscription", auparavant textuel, est maintenant <br>
> splitté en deux champs, `codeCategorieInscription`, chiffre, et `libelleCategorieInscription`, texte.
## Diff
```diff
"dateInscription": "1965-05-03T00:00:00.000Z",
"dateCessationInscription": "1966-05-03T00:00:00.000Z",
- "categorieInscription": "PERSONNE SANS EMPLOI DISPONIBLE DUREE INDETERMINEE PLEIN TPS"
+ "codeCategorieInscription": 1,
+ "libelleCategorieInscription": "PERSONNE SANS EMPLOI DISPONIBLE DUREE INDETERMINEE PLEIN TPS"
}
```
## Before
```json
{
"identifiant": "georges_moustaki_77",
"civilite": "M.",
"nom": "Moustaki",
"nomUsage": "Moustaki",
"prenom": "Georges",
"sexe": "M",
"dateNaissance": "1934-05-03T00:00:00.000Z",
"codeCertificationCNAV": "VC",
"telephone": "0629212921",
"email": "georges@moustaki.fr",
"adresse": {
"codePostal": "75018",
"INSEECommune": "75118",
"localite": "75018 Paris",
"ligneVoie": "3 rue des Huttes",
"ligneNom": "MOUSTAKI"
},
"dateInscription": "1965-05-03T00:00:00.000Z",
"dateCessationInscription": "1966-05-03T00:00:00.000Z",
"categorieInscription": "PERSONNE SANS EMPLOI DISPONIBLE DUREE INDETERMINEE PLEIN TPS"
}
```
## After
```json
{
"identifiant": "georges_moustaki_77",
"civilite": "M.",
"nom": "Moustaki",
"nomUsage": "Moustaki",
"prenom": "Georges",
"sexe": "M",
"dateNaissance": "1934-05-03T00:00:00.000Z",
"codeCertificationCNAV": "VC",
"telephone": "0629212921",
"email": "georges@moustaki.fr",
"adresse": {
"codePostal": "75018",
"INSEECommune": "75118",
"localite": "75018 Paris",
"ligneVoie": "3 rue des Huttes",
"ligneNom": "MOUSTAKI"
},
"dateInscription": "1965-05-03T00:00:00.000Z",
"dateCessationInscription": "1966-05-03T00:00:00.000Z",
"codeCategorieInscription": 1,
"libelleCategorieInscription": "PERSONNE SANS EMPLOI DISPONIBLE DUREE INDETERMINEE PLEIN TPS"
}
```
{
"identifiant": "georges_moustaki_77",
"civilite": "M.",
"nom": "Moustaki",
"nomUsage": "Moustaki",
"prenom": "Georges",
"sexe": "M",
"dateNaissance": "1934-05-03T00:00:00.000Z",
"codeCertificationCNAV": "VC",
"telephone": "0629212921",
"email": "georges@moustaki.fr",
"adresse": {
"codePostal": "75018",
"INSEECommune": "75118",
"localite": "75018 Paris",
"ligneVoie": "3 rue des Huttes",
"ligneNom": "MOUSTAKI"
},
"dateInscription": "1965-05-03T00:00:00.000Z",
"dateCessationInscription": "1966-05-03T00:00:00.000Z",
"codeCategorieInscription": 1,
"libelleCategorieInscription": "PERSONNE SANS EMPLOI DISPONIBLE DUREE INDETERMINEE PLEIN TPS"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment