UpdateAccountingSystemRelatedAccount

Overview

Endpoint URL https://www.yournetosite.com.au/do/WS/NetoAPI
Method POST
XML Headers
NETOAPI_ACTION UpdateAccountingSystemRelatedAccount
NETOAPI_USERNAME Your Neto Username (generate this in your Neto control panel)
NETOAPI_KEY Your Neto API Secure Key (generate this in your Neto control panel)
JSON Headers
NETOAPI_ACTION UpdateAccountingSystemRelatedAccount
NETOAPI_USERNAME Your Neto Username (generate this in your Neto control panel)
NETOAPI_KEY Your Neto API Secure Key (generate this in your Neto control panel)
Accept application/json
Description Update the accounts on the Accounting page.
XSD Schema UpdateAccountingSystemRelatedAccount XSD   |   UpdateAccountingSystemRelatedAccount Response XSD

UpdateAccountingSystemRelatedAccount Post

You must specify at least one filter and one OutputSelector in your UpdateAccountingSystemRelatedAccount request. These will determine the results returned.

XML POST

<?xml version="1.0" encoding="utf-8"?>
<UpdateAccountingSystemRelatedAccount>
   <RelatedAccount> 
    <acc_account_id>(Integer)</acc_account_id>    
    <accapi_id>(Integer)</accapi_id>    
    <acc_account_ref>(String)</acc_account_ref>    
    <acc_account_parent_ref>(String)</acc_account_parent_ref>    
    <acc_account_name>(String)</acc_account_name>    
    <acc_account_type>(String)</acc_account_type>    
    <acc_account_class>(String)</acc_account_class>    
    <is_asset_acc>(Boolean)</is_asset_acc>    
    <is_expense_acc>(Boolean)</is_expense_acc>    
    <is_income_acc>(Boolean)</is_income_acc>    
    <is_costofsales_acc>(Boolean)</is_costofsales_acc>    
    <is_bank_acc>(Boolean)</is_bank_acc>    
    <acc_account_note>(String)</acc_account_note>    
    <acc_account_active>(Boolean)</acc_account_active>    
    <acc_account_is_detail>(Boolean)</acc_account_is_detail>    
   </RelatedAccount>
</UpdateAccountingSystemRelatedAccount>

JSON POST

{
  "RelatedAccount": {
    "acc_account_id":["Integer"/*, ...*/],
    "accapi_id":["Integer"/*, ...*/],
    "acc_account_ref":["String"/*, ...*/],
    "acc_account_parent_ref":["String"/*, ...*/],
    "acc_account_name":["String"/*, ...*/],
    "acc_account_type":["String"/*, ...*/],
    "acc_account_class":["String"/*, ...*/],
    "is_asset_acc":["Boolean"/*, ...*/],
    "is_expense_acc":["Boolean"/*, ...*/],
    "is_income_acc":["Boolean"/*, ...*/],
    "is_costofsales_acc":["Boolean"/*, ...*/],
    "is_bank_acc":["Boolean"/*, ...*/],
    "acc_account_note":["String"/*, ...*/],
    "acc_account_active":["Boolean"/*, ...*/],
    "acc_account_is_detail":["Boolean"/*, ...*/] 
} 
}

<RelatedAccount>

Element Name Required Field Type / Options
acc_account_id Optional
Supports Multiple Elements
Integer(25)
accapi_id Optional
Supports Multiple Elements
Integer(25)
acc_account_ref Optional
Supports Multiple Elements
String(25)
acc_account_parent_ref Optional
Supports Multiple Elements
String(50)
acc_account_name Optional
Supports Multiple Elements
String(50)
acc_account_type Optional
Supports Multiple Elements
String(50)
acc_account_class Optional
Supports Multiple Elements
String(50)
is_asset_acc Optional
Supports Multiple Elements
Boolean(True, False)
is_expense_acc Optional
Supports Multiple Elements
Boolean(True, False)
is_income_acc Optional
Supports Multiple Elements
Boolean(True, False)
is_costofsales_acc Optional
Supports Multiple Elements
Boolean(True, False)
is_bank_acc Optional
Supports Multiple Elements
Boolean(True, False)
acc_account_note Optional
Supports Multiple Elements
String(25)
acc_account_active Optional
Supports Multiple Elements
Boolean(True, False)
acc_account_is_detail Optional
Supports Multiple Elements
Boolean(True, False)

UpdateAccountingSystemRelatedAccount Responses

XML Response

<?xml version="1.0" encoding="utf-8"?>
<UpdateAccountingSystemRelatedAccount>
   <Messages> 
     <Error> 
      <Message>(String)</Message>      
      <SeverityCode>(String)</SeverityCode>      
      <Description>(String)</Description>      
     </Error>    
     <Warning> 
      <Message>(String)</Message>      
      <SeverityCode>(String)</SeverityCode>      
     </Warning>    
     <Success> 
      <Message>(String)</Message>      
      <SeverityCode>(String)</SeverityCode>      
     </Success>    
   </Messages>
</UpdateAccountingSystemRelatedAccount>

JSON Response

{
  "Messages": {
    "Error": [ {
      "Message":"String",
      "SeverityCode":"String",
      "Description":"String" 
} ] ,    "Warning": [ {
      "Message":"String",
      "SeverityCode":"String" 
} ] ,    "Success": [ {
      "Message":"String",
      "SeverityCode":"String" 
} ]  
} 
}

<Messages>

Element Name Field Type
Error ErrorType
Warning WarningType
Success SuccessType

<Error>

Element Name Field Type
Message String
SeverityCode String
Description String

<Warning>

Element Name Field Type
Message String
SeverityCode String

<Success>

Element Name Field Type
Message String
SeverityCode String

If you are a vendor creating an integration with neto, we would like to hear from you!

Contact Us

Was this article useful?

Be notified when this page is updated. Optional.