POST api/AccountsAccountTypes/SaveAccountType

Request Information

URI Parameters

None.

Body Parameters

AccountsAccountTypesVM
NameDescriptionTypeAdditional information
ID

integer

None.

ParentAccountID

integer

None.

ParentAccount

string

None.

AccounTypeCode

string

None.

AccountType

string

None.

Des

string

None.

Active

integer

None.

IsDeleted

integer

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ParentAccountID": 1,
  "ParentAccount": "sample string 2",
  "AccounTypeCode": "sample string 3",
  "AccountType": "sample string 4",
  "Des": "sample string 5",
  "Active": 1,
  "IsDeleted": 1,
  "CreatedBy": 1,
  "CreatedOn": "2025-12-16T20:39:38.5528603-06:00",
  "ModifiedBy": 1,
  "ModifiedOn": "2025-12-16T20:39:38.5528603-06:00"
}

application/xml, text/xml

Sample:
<AccountsAccountTypesVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_BL.ViewModels">
  <AccounTypeCode>sample string 3</AccounTypeCode>
  <AccountType>sample string 4</AccountType>
  <Active>1</Active>
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2025-12-16T20:39:38.5528603-06:00</CreatedOn>
  <Des>sample string 5</Des>
  <ID>1</ID>
  <IsDeleted>1</IsDeleted>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2025-12-16T20:39:38.5528603-06:00</ModifiedOn>
  <ParentAccount>sample string 2</ParentAccount>
  <ParentAccountID>1</ParentAccountID>
</AccountsAccountTypesVM>

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.