/orders/add
POST
add orders
Parameters in the POST body schema
Name | Type | Description | Example | Default |
---|---|---|---|---|
jobschedulerId |
required, string | JobScheduler Master ID | scheduler | |
orders |
required, array | Specified the orders which should be modified and the modification. | [{
"jobChain":"/sos/reporting/Inventory"
}] |
|
orderId |
optional, string field of each orders item |
JobScheduler creates an ID if this field is empty | ||
jobChain |
required, string field of each orders item |
Path of the job chain | ||
at |
optional, string field of each orders item |
start time in ISO format yyyy-mm-dd HH:MM[:SS] or now or now + HH:MM[:SS] or now + SECONDS | now+10 | now |
state |
optional, string field of each orders item |
Name of the desired job chain start node | ||
endState |
optional, string field of each orders item |
Name of the desired job chain end node | ||
params |
optional, array field of each orders item |
Parameter | params:[{"name":"...","value":"..."}] | |
title |
optional, string field of each orders item |
Title | ||
runRime |
optional, string field of each orders item |
run time in xml format | ||
auditLog |
optional, object | Object which contains comment , timeSpent and ticketLink . |
{
"comment":"It was not really necessary!",
"timeSpent":2
} |
|
comment |
optional, string | Field in auditLog to comment this action, e.g. the reason. |
||
timeSpent |
optional, string | Field in auditLog to enter the time spent in minutes. |
5 | |
ticketLink |
optional, string | Field in auditLog to enter a link to a corresponding ticket. |
Request