Associate Assets with an Event

Allows assets to be associated with a Workflow event.

 

URL

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

 

REQUEST METHOD

POST

 

URL PARAMETER

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

 

FORM CONTENT

An array with the following members:

Path: Paths of the assets in the organizational structure.

Type (Optional): Filter used to associate assets of the selected type. This is useful for identifying assets that have the same path but are not the same type.

 

REQUEST EXAMPLE

{WSUrl}/api/events/EVTC201105000052/assets

 

FORM CONTENT EXAMPLES

[

{"Path" : "Marketing > Station 1","Type" : "Technology"},

{"Path" :" Marketing > Station 2","Type" : "Technology"}

]

 

SUCCESS RESPONSE

HTTP status code 204: NoContent