GET v1/glaccounts

Gets the GL Accounts.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

list of active GL Accounts

GLAccountsSearchResult
NameDescriptionTypeAdditional information
GLAccountId

integer

None.

GLAccountName

string

None.

GLAccountFullName

string

None.

GLAccountTypeId

integer

None.

ParentId

integer

None.

AccountNumber

string

None.

DoNotAllowPosting

boolean

None.

IsReconcilable

boolean

None.

Active

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "glAccountId": 1,
  "glAccountName": "sample string 2",
  "glAccountFullName": "sample string 3",
  "glAccountTypeId": 4,
  "parentId": 5,
  "accountNumber": "sample string 6",
  "doNotAllowPosting": true,
  "isReconcilable": true,
  "active": true
}

application/xml, text/xml

Sample:
<GLAccountsSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.Accounting">
  <AccountNumber>sample string 6</AccountNumber>
  <Active>true</Active>
  <DoNotAllowPosting>true</DoNotAllowPosting>
  <GLAccountFullName>sample string 3</GLAccountFullName>
  <GLAccountId>1</GLAccountId>
  <GLAccountName>sample string 2</GLAccountName>
  <GLAccountTypeId>4</GLAccountTypeId>
  <IsReconcilable>true</IsReconcilable>
  <ParentId>5</ParentId>
</GLAccountsSearchResult>