Export (0) Print
Expand All

Get Entity

Updated: October 3, 2014

Retrieves an entity.

You can construct the Get Entity request as follows.

 

Method Request URI HTTP Version

GET

https://{serviceNamespace}.servicebus.Windows.net[:{port}]/{path}

HTTP/1.1

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}”.

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

 

Code Description

200

OK.

401

Unauthorized. The request is not authorized.

404

Not found.

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

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

 

Response Header Description

Content-type

Content-Type: application/atom+xml; type=entry

Upon success, a validated Atom entry is returned. For example:

<?xml version="1.0" encoding="utf-8" ?>
<entry xmlns='http://www.w3.org/2005/Atom'>
  <id>https://{serviceNamespace}.servicebus.Windows.net/{path}</id>
  <published>{createdTime}</published>
  <updated>{lastUpdatedTime}</updated>
  <link rel='self'>https://{serviceNamespace}.servicebus.Windows.net/{path} </link>
  <content type='application/xml'>
    {description}
  </content>
</entry>

Show:
© 2014 Microsoft