Справочник «Страховые компании»
Получение всех элементов справочника
#!php
/udata/data/getPolicyCompanies/
#!xml
<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getPolicyCompanies" generation-time="0.219543">
<response>
<code>200</code>
<data>
<item>
<id>1</id>
<code>01001</code>
<name>ФИЛИАЛ ООО ВТБ МЕДИЦИНА В РЕСПУБЛИКЕ АДЫГЕЯ</name>
<region_code>01</region_code>
<is_active>1</is_active>
</item>
...
...
...
<item>
<id>582</id>
<code>86003</code>
<name>ООО "МСК "МАКСИМУС"</name>
<region_code>92</region_code>
<is_active>1</is_active>
</item>
</data>
</response>
</udata>
Получение страховой компании по реестровому номеру
#!php
/udata/data/getPolicyCompanyByCode/{$guid}
#!xml
<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getPolicyCompanyByCode" generation-time="0.078742">
<response>
<code>200</code>
<data>
<id>582</id>
<code>86003</code>
<name>ООО "МСК "МАКСИМУС"</name>
<region_code>92</region_code>
<is_active>1</is_active>
</data>
</response>
</udata>
Получение страховой компании по ID
#!php
/udata/data/getPolicyCompanyById/{$id}
#!xml
<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getPolicyCompanyById" generation-time="0.079509">
<response>
<code>200</code>
<data>
<id>1</id>
<code>01001</code>
<name>ФИЛИАЛ ООО ВТБ МЕДИЦИНА В РЕСПУБЛИКЕ АДЫГЕЯ</name>
<region_code>01</region_code>
<is_active>1</is_active>
</data>
</response>
</udata>
No Comments