API - 開發者平台



The API provides the site members with the ability to access and manipulate the desired data from the platform. The API functions provide an infrastructure that can be easily implemented between any application or website and Turkishexportal . Many of the actions that members perform on the site, such as company update, add / modify / delete products, add / change / delete news and references, read / reply / delete messages, visitor reports are also available to users via API . API accepts requests in the form REST and accepts multiple respond

Some information about using the API ;

    For any issues with API , you can contact us at info@turkishexportal.com .


    The Basics Concepts page's API requirements are important to include error codes, general information, etc. We recommend starting with this section for the API . In the next stage, you can see the here methods you can use on the API . Finally, you should get a access code to integrate your API into your application.




        This allows the data to be sent in handleable sizes for requests that list count , page and current parameters. Things to consider in lists;


    Turkishexportal API can send responses in 2 different formats;

      How to Determine the Response Type

      The type of response to be received is provided by the format parameter in the submitted request. When this parameter is not sent, the response is returned as standard JSON type. If you want to change it, you can specify the response type for each request by adding the format = xml or format = json parameter.


      XML responses are in a special XML format specified by Turkishexportal.


      Sample request - Truncated

      <?xml version="1.0"?>
      <Company xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <address1>Ahmet Sokak. Aykon Apt.</address1>


      JSON ( JavaScript Object Notation , json.org ) is a simple and useful data declaration format. It is used extensively in Ajax applications, especially those used within the browser.


      Sample request - Truncated

              "address1":"Ahmet Sokak. Aykon Apt.",    


    The parameters in this page are also used from time to time in definitions in the portal.

    名稱 描述
    TL 04 助理出口及銷售經理
    05 助理出口部經理
    06 總經理助理
    10 助理銷售經理
    101 總經理
    103 國際市場助理
    104 國際營銷經理
    109 國際銷售經理
    116 經理
    118 常務董事
    123 營銷與銷售代表
    128 市場經理
    129 銷售代表
    13 業務發展經理
    139 所有者
    14 業務發展專家
    143 夥伴
    160 代表
    161 銷售及出口總監
    162 銷售和出口部經理
    164 銷售經理
    17 CEO
    170 銷售經理
    171 銷售代表
    35 導向器
    36 業務發展總監
    37 導演出口和進口
    38 銷售及物流總監
    46 出口和進口助手
    48 出口和進口部經理
    49 出口和進口代表
    62 出口部主任
    65 出口部經理
    69 出口代表
    72 出口銷售代表
    82 國外銷售經理
    83 國外銷售代表
    92 外貿經理
    95 外貿代表
    98 創始人/經理
    名稱 描述
    ER 01 42644
    02 10 - 50
    03 50 - 100
    04 100 - 250
    05 > 250


    All access should be sent in the all requests apikey field via the Turkishexport API . Please keep your access code in a safe place. Keep in mind that your data security will be compromised if you have the code provided within your membership. In such cases, you must ensure that your code is canceled by contacting info@turkishexportal.com via email. A sample request with API Access Code is shown below.


    The apikey used in the above example is not a valid access code. It is given only in terms of being an example. Please use the apikey API Access Code assigned specifically to you in your own application.



    領域 描述 類型
    name 公司名 VARCHAR [100]
    <?xml version="1.0"?>
    <Company xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <name>Test Co Ltd.</name>
      <history>Test is the company that provides the best product.</history>
      <representative>Test Person</representative>


    100 沒有找到記錄
    110 請檢查無效字段。
    255 發生了錯誤。