PUT Events/Update
Request Information
URI Parameters
None.
Body Parameters
Collection of EventDTOName | Description | Type | Additional 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. |
Request Formats
application/json, text/json
Sample:
{ "results": [ { "Name": "sample string 1", "Description": "sample string 2", "Locations": [ 0, 0 ], "SupportsMyNotifications": true, "ID": "5ca7ed5e-b3b8-46d9-b34a-99134e65c130", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Description": "sample string 2", "Locations": [ 0, 0 ], "SupportsMyNotifications": true, "ID": "5ca7ed5e-b3b8-46d9-b34a-99134e65c130", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Name":"sample string 1","Description":"sample string 2","Locations":[0,0],"SupportsMyNotifications":true,"ID":"5ca7ed5e-b3b8-46d9-b34a-99134e65c130","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","Locations":[0,0],"SupportsMyNotifications":true,"ID":"5ca7ed5e-b3b8-46d9-b34a-99134e65c130","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">5ca7ed5e-b3b8-46d9-b34a-99134e65c130</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">5ca7ed5e-b3b8-46d9-b34a-99134e65c130</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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of EventDTOName | Description | Type | Additional 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": "7a6c89d5-7b8a-4763-aaa0-eea535d35efc", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Description": "sample string 2", "Locations": [ 0, 0 ], "SupportsMyNotifications": true, "ID": "7a6c89d5-7b8a-4763-aaa0-eea535d35efc", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Name":"sample string 1","Description":"sample string 2","Locations":[0,0],"SupportsMyNotifications":true,"ID":"7a6c89d5-7b8a-4763-aaa0-eea535d35efc","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","Locations":[0,0],"SupportsMyNotifications":true,"ID":"7a6c89d5-7b8a-4763-aaa0-eea535d35efc","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">7a6c89d5-7b8a-4763-aaa0-eea535d35efc</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">7a6c89d5-7b8a-4763-aaa0-eea535d35efc</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>