Get Asset record data based on Names

Example

FM_api('Assets_getNames')

Result

On Success

{"id":"5","name":"Fire alarm","code":"3246","archived":"0"},{"id":"6","name":"Fire alarm 2","code":"5234","archived":"0"},{"id":"7","name":"Fire alarm 3","code":"5742","archived":"0"},{"id":"8","name":"CCTV camera","code":"9532","archived":"0"},{"id":"1","name":"Extinguisher","code":"4353","archived":"1"},{"id":"9","name":"CCTV camera 2","code":"7973","archived":"1"},{"id":"10","name":"Fridge","code":"1242","archived":"1"},{"id":"12","name":"Fire Hose","code":"7534","archived":"0"},{"id":"13","name":"TEST1"...