REST API Creating and updating an ip firewall address list with domains

Create

POST http://router/rest/ip/firewall/address-list/add
{"address":"8.8.8.8","list":"Google","disabled":"false","comment":"No comment","dynamic":"false"}

*return .id value of new record

Read

POST http://router/rest/ip/firewall/address-list/print
{".query":["address=8.8.8.8","list=Google","#|"]}

_*See this topic http://forum.mikrotik.com/t/how-using-query-stack-in-rest-api/173298/14

Update ([.id] - .id value of record with *)

PATCH http://router/rest/ip/firewall/address-list/[.id]
{"address":"8.8.8.8","list":"Google","disabled":"false","comment":"","dynamic":"true","timeout":"02:00:00"}

Delete ([.id] - .id value of record with *)

DELETE http://router/rest/ip/firewall/address-list/[.id]