Set VMware Notes During Provisioning

Has anyone found a way to set the notes field during provisioning of an instance? I tried passing in a value to instance.notes on the JSON request I sent, but it appears that was just thrown away.

It may be a rough Monday for me, but are you referring to the Wiki tab on an instance that syncs to VMware notes?

Yeah, it looks like that’s stored in the “notes” field on the instance as well (in the JSON response from /api/instances/123).

Ah, the best way to approach this is add a post task on a provisioning workflow that curls back to the system and populates the wiki/notes.

This endpoint does not exist until the machine begins provisioning, so probably why your instance.notes gets dropped.

References:
Wiki Body Example

Post Task Curl Example

Wiki API Documentation