API Support for Registration Ticket Type AvailableFrom / AvailableThrough Times
Version 9.18.1 provided the new feature of being able to set specific dates and times for registration ticket types in the UI.
We are trying to update our API application (which creates recurring events) to set times alongside the AvailableFrom and AvailableThrough dates. However, our requests containing time values are not flowing through.
Can anyone clarify if setting time values via the API is currently supported for these fields, or if API updates for this feature are still in development?
-
Paul
commented
Response from Wild Apricot development team:
This is a limitation of our API. Our API defines them both as follows:
AvailableFrom:
type: string
format: date
description: The first day on which this registration type is available.
AvailableThrough:
type: string
format: date
description: The last day on which this registration type is available.
The API accepts date-only values, not date-time. Any time component included in the request payload will be ignored or stripped.