ScheduledOrders
Calculate Next Occurrence
Calculates a Next Occurrence Date based off the provided frequencyType, frequency and the current UTC date
get/Sites/{siteId}/ScheduledOrders/NextOccurrenceUtc
Request
- Base URLhttps://api.qpilot.cloud
- AuthAPI key in header Authorization
- TypeScripthttps://skmtc.dev/qpilot/apis/qpilot-api/docs/Sites/:siteId/ScheduledOrders/NextOccurrenceUtc/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
siteIdinteger required
The site identifier
Query parameters
frequencyType'Days' | 'Weeks' | 'Months' | 'DayOfTheWeek' | 'DayOfTheMonth'
The frequency type
frequencyinteger
The frequency
fromUtcstring date-time
The UTC date from which the next occurrence date is calculated
Response
Success
Changes
No recorded changes to this operation across all 2 revisions of this API.