XCMG NS API


InventoryTransfer

Brief Description
  • create or update or delete Inventory transfer data.
Request URL
  • https://6409627-sb2.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=645&deploy=1
Request Method
  • POST
Request Parameter Description
Parameter Required Type Description field leval
operateType True String Operate type, value: create,update,delete 1
docNum True String The document number of the Transaction 1
date True String The Posting date of the Transaction,format of "2022/11/23" 1
subsidiary True String Subsidiary 1
department False String Department 1
fromLocation True String From location of Transaction 1
toLocation True String To location of Transaction 1
memo Falae String Memos for the transaction 1
lines True Object line property name
item True String Transaction goods or service 2
quantity True Number The quantity of goods in the bill or invoice 2
unit False String Unit 2
memo False String Transaction line memo 2
fromBin False String From bin of transaction line 2
toBin False String To bin of transaction line 2
serialNumber True String batch/serial number 2
Samples
{
"operateType":"create",

    "docNum": "",     "date": "2022/11/23",     "subsidiary": "",     "department": "",     "fromLocation": "", "toLocation": "",     "memo": "",     "lines": [{         "item": "",         "quantity": "",         "unit": "",         "memo": "",         "fromBin": "",         "toBin": "",         "serialNumber": ""     }] }

Response Parameter Description
Parameter Type Description
success Boolean true:success,false:failed
message String errors message
data Array Data
Return Samples
// Error
{

    "success": false,     "message": "docNum must be filled!",     "data": [] } // Success { "success": true, "message": "", "data": [{ "internalid" :3995 }] }

Memo

页面列表

ITEM_HTML