Giter Site home page Giter Site logo

Comments (7)

lymychp avatar lymychp commented on May 12, 2024

@pzhuk треба уточнити чи варто реалізовувати.
addresses.settlement_id - ІД населеного пункту
addresses.building - номер будинку
Як на мене, обидва атрибути повинні бути обов'язкові

from api-spec.

lymychp avatar lymychp commented on May 12, 2024

@sreva
how to get settlement_id examples:
curl -X GET \ http://demo.ehealth.world/api/uaddresses/details/district/f067ffa8-31ea-42fd-aec0-7655bb817eef/settlements \ -H 'authorization: Bearer scope_address' \ -H 'cache-control: no-cache' \ -H 'postman-token: 629d381a-0b45-ec4c-8bff-784bfdf4dc5b'

curl -X GET \ 'http://demo.ehealth.world/api/uaddresses/search/settlements?settlement_name=%D0%9B%D1%83%D1%86%D1%8C%D0%BA&region=%D0%92%D0%BE%D0%BB%D0%B8%D0%BD%D1%81%D1%8C%D0%BA%D0%B0&district=%D0%92%D0%BE%D0%BB%D0%B8%D0%BD%D1%81%D1%8C%D0%BA%D0%B0' \ -H 'authorization: Bearer UHdoeVoxOHl4enBsMVVsY1A3SXorQT09' \ -H 'cache-control: no-cache' \ -H 'postman-token: 267ba277-9008-98f5-eb00-1a4399110999'

from api-spec.

sreva avatar sreva commented on May 12, 2024

@lymychp Дякую
В цьому запиті
region = Create/Update Legal Entity.addresses.area
district = Create/Update Legal Entity.addresses.region
Чи я щось не вірно розумію?

from api-spec.

lymychp avatar lymychp commented on May 12, 2024

@sreva

В цьому запиті
region = Create/Update Legal Entity.addresses.area
district = Create/Update Legal Entity.addresses.region
Чи я щось не вірно розумію?

Правильно

@ytrrty
не працює і на реліз 01.06 не планується. Буде вже в повноцінному проді. Ну тобто сам ендпоінт є, але даних там ще нема

from api-spec.

sreva avatar sreva commented on May 12, 2024

@lymychp @ytrrty
я запитував про мапінг атрибутів, так як вони називаються по різному, а суть, з першого погляду, одна і таж

from api-spec.

lymychp avatar lymychp commented on May 12, 2024

@sreva
Ваше розуміння мапінгу правильне

from api-spec.

lymychp avatar lymychp commented on May 12, 2024

@sreva @pzhuk пропоную закрити тікет

from api-spec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.