A valid request URL is required to generate request examples{
"Type": "signingField",
"SigningMethods": [
"manual",
"beid"
],
"LegalNotice": {
"Text": "read and approved"
},
"Location": {
"Page": 2,
"Top": 200,
"Left": 200
},
"Dimensions": {
"Width": 200,
"Height": 200
}
}[
{
"ErrorCode": "Name.MinimumLength:6",
"ErrorMessage": "The minimum length for a name is 6"
}
][
{
"ErrorCode": "Package.NotFound:00000000-0000-0000-0000-000000000000",
"ErrorMessage": "The package with id '00000000-0000-0000-0000-000000000000' could not be found"
}
][
{
"ErrorCode": "Something.WentWrong",
"ErrorMessage": "Something went wrong"
}
]Create element
Adds one element to an existing document. The element type is chosen with the Type
field, which can be one of five values:
- SigningField - marks where a signature must be placed. Signing fields are always mandatory.
- TextBoxField - a text input the end user can fill in. May carry a prefilled default value and may be mandatory or optional.
- CheckBoxField - a checkbox the end user can toggle. May be checked by default and may be mandatory or optional.
- RadioGroup - a group of radio buttons (the individual buttons are the group’s
Options). May have a button selected by default and may be mandatory or optional. - ComboBoxField - a dropdown the end user picks an option from, optionally allowing a custom typed value. Available as of NSEV v8.5.
An element is positioned in one of the ways described on the placement schemas: with an
explicit Location and Dimensions, with a text Marker, or with a FieldId that
references an existing form field in the uploaded document. A signing field signed only
with the server signing method can also be created invisible, with no position at all.
An element can instead be created from an existing unplaced element by supplying its
UnplacedElementId.
Keep the number of signing fields per document within the recommended maximum of 25: exceeding it does not fail the request, but raises a warning on the package.
When the request references a marker or an existing form field (Marker or FieldId),
it is recommended to add the element at document-upload time: after a document
conversion the referenced marker or field may no longer exist.
A valid request URL is required to generate request examples{
"Type": "signingField",
"SigningMethods": [
"manual",
"beid"
],
"LegalNotice": {
"Text": "read and approved"
},
"Location": {
"Page": 2,
"Top": 200,
"Left": 200
},
"Dimensions": {
"Width": 200,
"Height": 200
}
}[
{
"ErrorCode": "Name.MinimumLength:6",
"ErrorMessage": "The minimum length for a name is 6"
}
][
{
"ErrorCode": "Package.NotFound:00000000-0000-0000-0000-000000000000",
"ErrorMessage": "The package with id '00000000-0000-0000-0000-000000000000' could not be found"
}
][
{
"ErrorCode": "Something.WentWrong",
"ErrorMessage": "Something went wrong"
}
]Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
The target package's unique identifier A package's unique identifier
"00000000-0000-0000-0000-000000000000"
The target document's unique identifier A document's unique identifier
"00000000-0000-0000-0000-000000000000"
Body
- Place an unplaced element
- Signing field
- Check box field
- Text box field
- Radio group
- Combo box field
Parameters for placing an existing unplaced element, identified by UnplacedElementId.
Choose one placement method and supply only its fields:
- Explicit coordinates - supply
LocationandDimensions. - Text marker - supply
Marker(a code embedded in the document text). - Radio group - supply
Options, each button positioned by its ownLocationandDimensions(used when the unplaced element is a radio group, instead ofLocation/Marker).
Do not combine methods. For the full rules and marker formats see the Field positioning guide.
An element's unique identifier
"00000000-0000-0000-0000-000000000000"
External reference to this resource set by the calling application. NSEV does not use this value itself. When filtering packages, this matches the package-level external reference only, not document or field references.
256Explicit placement. Supply together with Dimensions. Omit when using Marker or Options.
Show child attributes
Show child attributes
{ "Page": 2, "Top": 200, "Left": 200 }
Size in points. Supply together with Location. Omit when using Marker or Options.
Show child attributes
Show child attributes
{ "Width": 200, "Height": 200 }
A piece of text inside the document where an element must be. It encodes the location
and dimensions of the element. Omit when using Location/Dimensions or Options. Recommended
to embed at document-upload time, because after document conversion the marker may no longer
be present. Its format depends on the element type:
- SigningField - a
#-prefixed text marker#id_height_width#(for example#SIG01_50_120#), or a#-prefixed PDF field id#idthat names an existing signature field. - Form fields (TextBoxField, CheckBoxField, ComboBoxField) - an
@-prefixed text marker@id_height_width#, with@id_TB_height_width#for a text box,@id_CB_height_width#for a check box and@id_DD_height_width#for a combo box (NSEV v8.5+), or a@-prefixed PDF field id@idthat names an existing form field. When placing an unplaced combo box, only the combo-box-specific@id_DD_height_width#form is accepted - the generic@id_height_width#marker is rejected for this element type. - RadioGroup cannot be placed with a text marker; use Options instead.
See the Field positioning guide.
^[#@][a-zA-Z]+(?:\d*\.)?\d+(?:_(?:TB_|CB_|DD_)?(?:\d*\.)?\d+_(?:\d*\.)?\d+#)?$Radio-group buttons, each with a Name, Location and Dimensions. Supply this only
when the unplaced element is a radio group; omit when using Location/Dimensions or Marker.
Show child attributes
Show child attributes
Response
New element was created
- Signing field
- Check box field
- Text box field
- Radio group
- Combo box field
A field that can be signed by an actor
The type of element - the discriminator across the element variants.
The ComboBoxField value is available as of NSEV v8.5.
SigningField, TextBoxField, CheckBoxField, RadioGroup, ComboBoxField An element's unique identifier
"00000000-0000-0000-0000-000000000000"
Is null when no actor has been assigned to this field yet
"00000000-0000-0000-0000-000000000000"
The status of a document element
Pending, InProgress, Rejected, Failed, Finished, Refused External reference to this resource set by the calling application. NSEV does not use this value itself. When filtering packages, this matches the package-level external reference only, not document or field references.
256where an element is placed
Show child attributes
Show child attributes
{ "Page": 2, "Top": 200, "Left": 200 }
The signingmethod that was used to sign this signingfield
An NSEV signing method
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The size of an element in points. The minimum width and height depend on the element type - a signing field must be at least 50 × 30, other elements at least 10 × 10. See the Field positioning guide.
Show child attributes
Show child attributes
{ "Width": 200, "Height": 200 }