/// <summary> /// Test Web Hook /// </summary> /// <remarks> /// Tests a web hook given a registration ID and a filter string. /// </remarks> public Task TestWebHookAsync(int businessId, string id, TestWebHookQueryModel request, CancellationToken cancellationToken = default) { return(ApiRequestAsync($"/business/{businessId}/webhookregistrations/{id}/test?filter={request.Filter}", Method.GET, cancellationToken)); }
/// <summary> /// Test Web Hook /// </summary> /// <remarks> /// Tests a web hook given a registration ID and a filter string. /// </remarks> public void TestWebHook(int businessId, string id, TestWebHookQueryModel request) { ApiRequest($"/business/{businessId}/webhookregistrations/{id}/test?filter={request.Filter}", Method.GET); }