We are trying the following scenario using WC1 API.
First, we tried to create a new case for an entity with Passport details using WC1 API. We included the PASSPORT_CHECK in the provider type and screened. The case was created successfully in WC1 with Passport details.
Now in our application, we decided not to screen the passport for this case. So, we removed the PASSPORT_CHECK in the provider type and tried to rescreen the case. The WC1 API for rescreen throws back an error saying - "Provided secondary fields must be compatible with the used entity type and provider type. Available secondary fields for each pair of provider type and entity type are provided in the group\u0027s case template.".
This clearly shows that once passport check is done for a case, WC1 API is not allowing to rescreen without passport. But our application has this requirement to do so.
Also, in WC1 web application, we are able to disable the Passport check by editing the case and able screen for the same case successfully (which was created with passport check via API). How do we revert the passport check via API?