Example of the close Message

{
    "apiVersion": 1,
    "method": "close",
    "backScreen": "default",
    "actions":
    [
        // INSTALL
        {
            "entity": "inventory",
            "action": "install",
            "invid": 21258426,
            "inv_aid": 4224031,
            "properties": // Properties can be updated too
            {
                "PORT_INFO": "A0|1|1|0|7.9|QF9-0719537",
                "EQUIPMENT_ETHERNET": "08:00:27:ea:d1:bd"
            }
        },
        {
            "entity": "inventory",
            "action": "install",
            "invid": 21229417,
            "inv_aid": 4224031,
            "quantity": 12, // Install only 12 pieces of NSI
 
            "properties": // Model should be set if needed
            {
                "inventory_model": "RG6 - BLK"
            }
        },
 
        // DEINSTALL
        {
            "entity": "inventory",
            "action": "deinstall",
            "invid": 21064418,
            "inv_pid": 3000001
        },
 
        // CREATE
        {
            "entity": "inventory",
            "action": "create",
            "invtype": "NT",
            "invpool": "installed",
            "inv_aid": 4224031,
            "inv_pid": 3000001,
            "quantity": 100,
 
            "properties":
            {
                "inventory_model": "RG6 - BLK"
            }
        },
  
        // DELETE
        {
            "entity": "inventory",
            "action": "delete",
            "invid": "1484311067004-9891"
        }
    ]
}