GET api/DeletedAccounts

Retrieve the accounts that were deleted or stopped after the last sync date

Request Information

URI Parameters

None.

Body Parameters

DeletedAccountsReq
NameDescriptionTypeAdditional information
Company

The company name

string

None.

LastSyncDate

Retrieve accounts that were modified since LastSyncDate

date

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",
  "PageSize": 2,
  "PageNumber": 1
}

Response Information

Resource Description

DeletedAccounts
NameDescriptionTypeAdditional information
MsgControl

Control informations about the response

MsgControl

None.

deletedAccounts

The list of the deleted/stopped account codes

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "MsgControl": {
    "result": 0,
    "Message": "Corresponding success and error message",
    "MethodName": "api/DeletedAccounts GET",
    "AppName": "EsoftWebApi",
    "EsoftUser": "ESOFT",
    "User": "Username",
    "Password": "Password",
    "SystemDate": "2025-01-06T22:32:15.2033729+02:00",
    "GenList": [],
    "GenMsg1": "",
    "GenMsg2": "",
    "GenMsg3": ""
  },
  "deletedAccounts": [
    "320001",
    "320030"
  ]
}