API - DeleteAccountingSystemRelatedAccount

Overview

Endpoint URL https://www.yournetosite.com.au/do/WS/NetoAPI
Method POST
XML Headers
NETOAPI_ACTION DeleteAccountingSystemRelatedAccount
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 DeleteAccountingSystemRelatedAccount
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 Deletes the accounts on the Accounting page.
XSD Schema DeleteAccountingSystemRelatedAccount XSD   |   DeleteAccountingSystemRelatedAccount Response XSD

DeleteAccountingSystemRelatedAccount Post

XML POST

<?xml version="1.0" encoding="utf-8"?>
<DeleteAccountingSystemRelatedAccount>
  <RelatedAccount>
    <acc_account_id>(Integer)</acc_account_id>
  </RelatedAccount>
</DeleteAccountingSystemRelatedAccount>

JSON POST

{
  "RelatedAccount": {
    "acc_account_id":[
      "Integer"
      /*, ...*/
    ]
  } 
}

<RelatedAccount>

Element Name Required Field Type / Options
acc_account_id Optional
Supports Multiple Elements
Integer(10)

DeleteAccountingSystemRelatedAccount Responses

XML Response

<?xml version="1.0" encoding="utf-8"?>
<DeleteAccountingSystemRelatedAccount>
  <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>
</DeleteAccountingSystemRelatedAccount>

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