GET RequestObservers/LookupObservers
Retrieve observers
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ObserverDTOName | Description | Type | Additional information |
---|---|---|---|
ID |
The user or SecurityGroup ID |
globally unique identifier |
None. |
DisplayName |
The display name for the observer |
string |
None. |
DisplayNameWithType |
The display name for the observer |
string |
None. |
ObserverType |
The type of the observer |
ObserverTypes |
None. |
Response Formats
application/json, text/json
Sample:
{ "results": [ { "ID": "27faeb5a-cdba-4f2c-b651-ec309f985586", "DisplayName": "sample string 2", "DisplayNameWithType": "sample string 3", "ObserverType": 1 }, { "ID": "27faeb5a-cdba-4f2c-b651-ec309f985586", "DisplayName": "sample string 2", "DisplayNameWithType": "sample string 3", "ObserverType": 1 } ] }
text/javascript
Sample:
{"results":[{"ID":"27faeb5a-cdba-4f2c-b651-ec309f985586","DisplayName":"sample string 2","DisplayNameWithType":"sample string 3","ObserverType":1},{"ID":"27faeb5a-cdba-4f2c-b651-ec309f985586","DisplayName":"sample string 2","DisplayNameWithType":"sample string 3","ObserverType":1}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfObserverDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <ObserverDTO> <DisplayName>sample string 2</DisplayName> <DisplayNameWithType>sample string 3</DisplayNameWithType> <ID>27faeb5a-cdba-4f2c-b651-ec309f985586</ID> <ObserverType>User</ObserverType> </ObserverDTO> <ObserverDTO> <DisplayName>sample string 2</DisplayName> <DisplayNameWithType>sample string 3</DisplayNameWithType> <ID>27faeb5a-cdba-4f2c-b651-ec309f985586</ID> <ObserverType>User</ObserverType> </ObserverDTO> </ArrayOfObserverDTO>