I've figured out the issue. The HTTPrequest needs to have 2 headers request.Headers.Add("Content-Type", "application/json"); and request.Headers.Add("Prefer", "include-unknown-enum-members");