PUT api/SetupGLAccount/PostDelete

Request Information

URI Parameters

None.

Body Parameters

GLChartOfAccount
NameDescriptionTypeAdditional information
Id

integer

None.

Break1

string

None.

Break1Desc

string

None.

Break2

string

None.

Break2Desc

string

None.

AccountName

string

None.

AccountSection

byte

None.

AccountSubSection

byte

None.

AccountTag

byte

None.

AccountTagDesc

string

None.

ModuleVisibility

string

None.

CashFlowSection

string

None.

Inactive

boolean

None.

GLAccountId

integer

None.

AccountFullName

string

None.

AccountNumber

string

None.

AccountType

string

None.

SpecialAccountType

string

None.

Desc

string

None.

QBId

string

None.

QBSyncToken

string

None.

AccountId

integer

None.

CompanyId

string

None.

CreatedOn

date

None.

CreatedBy

string

None.

UpdatedOn

date

None.

UpdatedBy

string

None.

IsLockedForEditing

boolean

None.

LockedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Break1": "sample string 2",
  "Break1Desc": "sample string 3",
  "Break2": "sample string 4",
  "Break2Desc": "sample string 5",
  "AccountName": "sample string 6",
  "AccountSection": 64,
  "AccountSubSection": 64,
  "AccountTag": 64,
  "AccountTagDesc": "sample string 10",
  "ModuleVisibility": "sample string 11",
  "CashFlowSection": "sample string 12",
  "Inactive": true,
  "GLAccountId": 14,
  "AccountFullName": "sample string 15",
  "AccountNumber": "sample string 16",
  "AccountType": "sample string 17",
  "SpecialAccountType": "sample string 18",
  "Desc": "sample string 19",
  "QBId": "sample string 20",
  "QBSyncToken": "sample string 21",
  "AccountId": 22,
  "CompanyId": "sample string 23",
  "CreatedOn": "2025-12-16T09:39:12.131019+00:00",
  "CreatedBy": "sample string 25",
  "UpdatedOn": "2025-12-16T09:39:12.131019+00:00",
  "UpdatedBy": "sample string 26",
  "IsLockedForEditing": true,
  "LockedBy": "sample string 28"
}

application/xml, text/xml

Sample:
<GLChartOfAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup">
  <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">22</AccountId>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 23</CompanyId>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 25</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T09:39:12.131019+00:00</CreatedOn>
  <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">true</IsLockedForEditing>
  <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 28</LockedBy>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 26</UpdatedBy>
  <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T09:39:12.131019+00:00</UpdatedOn>
  <AccountFullName>sample string 15</AccountFullName>
  <AccountName>sample string 6</AccountName>
  <AccountNumber>sample string 16</AccountNumber>
  <AccountSection>64</AccountSection>
  <AccountSubSection>64</AccountSubSection>
  <AccountTag>64</AccountTag>
  <AccountTagDesc>sample string 10</AccountTagDesc>
  <AccountType>sample string 17</AccountType>
  <Break1>sample string 2</Break1>
  <Break1Desc>sample string 3</Break1Desc>
  <Break2>sample string 4</Break2>
  <Break2Desc>sample string 5</Break2Desc>
  <CashFlowSection>sample string 12</CashFlowSection>
  <Desc>sample string 19</Desc>
  <GLAccountId>14</GLAccountId>
  <Id>1</Id>
  <Inactive>true</Inactive>
  <ModuleVisibility>sample string 11</ModuleVisibility>
  <QBId>sample string 20</QBId>
  <QBSyncToken>sample string 21</QBSyncToken>
  <SpecialAccountType>sample string 18</SpecialAccountType>
</GLChartOfAccount>

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.