GET api/DeletedOrChangedItems

Retrieve the items that were stopped, deleted or their code changed 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

DeletedOrChangedItems
NameDescriptionTypeAdditional information
MsgControl

Control informations about the response

MsgControl

None.

Items

The list of the deleted, stopped item or items whose code changed

Collection of ItemChange

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": ""
  },
  "Items": [
    {
      "Code": "1001112",
      "NewCode": null
    },
    {
      "Code": "132465789",
      "NewCode": "1478"
    }
  ]
}