Using image docker.sunet.se/dc4eu/apigw:apiv28
I uploaded a document with the following meta object:
"meta": {
"authentic_source": "DE:DRV21001",
"collect": {
},
"credential_valid_from": 0,
"credential_valid_to": 0,
"document_id": "12345",
"document_type": "PDA1",
"document_version": "1.0.0",
"real_data": true
}
Then i uploaded a second document by changing the document_type to "EHIC".
Querying the document with Type PDA1 works just fine but when i try to query with type EHIC i get an error
message that no documents could be found.
This is the request i used for queriying the EHIC document:
{
"authentic_source": "DE:DRV21001",
"document_id": "12345",
"document_type": "EHIC"
}
As a document is identified by document_id, authentic_source and document_type it should be possible to upload documents with same id but different type.