R
Ruben Dröge
Guest
I have a customer table with a combined primary unique index of two columns: custno, dossierno The REST api has an URI /customers to retrieve all customers The REST api has an URI /customers/{id} to retrieve a single customer Question is, how would you solve this? Solution 1: - Use both values for custno and dossierno and a seperator in the uri like /customers/custno:dossierno Solution 2: - Create a primary unique index with one column to simplify things Solution 3: - Open to all other suggestions
Continue reading...
Continue reading...