6. convert_type : 項目の型変換複製¶
- GET /api/convert_type¶
項目の型変換複製する API.
リクエスト例
GET /api/convert_type?table_name=kabuTori&item_name=売買高&data_type=Integer HTTP/1.1 Content-Type: application/json; charset= "UTF-8"
- Query Parameters:
table_name -- テーブル名
item_name -- 項目名
data_type -- 変換するデータ型(String:文字列、Integer:整数、Double:浮動小数、Time:時刻、Date:日付、DateTime:日付時刻)
レスポンス例
HTTP/1.1 200 OK Content-Type: application/json; charset="utf-8" { "resultCode": 10, "resultMSG": "convert_type SUCCESS ResultCode=10 ElapsedTime=0.103sec" }
- Response Data:
resultCode -- 正(複製された項目ID)、負(エラーコード)
備考:
型変換できないデータは(Null)となります