Hello Luiz,

Unsure, but you may need to build a custom piece in your rest
delegate for this.

Take a look at IERXRestDelegate.objectOfEntityWithID

Regards,

--
Matt
http://logicsquad.net


On Wed, Aug 17, 2016, at 01:12 AM, Luiz Alfredo Carrara Bertusso wrote:
> Hello, I've been trying to use ERRest to update an object that has
> compound key but I've not found a way to do it, is it possible?
> For example a have a contact that has an address ant his address has a
> a type named Work with the keys 55 and 2.  I`d like to update it, but
> due to the compound key it has'n been possible. Here's an example:
>
>
>     {
>         "id": 1,
>         "typeClass": "Contact",
>         "fullName": "John Doe"
>         "addresses":
>         [
>             {
>                 "id": 2,
>                 "typeClass": "Address",
>                 "city": "Rio",
>                 "country": "Brazil",
>                 "state": "RJ",
>                 "streetName": "Av. Atlantica"
>         "addressType":
>                 {
>                     "id": [55, 2],
>                     "typeClass": "Tag",
>                     "type": 5,
>                     "value": "Work"
>                 }
>             }
>         ]
>     }
>
> _________________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/matt%40logicsquad.net
>
> This email sent to [email protected]


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

This email sent to [email protected]

Reply via email to