GET api/AccAccounts
Retrieve Accounts
Request Information
URI Parameters
None.
Body Parameters
AccountsReqName | Description | Type | Additional information |
---|---|---|---|
Company |
The company name |
string |
None. |
LastSyncDate |
Retrieve accounts that were modified since LastSyncDate |
date |
None. |
Code |
Optional filter by account code |
string |
None. |
Optional filter by email |
string |
None. |
|
Phone |
Optional filter by mobile phone |
string |
None. |
Text9 |
Optional filter by Text9 |
string |
None. |
VatRegNo |
Optional filter by Vat Reg No |
string |
None. |
PageSize |
Optional paging parameter. Return x records per page |
integer |
None. |
PageNumber |
Optional paging parameter. Number of page to return |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Company": "DEMO", "LastSyncDate": "2019-12-25T00:00:00", "Code": null, "Email": null, "Phone": null, "Text9": null, "VatRegNo": null, "PageSize": 2, "PageNumber": 1 }
Response Information
Resource Description
AccountsResName | Description | Type | Additional information |
---|---|---|---|
MsgControl |
Contains information about the response. If paging is enabled Gen1 equals the total pages |
MsgControl |
None. |
AccountsList |
List of requested accounts |
Collection of AccountM |
None. |
Response Formats
application/json, text/json
Sample:
{ "MsgControl": { "result": 0, "Message": "Found 2 Items in Page 1 / 100", "MethodName": "api/AccAccounts GET", "AppName": "EsoftWebApi", "EsoftUser": "Web API", "User": "Username", "Password": "Password", "SystemDate": "2019-12-25T00:00:00", "GenList": [], "GenMsg1": "100", "GenMsg2": "", "GenMsg3": "" }, "AccountsList": [ { "Company": "DEMO", "Code": "123", "Name1": "Test user", "Name2": "", "AccountType": "320", "AccountTypeName": "Debtors", "LedgerID": "S/L", "AccountShort": "", "Currency": "EUR", "DefaultVatCode": "3", "AccountGroupDisc": "001", "AccountPriceList": "100", "AccountPriceCode": "1", "AccountPaymentMethod": null, "AccountSalesperson": null, "Store": "2", "AccGroup1": "user defined", "AccGroup2": "user defined", "AccGroup3": "user defined", "AccGroup4": "user defined", "AccGroup5": "user defined", "AccGroup6": "user defined", "AccGroup7": "user defined", "AccGroup8": "user defined", "AccGroup9": "user defined", "AccGroup10": "user defined", "AccGroup11": "user defined", "AccGroup12": "user defined", "AccGroup13": "user defined", "AccGroup14": "user defined", "AccGroup15": "user defined", "AccGroup16": null, "AccGroup17": null, "AccGroup18": null, "AccGroup19": null, "AccGroup20": null, "Text1": "User defined text value", "Text2": "", "Text3": "", "Text4": "", "Text5": "", "Text6": "", "Text7": "", "Text8": "", "Text9": "", "Date1": "2025-01-06T22:32:15.2033729+02:00", "Date2": "2025-01-06T22:32:15.2033729+02:00", "Date3": "2025-01-06T22:32:15.2033729+02:00", "Date4": "2025-01-06T22:32:15.2033729+02:00", "Date5": "2025-01-06T22:32:15.2033729+02:00", "Number1": 0.0, "Number2": 0.0, "Number3": 0.0, "Number4": 0.0, "Number5": 0.0, "StockH1": "user defined", "StockH2": "user defined", "StockH3": "user defined", "StockH4": "user defined", "StockH5": "user defined", "ActiveAnalysis1": true, "ActiveAnalysis2": true, "ActiveAnalysis3": true, "ActiveAnalysis4": true, "ActiveAnalysis5": true, "ActiveAnalysis6": true, "ActiveAnalysis7": true, "ActiveAnalysis8": true, "ActiveAnalysis9": true, "Notes": "", "IBAN": "", "SWIFT": "", "AlternativeCode": "", "DefaultAnalysis1": null, "DefaultAnalysis2": null, "DefaultAnalysis3": null, "DefaultAnalysis4": null, "DefaultAnalysis5": null, "DefaultAnalysis6": null, "DefaultAnalysis7": null, "DefaultAnalysis8": null, "DefaultAnalysis9": null, "AutoAccountCode": null, "Address": null }, { "Company": "DEMO", "Code": "320001", "Name1": "User2", "Name2": "", "AccountType": "420", "AccountTypeName": "Supplier", "LedgerID": "P/L", "AccountShort": "", "Currency": "EUR", "DefaultVatCode": "5", "AccountGroupDisc": "100", "AccountPriceList": "10", "AccountPriceCode": null, "AccountPaymentMethod": "VS", "AccountSalesperson": null, "Store": null, "AccGroup1": "", "AccGroup2": "", "AccGroup3": "", "AccGroup4": "", "AccGroup5": "", "AccGroup6": "", "AccGroup7": "", "AccGroup8": "", "AccGroup9": "", "AccGroup10": null, "AccGroup11": null, "AccGroup12": null, "AccGroup13": "", "AccGroup14": "", "AccGroup15": null, "AccGroup16": null, "AccGroup17": null, "AccGroup18": null, "AccGroup19": null, "AccGroup20": null, "Text1": "", "Text2": "", "Text3": "", "Text4": "", "Text5": "", "Text6": "", "Text7": "", "Text8": "", "Text9": "", "Date1": "2025-01-06T22:32:15.2033729+02:00", "Date2": "2025-01-06T22:32:15.2033729+02:00", "Date3": "2025-01-06T22:32:15.2033729+02:00", "Date4": "2025-01-06T22:32:15.2033729+02:00", "Date5": "2025-01-06T22:32:15.2033729+02:00", "Number1": 0.0, "Number2": 0.0, "Number3": 0.0, "Number4": 0.0, "Number5": 0.0, "StockH1": "10", "StockH2": "test", "StockH3": null, "StockH4": null, "StockH5": "", "ActiveAnalysis1": true, "ActiveAnalysis2": true, "ActiveAnalysis3": true, "ActiveAnalysis4": true, "ActiveAnalysis5": true, "ActiveAnalysis6": true, "ActiveAnalysis7": true, "ActiveAnalysis8": true, "ActiveAnalysis9": true, "Notes": "", "IBAN": "", "SWIFT": "", "AlternativeCode": "", "DefaultAnalysis1": null, "DefaultAnalysis2": null, "DefaultAnalysis3": null, "DefaultAnalysis4": null, "DefaultAnalysis5": null, "DefaultAnalysis6": null, "DefaultAnalysis7": null, "DefaultAnalysis8": null, "DefaultAnalysis9": null, "AutoAccountCode": null, "Address": { "DellAddress1": "Naxou street 1", "DellAddress2": "", "DelTown": "Tseri", "DelCity": "Nicosia", "DelPostCode": "", "DelCountry": "Cyprus", "PostalAddress1": "", "PostalAddress2": "", "PostalTown": "", "PostalCity": "", "PostalPostCode": "", "PostalCountry": "", "POBOX": "", "POBOXPostCode": "", "POBOXCity": "", "WorkPhone": "99999999", "HomePhone": "2222222", "MobilePhone": "", "Fax": "", "Email": "", "Url": "www.something.com", "CompanyRegNo": "", "VatRegNo": "", "Notes": "", "Text1": "", "Text2": "", "Text3": "", "Text4": "", "Text5": "", "Text6": "", "Text7": "", "Text8": "", "Text9": "", "Text10": "", "Date1": "", "Date2": "", "Date3": "", "Date4": "", "Date5": "", "Number1": 0.0, "Number2": 0.0, "Number3": 0.0, "Number4": 0.0, "Number5": 0.0, "LicenceNo": "", "RegNoID": "", "ContactsList": null } } ] }