I have two urls:
blah.com/workorder/{dealer_code}
blah.com/workorder/{cust_id}
Both of these return a workorder based on the data sent in. Both dealer_code and cust_id are String data (you couldn't tell the difference in them).
Supposing that there is no time or way to figure out on the back end which is which, how would you design this. I have a few ideas but don't want to lead. Also, it could get longer. What about if you had this:
blah.com/workorder/{dealer_code}/{id_no}/{category}
blah.com/workorder/{cust_id}/{ref_no}/{name}
Thoughts?