Closed damikael closed 3 years ago
The result of function _get_indicepa_byipacode can contain more records because more AOO can be related to the same entity identified by IPA code. In this case the check "The IPACode element MUST have a valid value present on IPA" will fail.
I suggest to use, instead, the official WS05_AMM web service: https://indicepa.it/ipa-portale/dati-statistiche/web-service
https://github.com/italia/spid-sp-test/blob/436363af9eaf916213ff895fbc9bbcee91b14d19/src/spid_sp_test/metadata_public.py#L163
The result of function _get_indicepa_byipacode can contain more records because more AOO can be related to the same entity identified by IPA code. In this case the check "The IPACode element MUST have a valid value present on IPA" will fail.
I suggest to use, instead, the official WS05_AMM web service: https://indicepa.it/ipa-portale/dati-statistiche/web-service
https://github.com/italia/spid-sp-test/blob/436363af9eaf916213ff895fbc9bbcee91b14d19/src/spid_sp_test/metadata_public.py#L163