GET /api/v1/product_resources?productID={productID}&_page={page}&_limit={pageSize}
GET /api/v1/product_resources?productID=2ioNzM&_page=1&_limit=10
{
"items": [
{
"codeValue": "serialNumber",
"codeValueLabel": "序列号",
"createAt": "2018-10-17 13:43:03",
"dataPointIntID": 42,
"dataPointName": "测试字符",
"id": 6,
"itemName": null,
"productItemIntID": null,
"updateAt": null
}
],
"meta": {
"count": 1,
"limit": 10,
"page": 1
}
}
POST /api/v1/product_resources
POST /api/v1/product_resources
{
"codeValue": "serialNumber",
"dataPointIntID": 42,
"productIntID": "60",
"productItemIntID": 0
}
{
"codeValue": "serialNumber",
"createAt": "2018-10-17 13:43:03",
"dataPointIntID": 42,
"id": 6,
"productItemIntID": null,
"updateAt": null
}
DELETE /api/v1/product_resources?ids={resourcesIDS}
DELETE /api/v1/product_resources?ids=3