Справочник «Типы полисов»

Получение всех элементов справочника 
 #!php

/udata/data/getPolicyTypes/
 
 #!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getPolicyTypes" generation-time="0.143510">
 <response>
 <code>200</code>
 <data>
 <item>
 <id>1</id>
 <guid>old</guid>
 <name>Полис ОМС старого образца</name>
 <is_active>1</is_active>
 </item>
 <item>
 <id>2</id>
 <guid>temporary</guid>
 <name>Временное свидетельство</name>
 <is_active>1</is_active>
 </item>
 <item>
 <id>3</id>
 <guid>enp</guid>
 <name>Полис ОМС единого образца</name>
 <is_active>1</is_active>
 </item>
 </data>
 </response>
</udata>

 
 Получение типа полиса по GUID 
 #!php

/udata/data/getPolicyTypeByGuid/{$guid}
 
 #!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getPolicyTypeByGuid" generation-time="0.074592">
 <response>
 <code>200</code>
 <data>
 <id>3</id>
 <guid>enp</guid>
 <name>Полис ОМС единого образца</name>
 <is_active>1</is_active>
 </data>
 </response>
</udata>

 
 Получение типа полиса по ID 
 #!php

/udata/data/getPolicyTypeById/{$id}
 
 #!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getPolicyTypeById" generation-time="0.085236">
 <response>
 <code>200</code>
 <data>
 <id>1</id>
 <guid>old</guid>
 <name>Полис ОМС старого образца</name>
 <is_active>1</is_active>
 </data>
 </response>
</udata>