Skip to main content

Update EOD Status

GET Update EOD Status

If the user wants to switch the EOD service's behavior from manual to automatic or vice versa, they must use this API to update the state of the EOD. 
The user can choose the time at which the EOD should commence execution when switching from AUTO to Manual; by default, it is scheduled to begin at 8:00 PM and also Initially EOD is set to Manual Configuration.

image.png

URL: {{base_url}}eod/scheduler/v1/updateEODStatus

Request:

Request Type: GET
Authorization: Bearer Token
Query Parameter:
KeyData TypeDescriptionValidationsDefault ValueRequired
auto_eod_enableStringCheck for identify Auto EOD enabling N/A-Yes
eod_initiate_timeStringTime for initiating auto executionN/A8 : 00 PMYes


Response:

KeyData TypeDescriptionRequired
responseStringInternal response status for the requestYes
dataJSONData reverted in response to the requestOptional
errorJSONInternal response error code Optional

Status Code: 200 OK
{
   "response": true,
   "data": "String",
   "error": null
}
Expected messages as per Status API :
  • "Eod initiate time set and auto eod enabled"
  • "Eod initiate time is been reset and auto eod disabled"
Status Code: 400 BAD REQUEST

Condition: The system will provide the following error code if any of the following parameters are missing from it.

{
    "timestamp": "2023-04-27T19:14:50.448+00:00",
    "status": 400,
    "error": "Bad Request",
    "path": "string"
}