List Assets Associated with an Event

Returns the list of assets associated with an event.

 

URL

{WSUrl}/api/events/<EventCode>/assets

 

REQUEST METHOD

GET

 

URL PARAMETER

EventCode: This parameter is provided in the URL and does not need to be sent through GET.

 

REQUEST EXAMPLE

{WSUrl}/api/events/EVTC201105000052/assets

 

SUCCESS RESPONSE

List of objects with information on the assets associated with the event specified.

[

{"Asset":

 {

   "Description" : "Property of Marketing Dept.",

   "Id" : "8d471453-63fc-4495-9fa5-b54177c2eac9",

   "Name" : "Workstation 1",

   "ResponsibleId" : "91b87126-4f49-4687-bbf4-b83f1233d27a",

   "ResponsibleName" : "Administrator",

   "TypeName" : "Technology",

   "PerimeterName" : "Marketing Dept.",

   "PerimeterResponsibleId" : "91b87126-4f49-4687-bbf4-b83f1233d27a",

   "PerimeterResponsibleName" : "Administrator",

   "Relevance" : 3

 },

 "RelationshipId" : "29de49dd-7f2f-4c26-b07f-2d303854d72a"

},

{"Asset" :

 {

   "Description" : "Property of the Marketing Dept.",

   "Id" : "3b28b7fc-3b45-4272-9f76-5d6028ef39f8",

   "Name" : "PC Workstation",

   "ResponsibleId" : "91b87126-4f49-4687-bbf4-b83f1233d27a",

   "ResponsibleName" : "Administrator",

   "TypeName" : "Technology",

   "PerimeterName" : "Marketing",

   "PerimeterResponsibleId" : "91b87126-4f49-4687-bbf4-b83f1233d27a",

   "PerimeterResponsibleName" : "Administrator",

   "Relevance" : 3

 },

 "RelationshipId" : "f86e7615-90fd-4a33-ac81-9a0d99bdffe0"

}

]