Delete record on an interactive source with an OMM off-stream post (websocket)

Hi - how do I delete a specific record using an OMM off-stream post on the ads web socket please?
I'm using a type "Update" with an Action "Delete" - I get an Ack back from the ads, but the record doesn't get deleted.
How do I remove it from cache please with a post?
If i use this
"Message": {
"ID": 0,
"Type": "Status",
"State": {
'Stream': 'Closed',
'Data': 'Suspect',
'Code': 'None',
'Text': '***Item Deleted'
},
I get a response:
[{"ID":1,"Type":"Ack","AckID":0,"NakCode":"NoResources","Text":"A42: Status message is not supported for services which do not support posting.
Thanks
Martin
Answers
-
Thank you for reaching out to us.
The error message indicates that the service doesn't support posting.
A42: Status message is not supported for services which do not support posting.
Does the interactive provider advertise the SupportOMMPost property in the login refresh?
0 -
Hi - Yes it does support posting. I changed the message to be this:
"Message": {"ID": 0,
"Type": 5,
"Key": mp_post_key,
"Container": 1, # 1 = Delete container type
"Fields": {}
},
"Type": "Post",
"ID": 1
}
And now I get this error:
2025-04-08 08:35:53,597 - INFO - [{"ID":1,"Type":"Ack","AckID":0,"NakCode":"DeniedBySrc","Text":"Failed","Key":{"Service":"FPUB_QA","Name":"TEST5"}}]
0 -
Where did you find that the "Container": 1 is the Delete container type?
First, I would like to clarify this usage.
You have an interactive provider on RTDS. You can send off-stream post update messages to that interactive provider. However, you can't post a status message to delete an item.
I tested it with the 340_MP_Posting as an interactive provider and I can use the following post message in WebSocket to send a status message.
{
"Ack": true,
"ID": 1,
"Key": {
"Name": "TEST01",
"Service": "DIRECT_FEED"
},
"Message": {
"ID": 0,
"State": {
"Stream": "Closed",
"Data": "Suspect",
"Code": "None",
"Text": "***Item Deleted"
},
"Type": "Status"
},
"PostID": 30,
"Type": "Post"
}The interactive provider retrieved this message.
0 -
How do i send a delete for a source that does not support posting please?
0 -
Please explain more about your usage.
For my understanding, you have an interactive provider which doesn't support posting on RTDS and you have a consumer connecting to RTDS and consuming data from a service provided by that interactive provider.
Typically, an interactive provider accepts items' request messages from RTDS or consumers. Then, it provides response messages back to RTDS or consumers. Consumers can send close messages to an interactive provider to unsubscribe items. This is how an interactive provider works.
Moreover, an interactive provider can also support posting which allows consumers to contribute data to an interactive provider. However, an interactive provider must support posting and it must have a logic to handle the retrieved post messages.
0 -
Hi Jirapongse
Do you have links to any documentation I can read please, regarding post types, updates, refresh, deletions etc?
Thanks
Martin
0 -
All documents are in the RTSDK package.
Please check the API Concept guide and developer guide.
0 -
Hi - do you have an equivalent page for websocket connections please?
0 -
I checked the Websocket documents and couldn't find it.
The API concept guide applies to all real-time APIs.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛