When you hit one of your above mentioned endpoint, it will give error i.e. “The request matched multiple endpoints.” You can solve this by specifying the type like below
[HttpGet("{integerId:int}")]
public IActionResult GetObjectByIntegerId(int integerId) {
}
CLICK HERE to find out more related problems solutions.