Help with sending the metadata recived from Milesight to our own server using an HTTP(s) request

Answered

Comments

5 comments

  • Avatar
    Ruslan Zinatullin

    Hi Ramon,

    Please refer to the following articles in the manual:

    0
    Comment actions Permalink
  • Avatar
    Ramon Mormeneo Ferrer

    I have tried that and it's sending me the literal test to the place I want to send my data, I send a screenshot of my eventThe event.source, event.description etc, instead of being changed for their respective value, it sends them to me in plain text, we just recive the json, we don't do anything else.

    I will also add a screenshot showing what plugging are we using and the model of our camera.

    Plugging

     

    Camera Model

    0
    Comment actions Permalink
  • Avatar
    Ruslan Zinatullin

    Hi Ramon,

    Parameters you specified above are for Generic Events. Analytic items have another placeholders:

    {event.cameraId}

    {event.cameraName}

    {event.eventType}

    {event.eventName}

    0
    Comment actions Permalink
  • Avatar
    Ramon Mormeneo Ferrer

    Hi I just tried that but it still doesn't send the inforomation correctly, this is how we haver the event set up

    And in our server this is the literal response we get

    {"cameraId": "{event.cameraId}",
    "cameraName": "{event.cameraName}",
    "eventType": "{event.eventType}",
    "eventName": "{event.eventName}"}

    0
    Comment actions Permalink
  • Avatar
    Ruslan Zinatullin

    Hi Ramon,

    I'm sorry for not entirely correct information, currently these placeholders are supported for Generic and Analytic Events only. I will raise a ticket for adding the support of placeholders for Analytic Objects too, but I cannot provide any estimated dates right now.

    0
    Comment actions Permalink

Please sign in to leave a comment.