ERRest with non-PK attribute
ERRest with non-PK attribute
- Subject: ERRest with non-PK attribute
- From: Fabian Peters <email@hidden>
- Date: Fri, 26 Sep 2014 20:37:54 +0200
I'd know how to do this via a custom action, a qualifier and mod_rewrite, but: Is there an easy way to get a rest route to retrieve an object by a different attribute than the PK?
/ra/Booking/a4450596-662b-43ac-cc4f-ecd4d7b37409.json
or maybe
/ra/Booking/uuid/a4450596-662b-43ac-cc4f-ecd4d7b37409.json
Fabian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden