This link has the detailed procedure to create or edit a Solution article using API.