![](/img/trans.png)
[英]How to configure Entity facade to disable checking entity existence in Moqui framework
[英]Return only some fields of an entity from restServices in MOQUI FrameWork?
我已經使用 Moqui 框架實現了一個應用程序。 我有 10 個參數的實體。 通過 RestService,使用實體的短別名,我可以獲得 JSON 格式的 10 個參數。 但是我只需要顯示 4 個參數。 這是我的實際結果:
"exampleId": "100000",
"exampleTypeEnumId": "EXT_MADE_UP",
"description": "Yet another test description",
"exampleEmail": "example1@test.com",
"statusId": "EXST_IN_DESIGN",
"exampleName": "Test Example from JSON File",
"exampleSize": 123,
"testTime": "1970-01-01T06:30:00+0000",
"amount": 200.0,
"exampleItemSeqId": "02",
這是我想要的結果:
"description": "Yet another test description",
"exampleName": "Test Example from JSON File",
"amount": 200.0,
"exampleItemSeqId": "02",
通過 Moqui REST API 功能獲取有限實體字段的方法有以下三種:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.