Closed sreva closed 6 years ago
GET https://api.ehealth.world/api/declarations?status=active
employee_type = DOCTOR
{ "meta" : { "url" : "http://api.ehealth.world/api/declarations", "type" : "object", "request_id" : "7eq127uea164k9rrt4d67kjvqaoilmqs", "code" : 403 }, "error" : { "type" : "forbidden", "message" : "This API method returns only exact match results, please retry with more specific search parameters" } }
При запиті: https://api.ehealth.world/api/declarations і https://api.ehealth.world/api/declarations?status=pending_verification - повертає http 200
https://api.ehealth.world/api/declarations
https://api.ehealth.world/api/declarations?status=pending_verification
fixed on all the environments
Steps to Reproduce (Repro steps)
GET https://api.ehealth.world/api/declarations?status=active
employee_type = DOCTOR
Actual result
{ "meta" : { "url" : "http://api.ehealth.world/api/declarations", "type" : "object", "request_id" : "7eq127uea164k9rrt4d67kjvqaoilmqs", "code" : 403 }, "error" : { "type" : "forbidden", "message" : "This API method returns only exact match results, please retry with more specific search parameters" } }
При запиті:
https://api.ehealth.world/api/declarations
іhttps://api.ehealth.world/api/declarations?status=pending_verification
- повертає http 200Expected result