dms.UpdateOsEvent

Updates the script code of an existing OS event.

This job accesses the internal scripting infrastructure of enaio® directly. Incorrectly configured events can cause unexpected behavior or serious malfunctions on the client or server side.

1. Input Parameters

Name Type Required Description

OsEventId

INT

Yes

ID of the event to update. Corresponds to the id field in the JSON response of dms.GetOsEvents.

VBCode

STRING

Yes

New script code of the event (JavaScript or VBScript).
Description: Field vb_code

2. Return Value

(INT): 0 = Job successful, otherwise error code
Complete error list