Create an Action via API where we can pass startdate and enddate (client local time)

Hello All,

Can anybody provide the XML structure, to create an action, which will be a schedule one.
I want explicitly pass the start time (client local time) and end date.

Thanks,
krish

I don’t have an example handy, but the best way to get example XML for use with the REST API is to create a sample action with the settings you want in the console, and then export it.