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 True String 1C account code
accountName True String 1C account name
subsidiary True String Subsidiary,Default to:”徐工俄罗斯有限责任公司(新徐俄)
accountType False String 1C account type.List of values: [account type](https://www.showdoc.com.cn/2076069668546132/9589795588647743 "account type")
currency False String 1C account currency
Samples
    {
    "accountId" : "1",
    "accountCode" : "RU_52.01",
    "accountName" : "Валютные счета : 40702156138000000345, ПАО СБЕРБАНК, CNY",
    "subsidiary" : "徐工俄罗斯有限责任公司(新徐俄)",
    "accountType" : "банк",
    "currency" : "RUB"
    }
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