POST/ods/{conI}/data-readの基本的な使用方法は
こちらの記事で確認できます。
ファイルIDが126199のデータのグループ名とIDを取得する場合、data-read及びjoinsを使用すると下記の様に実行できます。
{
"columns": [
{
"aid": "2",
"attribute": "id"
},
{
"aid": "2",
"attribute": "name"
}
],
"where": [
{
"condition": {
"aid": "1",
"attribute": "id",
"longlongArray": {
"values": [
"126199"
]
}
}
}
],
"joins": [
{
"aidFrom": "2",
"aidTo": "1",
"relation": "test"
}
]
}
一方、ni/data-readを使用する場合、同等の処理を下記の様に実行する事ができます。
{
"test": "126199",
"$attributes": {
"children.name": 1,
"children.id": 1
}
}