Thanks, Michael and Philippe!

Implementing BookingRestDelegate and overriding createObjectOfEntityWithID did 
the trick.

Fabian

Am 26.09.2014 um 21:20 schrieb Michael Kondratov <mich...@aspireauctions.com>:

> You could create a custom rest delegate object.
> 
> Michael
> www.aspireauctions.com
> 
> Sent from my iPhone
> 
>> On Sep 26, 2014, at 2:37 PM, Fabian Peters <lists.fab...@e-lumo.com> wrote:
>> 
>> 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      (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/michael%40aspireauctions.com
>> 
>> This email sent to mich...@aspireauctions.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to