Upload a new version of a form

Request Information

Parameters

NameDescriptionAdditional information
id The id of the form

Define this parameter in the request URI.

upload A multipart message containing a base64 stream and json content. Only the first part of the message is shown below.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "State": "sample string 1"
}

application/xml, text/xml

Sample:
<FormContentRest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <State>sample string 1</State>
</FormContentRest>

Response Information

Returns: A formcontent model

Response body formats

application/json, text/json

Sample:
{
  "FormUri": "/forms/1",
  "FormContentUri": "/forms/1/versions/2",
  "Id": 1,
  "Version": 2,
  "CreatedAt": "2025-12-06T20:06:53.3434629+01:00",
  "FormId": 1,
  "State": "SignedBySender"
}

application/xml, text/xml

Sample:
<FormContentRestGet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <State>SignedBySender</State>
  <FormUri>/forms/1</FormUri>
  <FormContentUri>/forms/1/versions/2</FormContentUri>
  <Id>1</Id>
  <Version>2</Version>
  <CreatedAt>2025-12-06T20:06:53.3434629+01:00</CreatedAt>
  <FormId>1</FormId>
</FormContentRestGet>