In the API documentation there are examples of adding attachments to entities, though perhaps not the Test Instance specifically. There are also examples for linking defects. Have you reviewed those examples?
↧