简介
请求URL
https://6409627-sb2.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=591&deploy=1
请求方法
字段及其说明
Parameter |
Required |
Type |
Description |
currentPage |
False |
Number |
当前页面。若无值,则默认为1 |
pageSize |
False |
Number |
每页数量。若无值,默认值为1000;若有值,取值不能超过1000 |
itemId |
False |
String |
备件的货品编码 |
location |
False |
String |
备件的地点id |
orgId |
False |
String |
子公司编码 |
示例
{
"pageSize":6,
"currentPage":1,
"itemId":"LT-0913-T",
"location":"徐俄仓库",
"orgId":""
}
响应参数说明
Parameter |
Type |
Description |
success |
Boolean |
true:success,false:failed |
message |
String |
错误信息 |
pageSize |
Number |
每页最多数据数量 |
currentQty |
Number |
当前页数据数量 |
currentPage |
Number |
当前页 |
totalQty |
Number |
总数据数量 |
totalPage |
Number |
总页数 |
data |
Array |
物料成本数据 |
响应参数详细说明
Parameter |
Type |
Description |
itemSubsidiary |
String |
备件的子公司 |
location |
String |
备件的地点id |
itemId |
String |
备件的货品编码 |
locAvgCost |
Number |
备件的地点平均成本 |
locSubsidiary |
String |
地点的子公司 |
currency |
String |
地点子公司的货币 |
返回示例
// Error
{
"success": false,
"message": "location must be filled!",
"data": []
}
// Success
{
"success": true,
"message": "",
"pageSize": 6,
"currentQty": 6,
"currentPage": 1,
"totalQty": 12,
"totalPage": 2,
"data": [
{
"itemSubsidiary": "",
"location": "徐俄仓库",
"itemId": "LT-0913-T",
"locAvgCost": 100,
"locSubsidiary": "xcmg2022112102",
"currency": "RUB"
},
{
"itemSubsidiary": "xcmg2022112101",
"location": "徐俄仓库",
"itemId": "LT-0913-T",
"locAvgCost": 100,
"locSubsidiary": "xcmg2022112102",
"currency": "RUB"
},
{
"itemSubsidiary": "",
"location": "徐俄仓库",
"itemId": "LT-0913-T",
"locAvgCost": 100,
"locSubsidiary": "xcmg2022112102",
"currency": "RUB"
},
{
"itemSubsidiary": "xcmg2022112105",
"location": "徐俄仓库",
"itemId": "LT-0913-T",
"locAvgCost": 100,
"locSubsidiary": "xcmg2022112102",
"currency": "RUB"
},
{
"itemSubsidiary": "xcmg2022112102",
"location": "徐俄仓库",
"itemId": "LT-0913-T",
"locAvgCost": 100,
"locSubsidiary": "xcmg2022112102",
"currency": "RUB"
},
{
"itemSubsidiary": "xcmg2022112103",
"location": "徐俄仓库",
"itemId": "LT-0913-T",
"locAvgCost": 100,
"locSubsidiary": "xcmg2022112102",
"currency": "RUB"
}
]
}
备注