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:
Key Data Type Description Validations Default Value Required
auto_eod_enable String Check for identify Auto EOD enabling  N/A - Yes
eod_initiate_time String Time for initiating auto execution N/A 8 : 00 PM Yes


Response:

Key Data Type Description Required
response String Internal response status for the request Yes
data JSON Data reverted in response to the request Optional
error JSON Internal 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"

Error Code: 500 Internal Server Error
{
    "response": false,
    "data": null,
    "error": {
        "code": 0,
        "text": "string",
        "detail": "string"
    }
}

Expected messages as per Status API :

Error Code Description
107001 An Exception occurred in saving data

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"
}