Update Scheduler Status

This API is used to update the status of schedule.

Update Scheduler Status

Purpose To Update Schedule based on Schedule Id.
API URL https://<API URL>:<API Port>/v2/inventory/schedulerStatus/{orgentityid}
Authentication type Basic/Token
Method Type GET
Example https://<API URL>:<API Port>/v2/inventory/schedulerStatus/1

Input:

[{
"ScheduleId": "#scheduleid#",
"Status": "3",
}]
Table 1. Status Code
Code Text
0 Queued
1 Initiated
2 In Progress
3 Failed
4 Successful
5 Pending for approval
6 Approved

Output:

{
  "Id": "xxxxxxxxxxxxxxxxxxx",
  "Status": "Success",
  "Message": "Schedule Status Updated Successfully"
}
Table 2. Parameter Returned in Response of API
Column Column Type Value Remarks
Id string Unique Identifier This field contain unique identifier
Status string Fail/Success Message
Message string text This field provide message