A machine was deleted via JIL, but it is still showing in the AEWS machine end point. Is this normal?
When a machine is deleted from AutoSys, it gets marked as inactive in the database. AutoSys command line autorep would not show such a machine anymore.
However, AEWS machine endpoint still would show until in that deleted machine is archived via DBMaint. This is expected.
There is a version parameter that can also be used. Here's what you can expect as documented in the Swagger API
version
integer($int32)
(query)
Specifies the API endpoint version.
NOTE :
If version=1 : deleted machine is not returned.
If version>2 :
the machine can be in deleted state.
Every machine has a field that is named "state". The value for the state field can be New, Updated, or Deleted.
The machineMethod is displayed.
The operating system type of the agent (detectedOS) is displayed.
This information is displayed only after the agent communicates with the scheduler.
If version>3 : agentUri attribute is returned.