Tony Fan
舊API
API規格
代碼查詢
parentCode
,參考 Input 規格post-country
user-country
的輸出欄位:telcode
,參考 Output 規格${TT-API網址}/codemetas/{languageId}/{codemetaId}
${TT-API網址}/codemetas/{languageId}/{codemetaId}
代碼查詢欄位
欄位名稱 | 欄位說明 | 型態 | 是否必要欄位 |
---|---|---|---|
languageId | 語系代碼 | number | Y |
codemetaId | 在 TT 資料庫內之 code meta | String | Y |
parentId | 父類別的value | String | N |
parentCode | 父類別的code | number | N |
value
,即可獲得該父類別下的codemetaId代碼表code
,即可獲得該父類別下的codemetaId代碼表codemetaId | 說明 | 顯示telcode | 父類別 | (使用API) |
---|---|---|---|---|
product-sort | 產品排序之下拉選單 | (URI009) | ||
payment-method | 付款方式 | (URI010) | ||
product-industry | 產品產業別 | (URI041) | ||
product-category | 產品子產業別 | product-industry | (URI041) | |
product-certification | 產品認證 | (URI041) | ||
product-main-export-market | 產品主要出口市場 | (URI041) | ||
product-shipping-way | 產品運送方式 | (URI041) | ||
product-co-certification | 產品認證機構 | (URI041) | ||
supplier-industry | 供應商產業別 | (URI041) | ||
supplier-category | 供應商子產業別 | supplier-industry | (URI041) | |
supplier-certification | 供應商認證 | (URI041) | ||
supplier-main-export-market | 供應商主要出口市場 | (URI041) | ||
supplier-company-business-type | 供應商業務類型 | (URI041) | ||
supplier-co-certification | 供應商認證機構 | (URI041) | ||
company-industry | 公司產業別 | (URI041) | ||
company-certification | 公司認證 | (URI041) | ||
company-main-export-market | 公司主要出口市場 | (URI041) | ||
company-company-business-type | 公司業務類型 | (URI041) | ||
event-industry | 活動產業別 | (URI041) | ||
event-continent | 活動國家所屬洲別 | (URI041) | ||
event-country | 活動國家 | 是 | event-continent | (URI041) |
event-sort | 活動排序之下拉選單 | (URI041) | ||
news-category | 新聞子產業別 | (URI041) | ||
news-continent | 新聞發布國家洲別 | (URI041) | ||
news-sort | 新聞排序之下拉選單 | (URI041) | ||
language | 語系 | |||
以下為CP案新增 | ||||
event-type | 活動類型 | (URI-B-02) | ||
offer-type | 商機類型 | (URI-D-01) (URI-D-02) | ||
post-category | 商機產業別 | (URI-D-01) | ||
post-continent | 商機洲別 | (URI-D-01) | ||
post-country | 商機國家 | 是 | post-continent | (URI-O-03) (URI-D-01) |
post-day | 商機發佈時間間距 | (URI-D-01) | ||
user-title-code | 會員稱謂代碼 | (URI-G-02) | ||
user-country | 會員國家 | 是 | (URI-G-02) | |
user-country-state | 會員國家行政區 | user-country | (URI-G-02) (URI-O-04) | |
quantity-unit | 數量單位 | (URI-O-02) | ||
appellation | 稱謂appellation | (URI-O-01) |
代碼輸出欄位
欄位名稱 | 欄位說明 | 型態 | 是否可為空值 |
---|---|---|---|
pagelabel | 代碼分類名稱 | String | N |
label | 代碼 | 代碼欄位(Array) |
Y |
欄位名稱 | 欄位說明 | 型態 | 是否可為空值 |
---|---|---|---|
value | codemetaId | String | N |
code | 顯示code識別碼(字串唯一值) | String | N |
name | 顯示名稱 | String | N |
telcode | 國家國碼 | String | Y |
參考 URI054 API邏輯 (需有權限才能瀏覽)
參考 URI054 測試案例