1

I'm trying to update DE containing compound primary key with this method

PUT /hub/v1/dataevents/key:{key}/rows/{primaryKeys}

Documentation on method

which suggests adding primary keys as an array. Could you please advise on syntax of such request. I tried something like this:

key1:key_value&key2:key_value

But apparently, it is not the way to go. I also tried different methods with key included in the request body and it allows to insert records but I could not update them based on multiple keys I have. Any suggestions on different methods that could work would also help.

1

Use a comma to separate the keys.

key1:key_value,key2:key_value
  • 1
    Mike, thanks for the suggestion. It works! It tried it before but apparently, there also was a small mistake in the request body. – Artur Krotkov May 24 at 14:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.