Skip to main content
Known Participant
June 9, 2021
解決済み

AnnotationManager: CreateAnnotation()

  • June 9, 2021
  • 返信数 1.
  • 656 ビュー

Hi, 

 

I'd like to have this one more API for creating new annotations, as currently there are only addAnnotations().

 

I'd like to use this API to create new annotations from my code or at least creating new replies to existing APIs.

 

I wonder if this API will be implemented soon? 

 

thank you, 

このトピックへの返信は締め切られました。
解決に役立った回答 Joel Geraci

You can use any GUID or UUID generator for that.

返信数 1

Joel Geraci
Community Expert
Community Expert
June 9, 2021

Annotation objects are defined using JSON. To create a new annotation that can later be used by the addAnnotations() call, you can simply define it using the annotation schema. Just be sure to set the "source" property to the id of the file that you load into Embed API.

tangyun作成者
Known Participant
June 9, 2021
hi thanks for the prompt reply.

i've thought about this solution. the only question i have is that how to create hash-like ID strings for the new reply.

thanks

Get Outlook for iOS
Joel Geraci
Community Expert
Joel GeraciCommunity Expert解決!
Community Expert
June 9, 2021

You can use any GUID or UUID generator for that.