PUT Accounts

This call is used to update the integration details against an existing account.

Request Information

URI Parameters

None.

Body Parameters

UpdateAccountRequestCommand
Name Type Description Additional information
SiteID integer

None.

AccountID integer

None.

AqillaAccountCode string

None.

AqillaSalesTrackingAttributeValue string

None.

CsvAccountCode string

None.

XeroAccountCode string

None.

SageBankAccountCode string

None.

QuickBooksAccountCode string

None.

Request Formats

application/json, text/json

Sample:
{
  "SiteID": 1,
  "AccountID": 2,
  "AqillaAccountCode": "sample string 3",
  "AqillaSalesTrackingAttributeValue": "sample string 4",
  "CsvAccountCode": "sample string 5",
  "XeroAccountCode": "sample string 6",
  "SageBankAccountCode": "sample string 7",
  "QuickBooksAccountCode": "sample string 8"
}

application/xml, text/xml

Sample:
<UpdateAccountRequestCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.Core.Models.Accounts.Commands">
  <AccountID>2</AccountID>
  <AqillaAccountCode>sample string 3</AqillaAccountCode>
  <AqillaSalesTrackingAttributeValue>sample string 4</AqillaSalesTrackingAttributeValue>
  <CsvAccountCode>sample string 5</CsvAccountCode>
  <QuickBooksAccountCode>sample string 8</QuickBooksAccountCode>
  <SageBankAccountCode>sample string 7</SageBankAccountCode>
  <SiteID>1</SiteID>
  <XeroAccountCode>sample string 6</XeroAccountCode>
</UpdateAccountRequestCommand>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.