I am trying to create / edit a occasion with new times. New times can be past one.
here is the example request:
fetch("/api/2.0/messages/<message-id>", {
method: "PUT",
headers: {
"Content-Type":"application/json"
},
body: JSON.stringify({
type:"message",
subject:" test updating message",
occasion_data: {
"start_time":moment().sub(1,"hour").toISOString()
}
})
}).then(r => r.json()).then(console.log).catch(console.log)
Same applied for post request while creating.
Hi @vamshi9666. Are you getting any specific error with your request? @SohilM is creating a new occasion (event) with a start time that has already passed supported? @JavidH @RyanPi do either of you have any insight here?
@vamshi9666 We currently do not support creating events with a past start time. Can you please let us know your use case here?
Welcome to the Technology board!
Curious about our platform? Looking to connect on social technology? You've come to the right place!