POST api/SigningRoomManager/Tagging/Templates

Saves a document template.

Request Information

URI Parameters

None.

Body Parameters

The document template model.

ESignSystems.SmartSAFE.Models.SigningRoomManager.Tagging.DocumentTemplateModel
NameDescriptionTypeAdditional information
DocumentTemplateId

Gets or sets the document template identifier.

integer

None.

Name

Gets or sets the name of the template.

string

Required

ClientId

Gets or sets the client identifier.

integer

Required

Annotations

Gets or sets the list of annotations.

Collection of ESignSystems.SmartSAFE.Models.SigningRoomManager.Tagging.DocumentAnnotationModel

None.

UpdatedBy

Gets or sets the name of the user that updated the model.

string

None.

UpdatedDate

Gets or sets the date an time that the model was updated.

date

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentTemplateId": 1,
  "Name": "sample string 1",
  "ClientId": 1,
  "Annotations": [
    {
      "DocumentAnnotationId": 1,
      "DocumentSignerId": 1,
      "DocumentId": 1,
      "ParticipantId": 1,
      "ParticipantOrderId": 1,
      "XOffset": 1.1,
      "YOffset": 2.1,
      "AnnotationTypeId": 3,
      "AnnotationType": "sample string 4",
      "DisplayValue": "sample string 5",
      "Width": 6.1,
      "Height": 7.1,
      "Optional": true,
      "PageNumber": 9,
      "MaxAnnotationTextLength": 1,
      "AnnotationTextFontSize": 1,
      "Deleted": true,
      "FittextValue": 11.1,
      "AnnotationGroupName": "sample string 12",
      "SignatureReferenceId": "sample string 13"
    },
    {
      "DocumentAnnotationId": 1,
      "DocumentSignerId": 1,
      "DocumentId": 1,
      "ParticipantId": 1,
      "ParticipantOrderId": 1,
      "XOffset": 1.1,
      "YOffset": 2.1,
      "AnnotationTypeId": 3,
      "AnnotationType": "sample string 4",
      "DisplayValue": "sample string 5",
      "Width": 6.1,
      "Height": 7.1,
      "Optional": true,
      "PageNumber": 9,
      "MaxAnnotationTextLength": 1,
      "AnnotationTextFontSize": 1,
      "Deleted": true,
      "FittextValue": 11.1,
      "AnnotationGroupName": "sample string 12",
      "SignatureReferenceId": "sample string 13"
    }
  ],
  "UpdatedBy": "sample string 2",
  "UpdatedDate": "2026-01-01T17:29:52.1421419-05:00"
}

application/xml, text/xml

Sample:
<DocumentTemplateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models.SigningRoomManager.Tagging">
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models">sample string 2</UpdatedBy>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models">2026-01-01T17:29:52.1421419-05:00</UpdatedDate>
  <Annotations>
    <DocumentAnnotationModel>
      <AnnotationGroupName>sample string 12</AnnotationGroupName>
      <AnnotationTextFontSize>1</AnnotationTextFontSize>
      <AnnotationType>sample string 4</AnnotationType>
      <AnnotationTypeId>3</AnnotationTypeId>
      <Deleted>true</Deleted>
      <DisplayValue>sample string 5</DisplayValue>
      <DocumentAnnotationId>1</DocumentAnnotationId>
      <DocumentId>1</DocumentId>
      <DocumentSignerId>1</DocumentSignerId>
      <FittextValue>11.1</FittextValue>
      <Height>7.1</Height>
      <MaxAnnotationTextLength>1</MaxAnnotationTextLength>
      <Optional>true</Optional>
      <PageNumber>9</PageNumber>
      <ParticipantId>1</ParticipantId>
      <ParticipantOrderId>1</ParticipantOrderId>
      <SignatureReferenceId>sample string 13</SignatureReferenceId>
      <Width>6.1</Width>
      <XOffset>1.1</XOffset>
      <YOffset>2.1</YOffset>
    </DocumentAnnotationModel>
    <DocumentAnnotationModel>
      <AnnotationGroupName>sample string 12</AnnotationGroupName>
      <AnnotationTextFontSize>1</AnnotationTextFontSize>
      <AnnotationType>sample string 4</AnnotationType>
      <AnnotationTypeId>3</AnnotationTypeId>
      <Deleted>true</Deleted>
      <DisplayValue>sample string 5</DisplayValue>
      <DocumentAnnotationId>1</DocumentAnnotationId>
      <DocumentId>1</DocumentId>
      <DocumentSignerId>1</DocumentSignerId>
      <FittextValue>11.1</FittextValue>
      <Height>7.1</Height>
      <MaxAnnotationTextLength>1</MaxAnnotationTextLength>
      <Optional>true</Optional>
      <PageNumber>9</PageNumber>
      <ParticipantId>1</ParticipantId>
      <ParticipantOrderId>1</ParticipantOrderId>
      <SignatureReferenceId>sample string 13</SignatureReferenceId>
      <Width>6.1</Width>
      <XOffset>1.1</XOffset>
      <YOffset>2.1</YOffset>
    </DocumentAnnotationModel>
  </Annotations>
  <ClientId>1</ClientId>
  <DocumentTemplateId>1</DocumentTemplateId>
  <Name>sample string 1</Name>
</DocumentTemplateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The result of the operation.

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.