ehealth-ua / api-spec

Apache License 2.0
30 stars 24 forks source link

При запиті на проді GetDeclarationsList не повертаеться status. #229

Closed pieskov closed 6 years ago

pieskov commented 6 years ago

GET /api/declarations HTTP/1.1 Host: api.ehealth-ukraine.org Authorization: Bearer api-key: Cache-Control: no-cache Postman-Token: 037eb52c-e721-a0c4-4c15-4dee9f7331f2

{ "paging": { "total_pages": 1, "total_entries": 2, "page_size": 50, "page_number": 1 }, "meta": { "url": "http://api-svc.il/api/declarations", "type": "list", "request_id": "478fab4b-b184-474c-a303-53c19b87b174#28602", "code": 200 }, "data": [ { "updated_at": "2018-02-08T09:54:04.233127Z", "start_date": "2018-02-08", "person": { "second_name": "", "last_name": "", "id": "f23ff063-3678-4e53-880d-430ead172e62", "first_name": "" }, "legal_entity": { "short_name": "ФОП Пєсков Д.О.", "name": "ФОП Пєсков Д.О.", "id": "2c7280fb-26e3-442e-880a-50b9c04712d4", "edrpou": "3002617550" }, "inserted_at": "2018-02-08T09:54:04.233114Z", "id": "0003da0f-5009-41bc-b2f1-637450a1b3a5", "end_date": "2021-02-08", "employee": { "position": "P10", "id": "706c2b98-f22a-4b18-aca9-3f8de3950f29", "employee_type": "DOCTOR" }, "division": { "name": "", "id": "c7650d72-ea4a-4773-8e44-2044e511c62d" }, "declaration_request_id": "5c6b2a93-ffa1-460c-aaba-85c6db7c6f77" }, ... ] }

svetavedmed commented 6 years ago

Done on Dev

svetavedmed commented 6 years ago

fixed on prod