Comments (3)
Also, tried to perform request with array of 2 different kved's
Receiving response which has only one single kved
Test data: test_le_2_kved.tar.gz
Full response:
{
"urgent": {
"security": {
"redirect_uri": "https://dummy.com/",
"client_secret": "VXhoT21CdHpEU2o1b0ZEcGhNMloxZz09",
"client_id": "14b002cb-724b-4836-9ebf-d80deeb59356"
},
"employee_request_id": "efafc928-e2bb-408b-aaef-0af63d62bb99"
},
"meta": {
"url": "http://api-svc.il/api/legal_entities",
"type": "object",
"request_id": "m0hnaosj6p7qh4t1c5u11ctg7nsu3qhj",
"code": 200
},
"data": {
"updated_by": "ca5a94eb-ff85-46d4-abd7-1ca95a911f40",
"type": "MSP",
"status": "NOT_VERIFIED",
"short_name": "КНП 'Перший Черкаський міський ЦПМСД'",
"public_name": "КНП 'Перший Черкаський міський ЦПМСД'",
"phones": [
{
"type": "MOBILE",
"number": "+380674023650"
}
],
"owner_property_type": "STATE",
"name": "КНП 'Перший Черкаський міський ЦПМСД'",
"medical_service_provider": {
"licenses": [
{
"what_licensed": "реалізація наркотичних засобів",
"license_number": "fd123443",
"issued_date": "1991-08-19",
"issued_by": "Кваліфікацйна комісія",
"expiry_date": "1991-08-19",
"active_from_date": "1991-08-19"
}
],
"accreditation": {
"order_no": "fd123443",
"order_date": "1991-08-19",
"issued_date": "1991-08-19",
"expiry_date": "1991-08-19",
"category": "FIRST"
}
},
"legal_form": "120",
"kveds": [
"86.10"
],
"is_active": true,
"inserted_by": "ca5a94eb-ff85-46d4-abd7-1ca95a911f40",
"id": "14b002cb-724b-4836-9ebf-d80deeb59356",
"email": "[email protected]",
"edrpou": "38782323",
"addresses": [
{
"zip": "02090",
"type": "REGISTRATION",
"street_type": "STREET",
"street": "вул. Ніжинська",
"settlement_type": "CITY",
"settlement_id": "43432432",
"settlement": "Київ",
"region": "Бердичівський",
"country": "UA",
"building": "15",
"area": "Житомирська",
"apartment": "23"
}
]
}
}
from api-spec.
We've investigated the problem. It's a bug
As we decided earlier on the start of the project - kveds can't be changed via PUT legal entity API.
That's why, if we receive different set of kveds - we will respond with 422 error
from api-spec.
Fixed
from api-spec.
Related Issues (20)
- ДЕМО Update Contract Employees. HOT 2
- При обновлении контракта возникает ошибка 409 request_conflict HOT 3
- Не валидируется причина удаления заявки на договор
- Scope issue for nhs_verify and divisions methods HOT 1
- DEMO: Возвращаются invalid или expired access_token при обмене Code Grant на Access Token HOT 5
- PROD Великі затримкі із доставкою СМС HOT 1
- 500 Create/Update Legal Entity
- DEMO Не отправляется смс с кодом верификации HOT 4
- GET employee_request by id
- DEMO: Не удаётся подписать Declaration Request HOT 3
- Замінити інформацію МІС "Health24" в розділі providers | Портал
- Не вдається авторизуватися на демо
- Не работают PreProd NHS tokens for contract testing
- Замінити інформацію МІС "Облік медичних кадрів України та пацієнтів" в розділі providers | Портал HOT 1
- Переведення існуючих декларацій на нове місце роботи. HOT 2
- Create/Update Legal Entity
- Ошибка авторизации десктопного приложения в демо среде
- Api free account
- Помилка авторизації в систему E-Health HOT 1
- GET Permission on scope in EHealth
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-spec.