GET api/Documents/{documentId}/Linked

Gets the linked documents for the provided document identifier.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
documentId

The document identifier.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The linked documents model.

ESignSystems.SmartSAFE.Models.Documents.LinkedDocumentsModel
NameDescriptionTypeAdditional information
DocumentId

Gets or sets the document identifier.

integer

None.

ParentDocument

The parent document.

ESignSystems.SmartSAFE.Models.Documents.LinkedDocumentModel

None.

ChildDocuments

The child documents.

Collection of ESignSystems.SmartSAFE.Models.Documents.LinkedDocumentModel

None.

Response Formats

application/json, text/json

Sample:
{
  "DocumentId": 1,
  "ParentDocument": {
    "DocumentId": 1,
    "DocumentName": "sample string 1",
    "IsPDF": true,
    "IsSmartDoc": true,
    "AuthoritativeCopy": true,
    "LinkedBy": "sample string 5",
    "LinkedDate": "2024-11-26T17:31:49.1806293-05:00"
  },
  "ChildDocuments": [
    {
      "DocumentId": 1,
      "DocumentName": "sample string 1",
      "IsPDF": true,
      "IsSmartDoc": true,
      "AuthoritativeCopy": true,
      "LinkedBy": "sample string 5",
      "LinkedDate": "2024-11-26T17:31:49.1806293-05:00"
    },
    {
      "DocumentId": 1,
      "DocumentName": "sample string 1",
      "IsPDF": true,
      "IsSmartDoc": true,
      "AuthoritativeCopy": true,
      "LinkedBy": "sample string 5",
      "LinkedDate": "2024-11-26T17:31:49.1806293-05:00"
    }
  ]
}

application/xml, text/xml

Sample:
<LinkedDocumentsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models.Documents">
  <ChildDocuments>
    <LinkedDocumentModel>
      <AuthoritativeCopy>true</AuthoritativeCopy>
      <DocumentId>1</DocumentId>
      <DocumentName>sample string 1</DocumentName>
      <IsPDF>true</IsPDF>
      <IsSmartDoc>true</IsSmartDoc>
      <LinkedBy>sample string 5</LinkedBy>
      <LinkedDate>2024-11-26T17:31:49.1806293-05:00</LinkedDate>
    </LinkedDocumentModel>
    <LinkedDocumentModel>
      <AuthoritativeCopy>true</AuthoritativeCopy>
      <DocumentId>1</DocumentId>
      <DocumentName>sample string 1</DocumentName>
      <IsPDF>true</IsPDF>
      <IsSmartDoc>true</IsSmartDoc>
      <LinkedBy>sample string 5</LinkedBy>
      <LinkedDate>2024-11-26T17:31:49.1806293-05:00</LinkedDate>
    </LinkedDocumentModel>
  </ChildDocuments>
  <DocumentId>1</DocumentId>
  <ParentDocument>
    <AuthoritativeCopy>true</AuthoritativeCopy>
    <DocumentId>1</DocumentId>
    <DocumentName>sample string 1</DocumentName>
    <IsPDF>true</IsPDF>
    <IsSmartDoc>true</IsSmartDoc>
    <LinkedBy>sample string 5</LinkedBy>
    <LinkedDate>2024-11-26T17:31:49.1806293-05:00</LinkedDate>
  </ParentDocument>
</LinkedDocumentsModel>