-
Hello, I'm working with the Alerts API, and I came across a situation where the "ends" property contained the time a warning was set to end, but that value wasn't present in the "eventEndingTime" property. According to the CAP documentation (if I'm interpreting it correctly), the "eventEndingTime" property is where that value should be reflected, but that gave an entirely different ending time than what was expressed in the description of the alert and what was in the "ends" property. Here's a sample of the response:
My question is, what property should I be going off of to determine when the alert actually ends? I noticed that the "ends" property is not in the documentation, but "eventEndingTime" is (https://vlab.noaa.gov/web/nws-common-alerting-protocol/cap-documentation#eventendingtime) and would seem to be the right value to key into. Any assistance would be appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The eventEndingTime is the same as ends in that example, just reported with different tz offsets. I believe ends might be added by API and taken from eventEndingTime in the ingest of the CAP alert. |
Beta Was this translation helpful? Give feedback.
The eventEndingTime is the same as ends in that example, just reported with different tz offsets. I believe ends might be added by API and taken from eventEndingTime in the ingest of the CAP alert.