REST API - Action StartTime/EndTime

What you’re looking for is this:

<EndDateTimeLocalOffset>P3DT22H</EndDateTimeLocalOffset>

Only god knows why it’s formatted that way but that is the value for an action that ends in 3 days and 22 hours

This is the value for an action that ends in two days:

<EndDateTimeLocalOffset>P2D</EndDateTimeLocalOffset>

And this is the value for an action that ends in four days, three hours, two minutes, and one second

<EndDateTimeLocalOffset>P4DT3H2M1S</EndDateTimeLocalOffset>

I dont see anything related to the issue time returned from the API so you might need another session relevance statement like:

time issued of bes action whose (id of it = <actionid>)

And on that note you can probably just use:

(end date of it, end time_of_day of it) of bes action whose (id of it = <actionid>)

Instead of pulling the action itself