api attachment to incident

Discussion created by dion.jones@regus.com on May 17, 2016
Latest reply on May 30, 2016 by dion.jones@regus.com
How  do you attach a file to a service request you are creating with API calls? I  saw the page https://www.samanage.com/api/attachments/ but  if you are creating the incident by Api, you don?t have a parent ID yet.

looking at this page:
I can see that there is a variable type of 'attachment' - but does anyone have an example on how to implement this?