XCMG NS API


Account

Brief Description
  • Update account data.
Request URL
  • https://6409627-sb2.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=643&deploy=1
Request Method
  • POST
Request Parameter Description
Parameter Required Type Description
accountId True String 1C account id
accountCode False String 1C account code
accountName True String 1C account name
accountType True String 1C account type.List of values: [account type](https://www.showdoc.com.cn/2076069668546132/9589795588647743 "account type")
currency True String 1C account currency
Samples
    {
    "accountId" : "account test",
    "accountCode" : "",
    "accountName" : "GST Paid",
    "accountType" : "Bank",
    "currency" : "CNY"
    }
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": "accountId must be filled!",
    "data": []
    }
    // Success
    {
        "success": true,
        "message": "",
        "data": [{
            "internalid" :3995
        }]
    }
Memo

页面列表

ITEM_HTML