Share via


Get Rule

 

Retrieves the description for the specified rule.

Request

Method

Request URI

HTTP Version

GET

https://{serviceNamespace}.servicebus.windows.net/{topic path}/subscriptions/{subscription name}/rules/{rule 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

201

Successfully retrieved the rule description.

401

Authorization failure.

404

Specified rule does not exist.

500

Internal error.

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

Response Headers

None.

Response Body

Rule description: see RuleDescription.

See Also

Rules
Delete Rule
Get Rule
List Rules
RuleDescription
Example: Creating a Rule