GET api/GLAccountSales?DB={DB}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DB

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GLAccountList
NameDescriptionTypeAdditional information
GL_AccountID

integer

None.

GL_Account_Name

string

None.

Description

string

None.

GL_AccountType

string

None.

GL_Account_TypeID

integer

None.

CurrencyID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "GL_AccountID": 1,
    "GL_Account_Name": "sample string 2",
    "Description": "sample string 3",
    "GL_AccountType": "sample string 4",
    "GL_Account_TypeID": 5,
    "CurrencyID": 6
  },
  {
    "GL_AccountID": 1,
    "GL_Account_Name": "sample string 2",
    "Description": "sample string 3",
    "GL_AccountType": "sample string 4",
    "GL_Account_TypeID": 5,
    "CurrencyID": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfGLAccountList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdroitERPWebApis">
  <GLAccountList>
    <CurrencyID>6</CurrencyID>
    <Description>sample string 3</Description>
    <GL_AccountID>1</GL_AccountID>
    <GL_AccountType>sample string 4</GL_AccountType>
    <GL_Account_Name>sample string 2</GL_Account_Name>
    <GL_Account_TypeID>5</GL_Account_TypeID>
  </GLAccountList>
  <GLAccountList>
    <CurrencyID>6</CurrencyID>
    <Description>sample string 3</Description>
    <GL_AccountID>1</GL_AccountID>
    <GL_AccountType>sample string 4</GL_AccountType>
    <GL_Account_Name>sample string 2</GL_Account_Name>
    <GL_Account_TypeID>5</GL_Account_TypeID>
  </GLAccountList>
</ArrayOfGLAccountList>