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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
5 1 0 3

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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvote
Accepted
11.3k 25 8 13

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea