CameraId

Dear all,

Im trying to use “EventTriggerWithMetadata“ from the ServerCommandService.

I cant find out how to send the cameraId.

Here is what I tried:

<x:Envelope xmlns:x=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xpr=“http://videoos.net/2/XProtectCSServerCommand”>

<x:Header/>

<x:Body>

    <xpr:EventTriggerWithMetadata>

        <xpr:token>TOKEN#af7329bf-4b49-4bbc-aafb-9dd9efa79286#configcenter//ServerConnector#</xpr:token>

        <xpr:eventId>fbabd862-165a-4383-bf9e-066b1fb6c864</xpr:eventId>

        <xpr:metadata>

            <targetDevices>

                <deviceIds>

                    <deviceId>847AB12A-79E0-4948-A13F-FE149C0F205A</deviceId>

                    <deviceId>7CA28FB8-EF62-4FBC-85C9-08DB42A4A42B</deviceId>

                </deviceIds>

            </targetDevices>

        </xpr:metadata>

    </xpr:EventTriggerWithMetadata>

</x:Body>

</x:Envelope>

The Problem is, the Rule is triggered but the Camera information is not Used in the Rule:

Perform an action on MyBookmark

  from **External**

Create bookmark MyBookmark on the devices from metadata

and Create log entry: ‘$DeviceName$

David.

If you look in the log -

“[C:\ProgramData\Milestone\XProtect](file:C:/ProgramData/Milestone/XProtect) Management Server\Logs\RuleSystem.log”

- is there an error that might relate to this?

I think this is - https://developer.milestonesys.com/s/question/0D50O00003KC1JlSAL/how-to-use-eventtriggerwithmetadata-protocol-integration