Get Subscription

 

Retrieves the description for the specified subscription. No rule information is returned.

Request

Method

Request URI

HTTP Version

GET

GET https://{serviceNamespace}.servicebus.windows.net/{topic path}/Subscriptions/{Subscription Name}

HTTP/1.1

Request Headers

The following table describes required and optional request headers.

Request Header

Description

Authorization

Specifies a WRAPv0.9.7.2 token containing a SimpleWebToken acquired from ACS. Set to WRAP access_token=”{swt}”.

Request Body

None.

Response

The response includes an HTTP status code and a set of response headers.

Response Codes

Code

Description

200

Subscription exists and description was returned.

401

Authorization failure.

404

The specified subscription does not exist.

500

Internal error.

For information about status codes, see Status and Error Codes.

Response Headers

None.

Response Body

If the subscription exists, an AtomPub entry that contains the subscription description (see Subscription Description). If the subscription does not exist, the response does not contain a body.

See Also

Subscriptions
Create Subscription
Delete Subscription
List Subscriptions
Subscription Description
Example: Creating a Subscription