Skip to main content
POST

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

packageId
string<guid>
required

The target package's unique identifier A package's unique identifier

Example:

"00000000-0000-0000-0000-000000000000"

documentId
string<guid>
required

The target document's unique identifier A document's unique identifier

Example:

"00000000-0000-0000-0000-000000000000"

Body

application/json

Parameters for placing an existing unplaced element, identified by UnplacedElementId. Choose one placement method and supply only its fields:

  • Explicit coordinates - supply Location and Dimensions.
  • Text marker - supply Marker (a code embedded in the document text).
  • Radio group - supply Options, each button positioned by its own Location and Dimensions (used when the unplaced element is a radio group, instead of Location/Marker).

Do not combine methods. For the full rules and marker formats see the Field positioning guide.

UnplacedElementId
string<guid>
required

An element's unique identifier

Example:

"00000000-0000-0000-0000-000000000000"

ExternalReference
string

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.

Maximum string length: 256
Location
object

Explicit placement. Supply together with Dimensions. Omit when using Marker or Options.

Example:
Dimensions
Element dimensions · object

Size in points. Supply together with Location. Omit when using Marker or Options.

Example:
Marker
string

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 #id that names an existing signature field.
  • Form fields (TextBoxField, CheckBoxField) - an @-prefixed text marker @id_height_width#, with @id_TB_height_width# for a text box and @id_CB_height_width# for a check box, or a @-prefixed PDF field id @id that names an existing form field.
  • RadioGroup cannot be placed with a text marker; use Options instead.

See the Field positioning guide.

Pattern: ^[#@][a-zA-Z]+(?:\d*\.)?\d+(?:_(?:TB_|CB_)?(?:\d*\.)?\d+_(?:\d*\.)?\d+#)?$
Options
object[]

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.

Response

New element was created

A field that can be signed by an actor

Type
enum<string>
required

the type of element ( the discriminator of the different types of elements, for the moment there's just one! )

Available options:
SigningField,
TextBoxField,
CheckBoxField,
RadioGroup
Id
string<guid>

An element's unique identifier

Example:

"00000000-0000-0000-0000-000000000000"

ActorId
string<guid>

Is null when no actor has been assigned to this field yet

Example:

"00000000-0000-0000-0000-000000000000"

Status
enum<string>

The status of a document element

Available options:
Pending,
InProgress,
Rejected,
Failed,
Finished,
Refused
ExternalReference
string

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.

Maximum string length: 256
CompletedDate
string<dateTime>
Location
object

where an element is placed

Example:
UsedSigningMethod
string

The signingmethod that was used to sign this signingfield

SigningMethods
string[]

An NSEV signing method

KeyPairMappings
object[]
Dimensions
Element dimensions · object

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.

Example: