PUT api/SetupGLAccountStructure/{AccountId}/{CompanyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AccountId

integer

Required

CompanyId

string

Required

Body Parameters

SetupGLAccountStructure
NameDescriptionTypeAdditional information
SetupGLAccountStructureId

integer

None.

GLAccountSection

integer

None.

GLAccountSubSection

integer

None.

Description

string

None.

StartRange

integer

None.

EndRange

integer

None.

ParentStructureId

string

None.

HasChildren

boolean

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:
{
  "SetupGLAccountStructureId": 1,
  "GLAccountSection": 2,
  "GLAccountSubSection": 3,
  "Description": "sample string 4",
  "StartRange": 5,
  "EndRange": 6,
  "ParentStructureId": "sample string 7",
  "HasChildren": true,
  "AccountId": 9,
  "CompanyId": "sample string 10",
  "CreatedOn": "2025-12-17T04:41:49.0146213+00:00",
  "CreatedBy": "sample string 12",
  "UpdatedOn": "2025-12-17T04:41:49.0146213+00:00",
  "UpdatedBy": "sample string 13",
  "IsLockedForEditing": true,
  "LockedBy": "sample string 15"
}

application/xml, text/xml

Sample:
<SetupGLAccountStructure 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">9</AccountId>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</CompanyId>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 12</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-17T04:41:49.0146213+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 15</LockedBy>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 13</UpdatedBy>
  <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-17T04:41:49.0146213+00:00</UpdatedOn>
  <Description>sample string 4</Description>
  <EndRange>6</EndRange>
  <GLAccountSection>2</GLAccountSection>
  <GLAccountSubSection>3</GLAccountSubSection>
  <HasChildren>true</HasChildren>
  <ParentStructureId>sample string 7</ParentStructureId>
  <SetupGLAccountStructureId>1</SetupGLAccountStructureId>
  <StartRange>5</StartRange>
</SetupGLAccountStructure>

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.