Create Bookmark from the API - badRequest

Completed

Comments

4 comments

  • Avatar
    Simon Faulkner

    Hmmm, OK, I was not putting values in for startTimeMs and durationMs - it works when I put those in but...

    I am trying to get a Line Crossing rule in an Axis camera to create a Bookmark - the Axis camera rule can call the URL but I don't think it can insert insert startTimeMs

    Hmmm, not sure how to do this.

    PS - Wouldn't it be good for the API to assume that a blank in startTimeMs means NOW ?

    0
    Comment actions Permalink
  • Avatar
    Simon Faulkner

    I span up a VM with Apache running a CGI script and I get the Axis cameras to call that then I curl NX Witness with the extra bits.

    It's a bit of a faff but it works :-)

    0
    Comment actions Permalink
  • Avatar
    Norman - Nx Support

    Hi Simon Faulkner,

    Thank you for reporting this. I'll forward the information with our developers to improve the API documentation.

    JIRA-VMS-37418

    0
    Comment actions Permalink
  • Avatar
    Simon Faulkner

    Cheers Norman, it's working a treat, I just answered my own post to help anyone else heading the same way!

    0
    Comment actions Permalink

Please sign in to leave a comment.