Set Minecraft objects by command?

Ra
1

Hi, I wanted to ask how to use a command to place a banner pointing in a certain direction.

al

/ setblock 00 00 00 minecraft: color_banner [rotation = 00, type = top / bottom]