GET v1/Events/Subscriptions/{name}
User roles allowed to make this request:
DomainAdministrator
Permissions required to make this request:
Events.Read
Gets an Event Grid Domain Topic Subscription.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
name |
The subscription name. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
The details for the subscription.
Response Message
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "DomainId": "sample string 1", "Name": "sample string 2", "WebHookUri": "sample string 3", "EventTypes": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<SubscriptionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models.Events"> <DomainId>sample string 1</DomainId> <EventTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </EventTypes> <Name>sample string 2</Name> <WebHookUri>sample string 3</WebHookUri> </SubscriptionModel>