toulouse-maelis: add endpoint for school pre-registration with exemption (#73138) #31

Merged
smihai merged 1 commits from wip/73138-toulouse-maelis-add-school-pre-registration-with-exemption into main 2023-01-09 20:32:13 +01:00
Owner
No description provided.
nroche approved these changes 2023-01-09 18:54:16 +01:00
nroche left a comment
Owner

Il faut rendre le champ derogComment obligatoire et pour moi c'est bon.

Il faut rendre le champ `derogComment` obligatoire et pour moi c'est bon.
@ -840,0 +849,4 @@
'datePresubscribe',
'levelCode',
'idRequestSchool1',
'derogReasonCode',
Owner

Le commentaire relatif à la dérogation est obligatoire :
https://demo-toulouse.sigec.fr/maelisws-toulouse-recette/doc/family.html#bean-PresubscribeSchoolDerog

$ curl 'https://parsifal-passerelle.dev.publik.love/toulouse-maelis/test/create-child-school-pre-registration-with-exemption' -d '{"numPerson": "248478", "schoolYear": "2022", "levelCode": "CE1", "datePresubscribe": "2022-01-01", "idRequestSchool1": "2435", "derogReasonCode": "07DERO-1"}'
{"err": 1, "err_class": "zeep.exceptions.ValidationError", "err_desc": "Missing element derogComment (presubscribeSchoolDerog.derogComment)", "data": null}
Le commentaire relatif à la dérogation est obligatoire : https://demo-toulouse.sigec.fr/maelisws-toulouse-recette/doc/family.html#bean-PresubscribeSchoolDerog ``` $ curl 'https://parsifal-passerelle.dev.publik.love/toulouse-maelis/test/create-child-school-pre-registration-with-exemption' -d '{"numPerson": "248478", "schoolYear": "2022", "levelCode": "CE1", "datePresubscribe": "2022-01-01", "idRequestSchool1": "2435", "derogReasonCode": "07DERO-1"}' {"err": 1, "err_class": "zeep.exceptions.ValidationError", "err_desc": "Missing element derogComment (presubscribeSchoolDerog.derogComment)", "data": null} ```
Author
Owner

Tu as raison, merci.
Corrigé.

Tu as raison, merci. Corrigé.
smihai force-pushed wip/73138-toulouse-maelis-add-school-pre-registration-with-exemption from 0ecb845a9e to 2d3c604f10 2023-01-09 20:20:05 +01:00 Compare
smihai merged commit 2d3c604f10 into main 2023-01-09 20:32:13 +01:00
smihai deleted branch wip/73138-toulouse-maelis-add-school-pre-registration-with-exemption 2023-01-09 20:32:13 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: entrouvert/passerelle#31
No description provided.