Hankintailmoitukset / hilma-api

11 stars 0 forks source link

Exclusion grounds validation - required for subtype 4 #180

Closed eduardsmirnov closed 10 months ago

eduardsmirnov commented 11 months ago

Trying to validate an XML using Hilma API, see attached.

Getting an error saying that exclusion grounds is missing. Is it really missing in case of subtype 4?

`{"type":"Hilma API Error","title":"Validation error","status":400,"detail":"Content validation failed, see errors and tedValidationResult for details","errors":{"tenderingTerms.tendererQualificationRequest.specificTendererRequirement.tendererRequirementTypeCode":["Mandatory exclusion ground fraud is missing!","Mandatory exclusion ground terr-offence is missing!","Mandatory exclusion ground finan-laund is missing!","Mandatory exclusion ground human-traffic is missing!","Mandatory exclusion ground tax-pay is missing!","Mandatory exclusion ground socsec-pay is missing!","Mandatory exclusion ground nati-ground is missing!"]}

64d358ad5f6ff75142798a84.txt `

arinurkkala commented 11 months ago

I tried the validation endpoint with the same request with modified IssueDate and received 200 OK as response. Are you able to reproduce this issue? The validation logic publicly available and shouldn't concern subtype 4.

Juhisee commented 10 months ago

Closed as resolved