我们可以在REST中进行复合属性filtring吗?

时间:2015-07-31 08:03:13

标签: java json rest jersey

这是我的JSON数据模型:

{
    "id": "1376109454",
    "type": "equipment",
    "name": "FAN",
    "manufacturerDetail": {
        "name": "PSPO",
        "date": {
            "day": "12",
            "month": "January",
            "year": "2013",
        }
    },
    "partNumber": "123507LD",
    "serviceState": "InService",
    "description": "Fan Front High Flow Cooling",
    "href": "http://<Server Name>:9010/api/house/equipment/-251116334"
  }

REST允许我们使用URL对 manufacturerDetail.date.month 属性进行过滤吗?

  

http://Server_Name:9010/api/house/equipment?manufacturerDetail.date.month=January

0 个答案:

没有答案