Delete LifecycleEventsAPI has a discrepancy for the 'dateTime' field. Should take an event ID as a path parameter and not as a json
Description
Delete LifecycleEventsAPI has a discrepancy for the 'dateTime' field. When a project is created and a lifecycle event is added it looks like this for example:
"LifecycleEvents": [
{
"name": "Create",
"dateTime": "2024-05-03T13:15:36.228746"
},
{
"Resources": [
"namespace:any-group-type--AnyIndividualType:SomeUniqueAnyIndividualTypeID:"
],
"EventId": "eventId53",
"DateTime": "2020-02-14T09:13:16.52+0000",
"Name": "Example Name 02",
"Remark": "Example Remark",
"WIPResources": [
"namespace:any-group-type--AnyIndividualType:SomeUniqueAnyIndividualTypeID:"
]
}
],
note the difference in the case for dateTime field.
The service uses the following field.
public static final String DATE_TIME = "DateTime";
Also, I think the Delete Lifecycle event should take in a EventId as an input and not a json. This implementation should be re-worked.
Acceptance criteria
[What needs to be done for the story to be complete?]
Testing scenarios
[What testing should be done to make sure the output works as expected?]
Technical notes
[Any technical details, guides, documentation, wikis, and many more that could be useful to complete this story.]