errHandlerProblemDetails(w,"Query parameters are not allowed",http.StatusBadRequest)
return
}
varresponseInlineNotificationSubscriptionList
varsubscriptions[]Subscription
@@ -2711,6 +2725,7 @@ func distanceSubListGet(w http.ResponseWriter, r *http.Request) {
// distanceSubGet retrieves a distance subscription identified by its ID and returns it as a JSON response.
//
// Parameters:
//
// w: http.ResponseWriter - an interface used to manipulate the HTTP response.
// r: *http.Request - a pointer to the HTTP request received.
//
@@ -2762,6 +2777,7 @@ func distanceSubGet(w http.ResponseWriter, r *http.Request) {
// distanceSubPost creates a new distance subscription based on the provided data in the request body and returns the created subscription as a JSON response.
//
// Parameters:
//
// w: http.ResponseWriter - an interface used to manipulate the HTTP response.
// r: *http.Request - a pointer to the HTTP request received.
//
@@ -2863,6 +2879,7 @@ func distanceSubPost(w http.ResponseWriter, r *http.Request) {
// distanceSubPut updates an existing distance subscription with the provided data in the request body and returns the updated subscription as a JSON response.
//
// Parameters:
//
// w: http.ResponseWriter - an interface used to manipulate the HTTP response.
// r: *http.Request - a pointer to the HTTP request received.