Справочник «Профили коек»
Получение всех элементов справочника
#!php
/udata/data/getBedProfiles/
#!xml
<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getBedProfiles" generation-time="0.512245">
<response>
<code>200</code>
<data>
<item>
<id>4</id>
<department_profile_id>2</department_profile_id>
<name>беременных и рожениц (акушерство и гинекология)</name>
<is_active>1</is_active>
</item>
...
...
...
<item>
<id>86</id>
<department_profile_id>122</department_profile_id>
<name>эндокринологические</name>
<is_active>1</is_active>
</item>
</data>
</response>
</udata>
Получение профиля койки по ID
#!php
/udata/data/getBedProfileById/{$id}
#!xml
<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getBedProfileById" generation-time="2.447575">
<response>
<code>200</code>
<data>
<id>1</id>
<department_profile_id>3</department_profile_id>
<name>беременных и рожениц (акушерское дело)</name>
<is_active>0</is_active>
</data>
</response>
</udata>