Add a simpler endpoint:
tmsh show sys serial Output:
dmidecode -s system-serial-number # (on physical BIG-IP) Create a unified script: check f5 big ip serial number
GET /mgmt/tm/sys/serial Response: