Does anyone have any examples of using the Azure ESB REST API to receive messages from a topic/Sub.
I can hit the subscription and get the subscription summary details, but can’t see how to get the messages either singly or batched.
I have looked in Azure REST API and there are examples for Queues and language examples with SDK for various languages. I want to explore the REST Approach since another similar question was answered here and noted the SDKs are wrappers around the REST API. So I ‘d rather just hit the REST API directly.
Using Postman initially but with a view to call the API from an integration platform.
Thanks in advance.
Tried GET AND DELETE verbs on the sbus url and with the URL obtained from service bus explorer.
Was expecting a bundle of messages, but get the errors below on those verbs:
GET
400
The request is not supported for the supplied api-version ”. TrackingId:de9fa084-0f97-4098-8a46-9193bd1e0ccd_G40, SystemTracker:sbus-pep-dev-ukso-001:Topic:satesttopic, Timestamp:2024-08-02T15:47:47
DELETE
400
The specified HTTP verb (DELETE) is not valid. To know more visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:913095cc-f0e6-4b88-af2c-1db1c537e1c3_G40, SystemTracker:sbus-pep-dev-ukso-001:Topic:satesttopic, Timestamp:2024-08-02T15:48:13