I'm converting a COM API client to WebAPI, and encountering a problem setting UniqueId when sending a fax.
In COMAPI we would create a Fax Object, add attachments and set the fax.UniqueId, add attachments, set phone and send
RFCOMAPILib.Fax fx = faxServer.CreateObject[RFCOMAPILib.CreateObjectType.coFax];fx.UniqueID = mps.Ssendid;
fx.Attachments.Add(tiffName, RFCOMAPILib.BoolType.False);
fx.UniqueID = "ourJobId";
fx.ToFaxNumber = "5551212";
…
fx.Send();
In WebAPI we create a SendJob, set the same parameters except UniqueId which is not a property of SendJob. So after we PUT the SendJob, we retrieve the Documents for the SendJob and PUT the Document back to the WebAPI.
Well, it turns out I can set the the FolderId, but the UniqueId does not get set, and I can't add Tags with the Document PUT either.
Any ideas how to set a value on the outbound fax so when I come back to review the status of the Faxes (Documents) I can get my key "outJobId" back?