メタデータ管理 API
呼び出し方法は、Open APIドキュメントの呼び出し方法の説明を参照してください。
AE使用マニュアルのメタデータ管理の部分を先に読んで、関連機能を理解しておくことをお勧めします:データ管理-イベントとプロパティ
1. イベント管理
1. 仮想イベントを照会する
インターフェースURL
/open/get-virtual-event-by-name?token=xxx&projectId=377&eventName=ta@test222
リクエストメソッド
GET
Content-Type
application/json
リクエストQueryパラメータ
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| token | xxx | String | はい | クエリキー |
| projectId | 377 | Integer | はい | プロジェクトID |
| eventName | ta@test222 | String | はい | イベント名 |
成功レスポンスの例
{
"data": {
"eventDesc": "テスト仮想イベント",
"eventName": "ta@teset",
"remark": "",
"rule": {
"events": [
{
"eventDesc": "ゴールド獲得",
"eventName": "obtain_coin",
"filter": {
"filterType": "COMPOUND",
"filts": [],
"relation": "and"
}
}
],
"filter": {
"filterType": "COMPOUND",
"filts": [],
"relation": "and"
}
}
},
"return_code": 0,
"return_message": "success"
}
| $$パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| data | - | Object | レスポンスデータ |
| data.eventDesc | テスト仮想イベント | String | イベント表示名 |
| data.eventName | ta@teset | String | イベント名 |
| data.remark | - | String | イベントの備考 |
| data.rule | - | Object | 仮想イベントのルール |
| data.rule.events | - | List | イベントリスト |
| data.rule.events.eventDesc | ゴールド獲得 | String | イベント表示名 |
| data.rule.events.eventName | obtain_coin | String | イベント名 |
| data.rule.events.filter | - | Object | プロパティフィルター |
| data.rule.events.filter.filterType | COMPOUND | String | フィルター:
|
| data.rule.events.filter filts | [] | List | フィルター値のリスト |
| data.rule.events.filter relation | and | String | フィルターの論理関係 |
| data.rule.filter | - | Object | プロパティフィルター |
| data.rule.filter.filterType | COMPOUND | String | フィルター:
|
| data.rule.filter.filts | [] | List | フィルター値のリスト |
| data.rule.filter.relation | and | String | フィルターの論理関係 |
| return_code | 0 | Integer | リターンコード |
| return_message | success | String | リターンメッセージ |
2. イベントのメタ情報一覧
インターフェースURL
/open/list-event-meta?token=xxx&projectId=377
リクエストメソッド
GET
Content-Type
application/json
リクエストQueryパラメータ
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| token | xxx | String | はい | クエリキー |
| projectId | 377 | Integer | はい | プロジェクトID |
propName | - | String | いいえ | プロパティ名。このパラメータは、プロパティに関連するイベントを照会するために使用します。指定しない場合は、すべての物理イベントと仮想イベントを返します |
成功レスポンスの例
{
"data": {
"events": [
{
"eventDesc": "アクティビティ参加",
"eventName": "activity_attend",
"eventType": "event",
"isHide": false,
"remark": "アクティビティ参加321"
}
]
},
"return_code": 0,
"return_message": "success"
}
| $$パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| data | - | Object | レスポンスデータ |
| data.events | - | List | イベントリスト |
| data.events.eventDesc | アクティビティ参加 | String | イベントの説明 |
| data.events.eventName | activity_attend | String | イベント名 |
| data.events.eventType | event | String | イベントタイプ
|
| data.events.isHide | false | Boolean | 非表示かどうか |
| data.events.remark | アクティビティ参加321 | String | イベントの備考 |
| return_code | 0 | Integer | リターンコード |
| return_message | success | String | リターンメッセージ |
3. 仮想イベントを作成する
インターフェースURL
/open/create-virtual-event?token=xxx&projectId=0&override=false
リクエストメソッド
POST
Content-Type
application/json
リクエストQueryパラメータ
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| token | xxx | String | はい | クエリキー |
| projectId | 0 | Integer | はい | プロジェクトID |
| override | false | String | はい | 同名の仮想イベントがすでに存在する場合、override=falseのときはエラーになり、override=trueのときは仮想イベントの定義が更新されます。 |
リクエストBodyパラメータ
{
"eventName": "ta@test_vevent",
"eventDesc": "テスト仮想イベント",
"remark": "",
"rule": {
"events": [
{
"eventDesc": "アクティビティ参加",
"eventName": "activity_attend",
"filter": {
"relation": "and",
"filts": [
{
"comparator": "equal",
"columnDesc": "ネットワークタイプ",
"columnName": "network",
"ftv": [
"4G"
],
"selectType": "string",
"tableType": "event"
}
]
}
}
]
}
}
| $$パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| eventName | ta@test_vevent | String | はい | イベント名 |
| eventDesc | テスト仮想イベント | String | いいえ | イベント表示名 |
| remark | String | いいえ | イベントの備考 | |
| rule | - | Object | はい | ルール |
| rule.events | - | List | はい | イベントリスト |
| rule.events.eventName | activity_attend | String | はい | イベント名 |
| rule.events.eventDesc | アクティビティ参加 | String | いいえ | イベント表示名 |
| rule.events.filter | - | Object | いいえ | プロパティフィルター |
| rule.events.filter.filterType | SIMPLE | String | いいえ | フィルター
|
| rule.events.filter.filts | - | List | いいえ | フィルター対象のリスト |
| rule.events.filter.filts.comparator | equal | String | いいえ | 比較タイプ |
| rule.events.filter.filts.columnDesc | ネットワークタイプ | String | いいえ | フィールドの表示名 |
| rule.events.filter.filts.columnName | network | String | はい | フィールド名 |
| rule.events.filter.filts.ftv | ["4G"] | List | いいえ | フィルター値のリスト |
| rule.events.filter.filts.selectType | string | String | いいえ | フィルター値の選択ボックスのタイプ |
| rule.events.filter.filts.tableType | event | String | いいえ | event:イベントプロパティ、user:ユーザープロパティ |
| rule.events.filter.filts.filterType | SIMPLE | String | いいえ | フィルター:
|
| rule.events.filter.relation | and | String | いいえ | フィルターの論理関係 |
成功レスポンスの例
{
"return_code": 0,
"return_message": "success"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | 0 | Integer | リターンコード |
| return_message | success | String | リターンメッセージ |
エラーレスポンスの例
{
"return_code": -1008,
"return_message": "eventNameは空にできません、ruleはnullにできません"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | -1008 | Integer | リターンコード |
| return_message | eventNameは空にできません、ruleはnullにできません | String | リターンメッセージ |
4. イベントの表示名と備考を変更する
- イベントの表示名は最大60文字で、超過した部分は自動的に切り捨てられます
- イベントの表示名に絵文字を含めることはできません
- 仮想イベントの表示名は、他の仮想イベントの表示名やイベント名と重複できません
- 物理イベントの表示名は、他の物理イベントの表示名やイベント名と重複できません
インターフェースURL
/open/update-event-info?token=xxx&projectId=0
リクエストメソッド
POST
Content-Type
application/json
リクエストQueryパラメータ
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| token | xxx | String | はい | クエリキー |
| projectId | 0 | Integer | はい | プロジェクトID |
リクエストBodyパラメータ
{
"eventName": "test007",
"eventDesc": "testDesc",
"eventRemark": "testRemark"
}
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| eventName | test | String | はい | イベント名 |
| eventDesc | testDesc | String | はい | イベント表示名 |
| eventRemark | testRemark | String | いいえ | イベントの備考 |
成功レスポンスの例
{
"return_code": 0,
"return_message": "success"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | 0 | Integer | リターンコード |
| return_message | success | String | リターンメッセージ |
エラーレスポンスの例
{
"return_code": -1008,
"return_message": "イベントtest007は非表示または削除されています。条件を再設定してください"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | -1008 | Integer | リターンコード |
| return_message | イベントtest007は非表示または削除されています。条件を再設定してください | String | リターンメッセージ |
5. 仮想イベントを削除する
インターフェースURL
/open/delete-virtual-event-by-name?token=xxx&projectId=0&eventName=test
リクエストメソッド
POST
Content-Type
application/json
リクエストQueryパラメータ
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| token | xxx | String | はい | クエリキー |
| projectId | 0 | Integer | はい | プロジェクトID |
| eventName | test | String | はい | イベント名 |
成功レスポンスの例
{
"return_code": 0,
"return_message": "success"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | 0 | Integer | リターンコード |
| return_message | success | String | リターンメッセージ |
エラーレスポンスの例
{
"return_code": -1008,
"return_message": "イベントtestは非表示または削除されています。条件を再設定してください"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | -1008 | String | リターンコード |
| return_message | イベントtestは非表示または削除されています。条件を再設定してください | String | リターンメッセージ |
2. プロパティ管理
1. 仮想プロパティを照会する
インターフェースURL
/open/get-sql-prop-by-name?token=xxx&projectId=0&propName=%23vp@location&tableType=event
リクエストメソッド
GET
Content-Type
application/json
リクエストQueryパラメータ
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| token | xxx | String | はい | クエリキー |
| projectId | 0 | Integer | はい | プロジェクトID |
| propName | #vp@location | String | はい | プロパティ名 |
| tableType | event | String | はい | event:イベントプロパティ、user:ユーザープロパティ |
成功レスポンスの例
{
"data": {
"relatedEvents": [
{
"eventName": "イベント名",
"eventDesc": "イベント表示名"
}
],
"sqlEventRelationType": "relation_default",
"sqlExpression": "concat(\"#country\",'-',\"#province\",'-',\"#city\")",
"vProp": {
"property": {
"columnDesc": "位置情報",
"columnName": "#vp@location",
"selectType": "string",
"tableType": "event"
}
}
},
"return_code": 0,
"return_message": "success"
}
| $$パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| data | - | Object | レスポンスデータ |
| data.relatedEvents | - | List | 関連イベントのリスト |
| data.relatedEvents.eventName | イベント名 | String | イベント名 |
| data.relatedEvents.eventDesc | イベント表示名 | String | イベント表示名 |
| data.sqlEventRelationType | relation_default | String |
|
| data.sqlExpression | concat("#country",'-',"#province",'-',"#city") | String | SQL式 |
| data.vProp | - | Object | 仮想プロパティのリスト |
| data.vProp.property | - | Object | 仮想プロパティ |
| data.vProp.property.columnDesc | 位置情報 | String | フィールドの表示名 |
| data.vProp.property.columnName | #vp@location | String | フィールド名 |
| data.vProp.property.selectType | string | String | フィルター値の選択ボックスのタイプ |
| data.vProp.property.tableType | event | String | プロパティタイプ
|
| return_code | 0 | Integer | リターンコード |
| return_message | success | String | リターンメッセージ |
エラーレスポンスの例
{
"return_code": -1008,
"return_message": "ユーザープロパティtest007は非表示または削除されています。条件を再設定してください"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | -1008 | Integer | リターンコード |
| return_message | ユーザープロパティtest007は非表示または削除されています。条件を再設定してください | String | リターンメッセージ |
2. プロパティ一覧
インターフェースURL
/open/list-props?token=xxx&projectId=0&tableType=event&eventName=xxx
リクエストメソッド
GET
Content-Type
application/json
リクエストQueryパラメータ
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| token | xxx | String | はい | クエリキー |
| projectId | 0 | Integer | はい | プロジェクトID |
| tableType | event | String | はい | プロパティタイプ
|
| eventName | - | String | いいえ | tableTypeがeventの場合に有効です。物理イベントまたは仮想イベントの名前。このパラメータは、イベントに関連するプロパティを照会するために使用します。指定しない場合は、すべての物理プロパティと仮想プロパティを返します |
成功レスポンスの例
{
"data": {
"properties": [
{
"canCreateDict": true,
"columnDesc": "アクティビティ項目def:123123123123123123",
"columnName": "activity_item_operation",
"columnRemark": "",
"dictProps": [
{
"canCreateDict": false,
"columnDesc": "",
"columnName": "activity_item_operation@channel_name",
"columnRemark": "",
"isHide": false,
"propType": "vprop_dict",
"selectType": "string",
"tableType": "event"
}
],
"isHide": false,
"propType": "prop_unpreset",
"selectType": "string",
"tableType": "event"
}
]
},
"return_code": 0,
"return_message": "success"
}
| $$パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| data | - | Object | レスポンスデータ |
| data.properties | - | List | |
| data.properties.canCreateDict | true | Boolean | 参照テーブルを作成できるかどうか |
| data.properties.columnDesc | アクティビティ項目def:123123123123123123 | String | フィールドの表示名 |
| data.properties.columnName | activity_item_operation | String | フィールド名 |
| data.properties.columnRemark | - | String | フィールドの説明 |
| data.properties.dictProps | - | List | 関連付けられた参照テーブルのフィールド |
| data.properties.dictProps.canCreateDict | false | String | 参照テーブルを作成できるかどうか |
| data.properties.dictProps.columnDesc | - | String | フィールドの表示名 |
| data.properties.dictProps.columnName | activity_item_operation@channel_name | String | フィールド名 |
| data.properties.dictProps.columnRemark | - | String | フィールドの説明 |
| data.properties.dictProps.isHide | false | Boolean | 非表示かどうか |
| data.properties.dictProps.propType | vprop_dict | String | プロパティタイプ |
| data.properties.dictProps.selectType | string | String | フィルター値の選択ボックスのタイプ |
| data.properties.dictProps.tableType | event | String | フィールドが属するテーブルのタイプ |
| data.properties.isHide | false | Boolean | 非表示かどうか |
| data.properties.propType | prop_unpreset | String | プロパティタイプ
|
| data.properties.selectType | string | String | フィルター値の選択ボックスのタイプ |
| data.properties.tableType | event | String | フィールドが属するテーブルのタイプ |
| return_code | 0 | Integer | リターンコード |
| return_message | success | String | リターンメッセージ |
3. プロパティの表示名を変更する
- プロパティの表示名は最大60文字で、超過した部分は自動的に切り捨てられます。絵文字を含めることはできません。仮想プロパティは他の仮想プロパティの表示名やプロパティ名と重複できず、物理プロパティは他の物理プロパティの表示名やプロパティ名と重複できません
- プロパティの説明は最大200文字で、超過した部分は自動的に切り捨てられます
- 同名の仮想プロパティがすでに存在する場合は、仮想プロパティの定義が更新されます
インターフェースURL
/open/update-prop-info?token=xxx&projectId=0
リクエストメソッド
POST
Content-Type
application/json
リクエストQueryパラメータ
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| token | xxx | String | はい | クエリキー |
| projectId | 0 | Integer | はい | プロジェクトID |
リクエストBodyパラメータ
{
"columnName": "test",
"columnDesc": "testDesc",
"columnRemark": "testRemark",
"tableType": "event"
}
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| columnName | test | String | はい | フィールド名 |
| columnDesc | testDesc | String | はい | フィールドの表示名 |
| columnRemark | testRemark | String | いいえ | フィールドの説明 |
| tableType | testType | String | はい | プロパティタイプ
|
成功レスポンスの例
{
"return_code": 0,
"return_message": "success"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | 0 | Integer | リターンコード |
| return_message | success | String | リターンメッセージ |
エラーレスポンスの例
{
"return_code": -1023,
"return_message": "event property(test)が存在しません"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | -1023 | Integer | リターンコード |
| return_message | event property(test)が存在しません | String | リターンメッセージ |
4. ディメンション辞書の検証と作成
ファイルアップロードでディメンション辞書を作成します。ファイルサイズの上限は200Mです
インターフェースURL
/open/dict-create?token=xxx&projectId=0&createParam=test
リクエストメソッド
POST
Content-Type
text/csv
リクエストQueryパラメータ
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| token | xxx | String | はい | クエリキー |
| projectId | 0 | Integer | はい | プロジェクトID |
| createParam | test | String | はい | - |
成功レスポンスの例
{
"data": {
"totalLineNum": 4,
"successLineNum": 1,
"duplcatedMainKeyLineNum": 1,
"duplcatedMainKeyColumns": ["city@test"],
"mainKeyErrorLineNum": 1,
"mainKeyErrorColumns": ["brand@quantity"],
"typeErrorLineNum": 1,
"typeErrorColumns": ["iswin@num"],
"repeatWithConlumnName": [{
"columnName": "channel@channel_name",
"columnDesc": "チャネルタイプ"
}],
"repeatWithConlumnDesc": [{
"columnName": "channel@channel_name",
"columnDesc": "チャネルタイプ"
}]
},
"return_code": 0,
"return_message": "success"
}
| $$パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | 0 | String | リターンコード |
| return_message | success | String | リターンメッセージ |
| data | - | Object | レスポンスデータ |
| data.totalLineNum | 4 | Integer | 解析した総行数 |
| data.successLineNum | 1 | Integer | インポートに成功した行数 |
| data.duplcatedMainKeyLineNum | 1 | Integer | 主キーが重複している行数 |
| data.duplcatedMainKeyColumns | ["city@test"] | List | 主キーが重複している行のリスト |
| data.mainKeyErrorLineNum | 1 | Integer | 主キーの型が誤っている行数 |
| data.mainKeyErrorColumns | ["brand@quantity"] | List | 主キーの型が誤っている行のリスト |
| data.typeErrorLineNum | 1 | Integer | 他の列に型エラーを含む行数 |
| data.typeErrorColumns | ["iswin@num"] | List | 他の列に型エラーを含む行のリスト |
| data.repeatWithConlumnName | - | List | 表示名がプロパティ名と重複しているリスト |
| data.repeatWithConlumnName.columnName | channel@channel_name | String | プロパティのフィールド名 |
| data.repeatWithConlumnName.columnDesc | チャネルタイプ | String | プロパティ表示名 |
| data.repeatWithConlumnDesc | - | List | 表示名が他の表示名と重複しているリスト |
| data.repeatWithConlumnDesc.columnName | channel@channel_name | String | プロパティのフィールド名 |
| data.repeatWithConlumnDesc.columnDesc | チャネルタイプ | String | プロパティ表示名 |
エラーレスポンスの例
{
"return_code": -3004,
"return_message": "無効なプロジェクト"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | -3004 | String | リターンコード |
| return_message | 無効なプロジェクト | String | リターンメッセージ |
5. 仮想プロパティを新規作成する
同名の仮想プロパティがすでに存在する場合は、仮想プロパティの定義が更新されます
インターフェースURL
/open/create-sql-prop?token=xxx&projectId=110
リクエストメソッド
POST
Content-Type
application/json
リクエストQueryパラメータ
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| token | xxx | String | はい | クエリキー |
| projectId | 110 | Integer | はい | プロジェクトID |
リクエストBodyパラメータ
{
"sqlExpression": "get_ip_location(\"#ip\")",
"vProp" : {
"property" : {
"columnDesc": "IPアドレスから解析した位置情報",
"columnName": "#vp@location_array_from_ip",
"tableType": "event",
"selectType":"array"
}
},
"sqlEventRelationType" : "relation_default"
}
| $$パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| sqlExpression | get_ip_location(\"#ip\") | String | はい | SQL式 |
| vProp | - | Object | はい | 仮想プロパティの情報 |
| vProp.property | - | Object | はい | 仮想プロパティの情報 |
vProp.property.columnDesc | IPアドレスから解析した位置情報 | String | いいえ | フィールド名 |
| vProp.property.columnName | #vp@location_array_from_ip | String | はい | フィールドの表示名 |
| vProp.property.tableType | event | String | はい | テーブルタイプ
|
| vProp.property.selectType | array | String | はい | フィルター値の選択ボックスのタイプ |
| sqlEventRelationType | relation_default | String | いいえ | 解析タイプ。デフォルトはrelation_default
|
成功レスポンスの例
{
"return_code": 0,
"return_message": "success"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | 0 | String | リターンコード |
| return_message | success | String | リターンメッセージ |
エラーレスポンスの例
{
"return_code": -3004,
"return_message": "無効なプロジェクト"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | -3004 | String | リターンコード |
| return_message | 無効なプロジェクト | String | リターンメッセージ |
6. 参照テーブルのプロパティを削除する
インターフェースURL
/open/delete-dict-props?token=xxx&projectId=0&tableType=event&mainColumnName=test
リクエストメソッド
POST
Content-Type
application/json
リクエストQueryパラメータ
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| token | xxx | String | はい | クエリキー |
| projectId | 0 | Integer | はい | プロジェクトID |
| tableType | event | String | はい | プロパティタイプ
|
| mainColumnName | test | String | はい | 参照テーブルが関連付けられている主プロパティの名前 |
成功レスポンスの例
{
"return_code": 0,
"return_message": "success"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | 0 | Integer | リターンコード |
| return_message | success | String | リターンメッセージ |
エラーレスポンスの例
{
"return_code": -1008,
"return_message": "イベントプロパティtestは非表示または削除されています。条件を再設定してください"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | -1008 | Integer | リターンコード |
| return_message | イベントプロパティtestは非表示または削除されています。条件を再設定してください | String | リターンメッセージ |
7. SQL仮想プロパティを削除する
インターフェースURL
/open/delete-sql-prop-by-name?token=xxx&projectId=0&tableType=event&propName=test
リクエストメソッド
POST
Content-Type
application/json
リクエストQueryパラメータ
| パラメータ名 | サンプル値 | パラメータタイプ | 必須 | パラメータの説明 |
|---|---|---|---|---|
| token | xxx | String | はい | クエリキー |
| projectId | 0 | Integer | はい | プロジェクトID |
| tableType | event | String | はい | プロパティタイプ
|
| propName | test | String | はい | プロパティ名 |
成功レスポンスの例
{
"return_code": 0,
"return_message": "success"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | 0 | Integer | リターンコード |
| return_message | success | String | リターンメッセージ |
エラーレスポンスの例
{
"return_code": -1023,
"return_message": "virtual event prop testが存在しません"
}
| パラメータ名 | サンプル値 | パラメータタイプ | パラメータの説明 |
|---|---|---|---|
| return_code | -1023 | Integer | リターンコード |
| return_message | virtual event prop testが存在しません | String | リターンメッセージ |

