For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
5 1 3 8

How can we do partial post in EWS?

We contribute to large pages, changing only portions of a row. I'm 90% sure this was possible with RFA, is it possible with EWS?

treprdp-apiwebsocketsrrtopost
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@jirapongse.phuriphanvichai, @Umer Nalla,
Could you guys take a look into this question?
Thanks.

1 Answer

· Write an Answer
Upvote
Accepted
11.3k 25 9 14

Hi @pj.chan

Yes, it is possible. I have tried to post Partial Field update to ADS using WebSocket API. ADS is able to update its cache properly. Please note that ADS expects only ASCII character for RMTES field, so application needs to convert Partial Field escape character to ASCII character set.

Below is the sample of Post message. It replaces the ROW80_1 field at position 5 with "ABCDE".

{
  "Ack": true,
  "Domain": "MarketPrice",
  "ID": 1,
  "Key":
  {
    "Name": "TEST"
  }
  "Message": {
    "Domain": "MarketPrice",
    "Fields": {
      "ROW80_1": "[5`ABCDE"
    },
    "ID": 0,
    "Type": "Update"
  },
  "PostID": 1,
  "PostUserInfo": {
    "Address": "127.0.0.1",
    "UserID": 55555
  },
  "Type": "Post"
}

rmtesstring.png (13.6 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.