Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Kleine wijzigingen: Aanpassingen t.b.v. leesbaarheid

Triggers the sending of a test notification by a data service provider to a data service consumer for an existing subscription with the given ID. This method is only possible on subscriptions with status equal to active (see Lifecycle of a Subscription for more information)

Excerpt
namepost subs/id/test
Panel
panelIconId2705
panelIcon:white_check_mark:
panelIconText
bgColor#FFF0B3

DSGO.Basis: Data service providers MUST support a POST call to a /subscriptions/{id}/test endpoint to send a test notification to the data service consumers supplied /notifications endpoint

...

The data service provider is responsible for determining a suitable authorisation policy for their subscriptions resources. See Autorisatie for more information.

...

For information about the parameters that are common to the trust framework’s API’s see Generic API Requirements, and for parameters common to all subscriptions methods, see /subscriptions.

Excerpt
namepost subs/id/test req
Panel
panelIconId2705
panelIcon:white_check_mark:
panelIconText
bgColor#FFF0B3

DSGO.Basis: Data service providers MUST validate that the HTTP body of a POST request to a /subscriptions/{id}/test endpoint is empty

Panel
panelIconId2705
panelIcon:white_check_mark:
panelIconText
bgColor#FFF0B3

DSGO.Basis: Data service providers MUST validate that the {id} of a POST request to a /subscriptions/{id}/test is valid, exists and is available to the data service consumer

...

Excerpt
namepost subs/id/test res
Panel
panelIconId2705
panelIcon:white_check_mark:
panelIconText
bgColor#FFF0B3

DSGO.Basis: Data service providers MUST respond with a 202 Accepted to a successful POST call to a /subscriptions/{id}/test endpoint

Panel
panelIconId2705
panelIcon:white_check_mark:
panelIconText
bgColor#FFF0B3

DSGO.Basis: Data service providers MUST NOT include an HTTP body in the response to a successful POST call to the /subscriptions/{id}/test endpoint

Panel
panelIconId2705
panelIcon:white_check_mark:
panelIconText
bgColor#FFF0B3

DSGO.Basis: Data service providers MUST trigger the sending of a notification with “eventType":“Test" to the subscription’s webhook url in response to a successful POST call to the /subscriptions/{id}/test endpoint

...

Excerpt
namepost subs/id/test res 2
Panel
panelIconId2705
panelIcon:white_check_mark:
panelIconText
bgColor#FFF0B3

DSGO.Basis: Data service providers MUST respond with a 404 Not found to a POST call to a /subscriptions/{id}/test endpoint when the {id} is not a valid or available to the data service consumer

...