in july 1919 , hitler was appointed a verbindungsmann ( police spy ) of an aufklrungskommando of the reichswehr , both to influence other soldiers and to infiltrate a small party , the german workers ' party ( dap ) .