Using ERRest to update object with compound key
Using ERRest to update object with compound key
- Subject: Using ERRest to update object with compound key
- From: Luiz Alfredo Carrara Bertusso <email@hidden>
- Date: Tue, 16 Aug 2016 12:12:12 -0300
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden