MergeSchedules
HTTP Request Formats
POST api/Merge
To specify the schedule the command shall be sent to:
POST api/schedule/{scheduleName}/Merge
Description
The MergeSchedules REST API command merges two schedule files and saves the results to a new schedule
file.
For more detailed information go to: Merge Schedules Form
Parameters
JSON Parameters | Body Format | Description |
---|---|---|
PrimaryPath | "PrimaryPath" : "C:\\MySchedules\\Schedule1" | Parameter is a string of the path to the first schedule file |
SecondaryPath | "SecondaryPath" : "C:\\MySchedules\\Schedule2" | Parameter is a string of the path to the second schedule file |
OutputPath | "OutputPath" : "C:\\MySchedules\\MergedSchedule" | Parameter is a string of the path to the output schedule file |
Examples
Merges the two schedule files (C:\MyFiles\ScheduleFiles\PrimaryFile.ssc and
C:\MyFiles\ScheduleFiles\SecondaryFile.ssc) to the new schedule file C:\MyFiles\ScheduleFiles\MergedFile.ssc
POST api/Merge
Body:
{
"PrimaryPath" : "C:\\MyFiles\\ScheduleFiles\\PrimaryFile.ssc",
"SecondaryPath" : "C\\MyFiles\\ScheduleFiles\\SecondaryFile.ssc",
"OutputPath" : "C:\\MyFiles\\ScheduleFiles\\MergedFile.ssc"
}
Return Message
If activated, a standard response for a successful HTTP response shall appear.
Group Membership
This command belongs to the following group(s):
Version
12.3