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 Answer 1

1

Use a comma to separate the keys.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .