The updateCSRScheduledOrder
actor-chain is used to update a scheduled order using a scheduled order template.
Parameter | Description |
---|---|
| The repository ID of the scheduled order. Note, this is not the ID of the scheduled order template, but the ID of the scheduled order item. |
| The name of the scheduled order. |
| The type of scheduled order. Values can be either |
| The start date used for the order. |
| Options that can be set for the end date of the scheduled order. The options include |
| This parameter is used with the |
| The end date of the scheduled order. Used with the |
| This calendar property sets the delivery days of the scheduled order. The options for this property are |
| An integer array of selected days, for example, “2,4” indicate Monday and Wednesday. Values start at 1, indicating Sunday, and end with 7, indicating Saturday. |
| An integer array of values between 1 and 31. |
| Identifies the occurrence of the scheduled order. Options are |
| An integer array for occurrences of the scheduled order. Options are: 1 – First Use this parameter with |
| Allows you to select specific months, |
| Sets the delivery months of the scheduled orders. Values are 0 – 11, which indicate January – December. |
| Identifies the selected hours in an integer array. Values are 0 – 23, where 0 indicates 12:00, and 23 indicates 23:00 or 11:00 p.m. |
| Identifies the selected minutes in an integer array. Values are 0 – 59. |
| Identifies the interval option for the schedule. Selected intervals are used when creating a periodic schedule. When |
| Indicates the interval option, which is either |
Update Scheduled Order Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{ \"scheduledOrderId\" : \"sco100002\" , \"name\" : \"Modified Company Schedule\" , \"selectedHours\" : \"12, 16, 20\" , \"selectedMinutes\" : \"05\" }" "http://localhost:8181/rest/model/atg/commerce/custsvc/order/scheduled/ CSRScheduledOrderActor/updateCSRScheduledOrder"