Search result API provides ids as string in `assets` result


  • Used Zammad version: 2.4
  • Used Zammad installation source: deb package
  • Operating system: Ubuntu 16.04

Expected behavior:

  • Ids to objects should be of a consistent type in the API

Actual behavior:

  • Most often an ID is a number, sometimes it’s a string.

Steps to reproduce the behavior:

  • When I perform a search to api/v1/tickets/search?query=welcome the asset attribute in the result shows ids as strings, whereas the tickets attribute has them as numbers. See screenshot below:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.