Solution

  1. Create the widget using the post /widgets.

  2. Get the widget Id from get/widgets.

  3. Once created using the GET /widgets/{widgetId} method, fetch the Etag from the Response header.

    000211027_Image1
  4. Under put  /widgets/{widgetId}, use the Etag from GET /widgets/{widgetId}. Under the If-Match parameter, enter widgetId and widgetInfo.

    000211027_Image2

    WidgetInfo:

    {
      "fileInfos": [
        {
          "transientDocumentId": "******"
        }
      ],
      "name": "Widht_Name",
      "status": "DRAFT",
      "widgetParticipantSetInfo": {
        "memberInfos": [
          {
            "email": ""
          }
        ],
        "role": "SIGNER"
      }
    }

Additional information

Note:

You can update only the Widget with Status as DRAFT.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy