XCMG NS API


Account

<h5>Brief Description</h5> <ul> <li>Update account data.</li> </ul> <h5>Request URL</h5> <ul> <li><code>https://6409627-sb2.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=643&amp;deploy=1</code></li> </ul> <h5>Request Method</h5> <ul> <li>POST</li> </ul> <h5>Request Parameter Description</h5> <table> <thead> <tr> <th>Parameter</th> <th>Required</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>accountId</td> <td>True</td> <td>String</td> <td>1C account id</td> </tr> <tr> <td>accountCode</td> <td>True</td> <td>String</td> <td>1C account code</td> </tr> <tr> <td>accountName</td> <td>True</td> <td>String</td> <td>1C account name</td> </tr> <tr> <td>subsidiary</td> <td>True</td> <td>String</td> <td>Subsidiary,Default to:”徐工俄罗斯有限责任公司(新徐俄)</td> </tr> <tr> <td>accountType</td> <td>False</td> <td>String</td> <td>1C account type.List of values: <a href="https://www.showdoc.com.cn/2076069668546132/9589795588647743" title="account type">account type</a></td> </tr> <tr> <td>currency</td> <td>False</td> <td>String</td> <td>1C account currency</td> </tr> </tbody> </table> <h5>Samples</h5> <pre><code> {     "accountId" : "1",     "accountCode" : "RU_52.01",     "accountName" : "Валютные счета : 40702156138000000345, ПАО СБЕРБАНК, CNY", "subsidiary" : "徐工俄罗斯有限责任公司(新徐俄)",     "accountType" : "банк", "currency" : "RUB" }</code></pre> <h5>Response Parameter Description</h5> <table> <thead> <tr> <th>Parameter</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>success</td> <td>Boolean</td> <td>true:success,false:failed</td> </tr> <tr> <td>message</td> <td>String</td> <td>errors message</td> </tr> <tr> <td>data</td> <td>Array</td> <td>Data</td> </tr> </tbody> </table> <h5>Return Samples</h5> <pre><code> // Error {     "success": false,     "message": "accountId must be filled!",     "data": [] } // Success { "success": true, "message": "", "data": [{ "internalid" :3995 }] }</code></pre> <h5>Memo</h5> <ul> <li>For certification information, please see <a href="https://www.showdoc.com.cn/xcmgnsapi/9352531526636929">Interface Certification Information</a></li> </ul>

页面列表

ITEM_HTML