简介
请求URL
https://6409627-sb2.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=575&deploy=1
请求方法
头字段及其说明
参数 |
需要 |
类型 |
说明 |
operateType |
True |
String |
操作类型,取值:create |
docNum |
True |
String |
PMS库存转移的单据编号 |
date |
True |
String |
库存转移日期,格式为"2022/11/23" |
subsidiary |
True |
String |
子公司 |
fromLocation |
True |
String |
自地点 |
toLocation |
True |
String |
至地点 |
memo |
Falae |
String |
头备注 |
行字段及其说明
参数 |
需要 |
类型 |
说明 |
lines |
True |
对象 |
行属性名称 |
item |
True |
String |
货品 |
unit |
True |
String |
单位 |
quantity |
True |
Number |
数量 |
memo |
Falae |
String |
行备注 |
示例
{
"operateType":"create",
"docNum": "xcmg-20221202001",
"date": "2022/11/23",
"subsidiary": "731465285701206016",
"fromLocation": "774215190886481920",
"toLocation": "740159193469681664",
"memo": "库存转移PMS001",
"lines": [{
"item": "ARNE-2",
"quantity": "1",
"unit": "PCS",
"memo": "库存转移pms"
}]
}
响应参数说明
Parameter |
Type |
Description |
success |
Boolean |
true:success,false:failed |
message |
String |
errors message |
data |
Array |
Data |
响应参数说明
// Error
{
"success": false,
"message": "docNum must be filled!",
"data": []
}
// Success
{
"success": true,
"message": "",
"data": [{
"internalid" :3995
}]
}
备注