GET api/DeletedItems

Retrieve the items that were deleted or stopped after the last synch date

Request Information

URI Parameters

None.

Body Parameters

ItemsReq
NameDescriptionTypeAdditional information
Company

The company name

string

Required

LastSyncDate

Retrieve items that were modified since LastSyncDate

date

Required

Code

Optional filter: The item code

string

String length: inclusive between 0 and 30

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-01-01T14:30:00",
  "Code": null,
  "PageSize": 2,
  "PageNumber": 1
}

Response Information

Resource Description

DeletedItems
NameDescriptionTypeAdditional information
MsgControl

Control informations about the response

MsgControl

None.

deletedItems

The list of the deleted/stopped item codes

Collection of string

None.

Response Formats

application/json, text/json

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