GET Users/GetSubscribableEvents?userID={userID}

Returns the events that a given user can subscribe to.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of EventDTO
NameDescriptionTypeAdditional information
Name

Event Name

string

None.

Description

Event Description

string

None.

Locations

Available locations

Collection of PermissionAclTypes

None.

SupportsMyNotifications

Supports My Notifications

boolean

None.

ID

globally unique identifier

None.

Timestamp

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
{
  "results": [
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Locations": [
        0,
        0
      ],
      "SupportsMyNotifications": true,
      "ID": "4bc525d1-084a-456a-b8af-ae5a9b36e1f3",
      "Timestamp": "QEA="
    },
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Locations": [
        0,
        0
      ],
      "SupportsMyNotifications": true,
      "ID": "4bc525d1-084a-456a-b8af-ae5a9b36e1f3",
      "Timestamp": "QEA="
    }
  ]
}

text/javascript

Sample:
{"results":[{"Name":"sample string 1","Description":"sample string 2","Locations":[0,0],"SupportsMyNotifications":true,"ID":"4bc525d1-084a-456a-b8af-ae5a9b36e1f3","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","Locations":[0,0],"SupportsMyNotifications":true,"ID":"4bc525d1-084a-456a-b8af-ae5a9b36e1f3","Timestamp":"QEA="}]}

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

application/xml, text/xml

Sample:
<ArrayOfEventDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO">
  <EventDTO>
    <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">4bc525d1-084a-456a-b8af-ae5a9b36e1f3</ID>
    <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp>
    <Description>sample string 2</Description>
    <Locations xmlns:d3p1="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO.Enums">
      <d3p1:PermissionAclTypes>Global</d3p1:PermissionAclTypes>
      <d3p1:PermissionAclTypes>Global</d3p1:PermissionAclTypes>
    </Locations>
    <Name>sample string 1</Name>
    <SupportsMyNotifications>true</SupportsMyNotifications>
  </EventDTO>
  <EventDTO>
    <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">4bc525d1-084a-456a-b8af-ae5a9b36e1f3</ID>
    <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp>
    <Description>sample string 2</Description>
    <Locations xmlns:d3p1="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO.Enums">
      <d3p1:PermissionAclTypes>Global</d3p1:PermissionAclTypes>
      <d3p1:PermissionAclTypes>Global</d3p1:PermissionAclTypes>
    </Locations>
    <Name>sample string 1</Name>
    <SupportsMyNotifications>true</SupportsMyNotifications>
  </EventDTO>
</ArrayOfEventDTO>