Поиск по сайту

API
Главная / API - Other directories

Other directories

Обновлено 24.07.2018
88 кб

General information

This service allows you to get data from other directories that are not mentioned in other sections.

Directory of legal forms of organization

This directory contains the list of legal forms of organization.

Method request

Request example

Method address: https://api.dellin.ru/v1/public/opf_list.json

{
   "appkey": "00000000-0000-0000-000000000000"
}

Method address: https://api.dellin.ru/v1/public/opf_list.xml

<request>
   <appkey>00000000-0000-0000-000000000000</appkey>
</request>

Description of parameters

Request
ParameterR*TypeDescription
appkeyYesstringApplication key. To get the key, register

Method response

Response example

{
   "hash": "1707aea20f301fd0a8787b5a68608dd6cf270347ea04c266f1b4c6aa540088a4",
   "url": "https://api.dellin.ru/catalog/opf_list.csv?sk=Kn0OtWJcumDYUqRjtCEvhg&e=1401285434"
}
<response>
   <hash>1707aea20f301fd0a8787b5a68608dd6cf270347ea04c266f1b4c6aa540088a4</hash>
   <url>https://api.dellin.ru/catalog/opf_list.csv?sk=Kn0OtWJcumDYUqRjtCEvhg&e=1401285434</url>
</response>

Description of parameters

Response
ParameterTypeDescription
hashstringFile hash code (MD5). By comparing the hash codes of two files received at different times, you can understand whether the data in the directory has changed or not
urlstring

Link to the file with directory data in csv format in utf-8 encoding (the link is valid for 10 minutes). The line delimiter in the file is the character "\n", the column delimiter is comma (","), and the text delimiter is the quotation mark (" " ").

The file contains the next columns:

  • UID — unique identifier;
  • name — short name of legal form of organization ("ООО", "ОАО", etc.);
  • juridical — flag of juridical party ("1" - yes, "0" - no);
  • fullName — full name of legal form of organization;
  • innLength — number of digits in TIN;
  • countryUID — unique country identifier.

Directory of order statuses

Method request

Request example

Method address: https://api.dellin.ru/v1/public/statuses.json

{
   "appkey": "00000000-0000-0000-000000000000"
}

Method address: https://api.dellin.ru/v1/public/statuses.xml

<request>
   <appkey>00000000-0000-0000-000000000000</appkey>
</request>

Description of parameters

Request
ParameterR*TypeDescription
appkeyYesstringApplication key. To get the key, register

Method response

Response example

{  
   "hash":"db090d4a0111cc5a7a2282716218840972a65251651a4fb2dc8f6ea34e5d2fa0",
   "url":"https://api.dellin.ru/catalog/statuses.json?sk=0k92VHh-Am_cUX6qsvdEjQ&e=1496046122"
}
<response>
   <hash>db090d4a0111cc5a7a2282716218840972a65251651a4fb2dc8f6ea34e5d2fa0</hash>
   <url>https://api.dellin.ru/catalog/statuses.json?sk=0k92VHh-Am_cUX6qsvdEjQ&e=1496046122</url>
</response>

Description of parameters

Response
ParameterTypeDescription
hashstringFile hash code (MD5). By comparing the hash codes of two files received at different times, you can understand whether the data in the directory has changed or not
urlstring

Link to the file with directory data in json format

Directory of parameters for statistics report

Method request

Request example

Method address: https://api.dellin.ru/v1/public/report_params.json

{
   "appkey": "00000000-0000-0000-000000000000"
}

Method address: https://api.dellin.ru/v1/public/report_params.xml

<request>
   <appkey>00000000-0000-0000-000000000000</appkey>
</request>

Description of parameters

Request
ParameterR*TypeDescription
appkeyYesstringApplication key. To get the key, register

Method response

Response example

{  
   "hash":"0dd17e7c6e8e69455360f392577356ace95385b0a94f5a062ef07aeee46be4a0",
   "url":"http://api.dellin.stage/catalog/report_params.csv?sk=5iq56DseyHlaqmYO7atEpw&e=1506409060"
}
<response>
   <hash>0dd17e7c6e8e69455360f392577356ace95385b0a94f5a062ef07aeee46be4a0</hash>
   <url>http://api.dellin.stage/catalog/report_params.csv?sk=5iq56DseyHlaqmYO7atEpw&e=1506409060</url>
</response>

Description of parameters

Response
ParameterTypeDescription
hashstringFile hash code (MD5). By comparing the hash codes of two files received at different times, you can understand whether the data in the directory has changed or not
urlstring

Link to the file with directory data in csv format in utf-8 encoding (the link is valid for 10 minutes). The line delimiter in the file is the character "\n", the column delimiter is comma (","), and the text delimiter is the quotation mark (" " ").

The file contains the next columns:

  • name — parameter name (key; in Latin);
  • сaption — parameter name (in Cyrillic)