Manually adding third party cameras

Answered

Comments

3 comments

  • Avatar
    Sergey Ivanov

    Hi David,

    Not sure about correct POST parameters form. We are using GET request with the following request line:

    /api/manualCamera/add?url0=..&manufacturer0=...&uniqueId0=...&user=...&password=...

    Please note `0` after repeating parameters. For several cameras there will be url1, url2 and so on.

    0
    Comment actions Permalink
  • Avatar
    David Karlsson

    Hi Sergey,

    Thank you for the prompt answer.

    We have tried with the GET request as you mention as( attaching the cURL of our request ) and the result we get back from your server is:

    200 OK

    {
        "error": "0",
        "errorString": "",
        "reply": null
    }

    Still, we don't notice any new camera being added under our system in nxWitness UI. If we instead add the camera with the nxWitness  add device.. button we are successfull in this.

    please take a look at attached cURL, are we sending the right parameters to /api/manualCamera/add?

    Regards,

    David Karlsson

    CTO

    Skyresponse

    0
    Comment actions Permalink
  • Avatar
    David Karlsson

    Sorry nevermind Sergey found a type in the request parameter. It solved the issue.

    Regards,

    David

    0
    Comment actions Permalink

Please sign in to leave a comment.