title: The request matched multiple endpoints but why?
body: <p>I have a controller that has multiple routes. </p>
  
  <p>I am trying to call an endpoint stated as</p>
  
  <pre><code>GET: api/lookupent/2020-03-17T13:28:37.627691
  </code></pre>
  
  <p>but this results in this error </p>
  
  <pre><code>Microsoft.AspNetCore.Routing.Matching.AmbiguousMatchException: The request matched multiple endpoints. Matches: 
  
  Controllers.RecordController.Get (API)
  Controllers.RecordController.GetRecordRegisteredAt (API)
  </code></pre>
  
  <p>but I am not sure I understand why this makes sense since this code </p>
  
  <pre><code>// GET: api/{RecordName}/{id}
  [HttpGet("{RecordName}/{id}", Name = "GetRecord")]
  public ActionResult Get(string RecordName, long id)
  
  
  // GET: api/{RecordName}/{timestamp}
  [HttpGet("{RecordName}/{timestamp}", Name = "GetRecordRegisteredAt")]
  public ActionResult GetRecordRegisteredAt(string RecordName, string timestamp)
  </code></pre>
  
  <p>why does the input match with these endpoints?</p>