• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using ERRest to update object with compound key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Using ERRest to update object with compound key
      • From: Matthew Ness <email@hidden>
  • Prev by Date: Re: ERDragAndDropUpload
  • Next by Date: Using qualifier to filter related objects
  • Previous by thread: Re: Test message please ignore
  • Next by thread: Re: Using ERRest to update object with compound key
  • Index(es):
    • Date
    • Thread