def METHOD_NAME(api_client, signup_pk, query=None):
    detail_url = reverse(
        "signupgroup-detail",
        kwargs={"pk": signup_pk},
    )
    if query:
        detail_url = "%s?%s" % (detail_url, query)
    return api_client.get(detail_url)