/user/expire/datum-delete/confirm rejected when startDate and endDate provided

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: SolarUser
    • None

      When using the /datum-delete endpoint on SN, using startDate and endDate works and shows the number of datums that would be deleted in that range of time. However, if you use the /datum-delete/confirm endpoint, passing in the same criteria, it will always fail with a message indicating you should instead use the localStartDate and localEndDate date parameters instead. When I switch to using that, it works fine.

      The API docs for /datum-delete/confirm say the same parameters supported in /datum-delete are supported. Either the documentation is wrong and only the local* dates should be used, or the /confirm endpoint is wrong and should allow the absolute dates.

            Assignee:
            Matt Magoffin
            Reporter:
            Matt Magoffin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: