POST api/DocumentViewed

Request Information

URI Parameters

None.

Body Parameters

DocumentViewedPostRequest
NameDescriptionTypeAdditional information
Data

DocumentViewedPostRequestFields

None.

Request Formats

application/json, text/json

Sample:
{
  "Data": {
    "UserId": "sample string 1",
    "Id": 2,
    "Action": "sample string 3",
    "DocumentOpenTimestamp": "2025-08-20T02:08:20.5309697+00:00",
    "DocumentCloseTimestamp": "2025-08-20T02:08:20.5309697+00:00",
    "Token": "sample string 6",
    "FakedElapsedSeconds": 7
  }
}

application/xml, text/xml

Sample:
<DocumentViewedPostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignAPI.Models.Requests">
  <Data>
    <Action>sample string 3</Action>
    <DocumentCloseTimestamp>2025-08-20T02:08:20.5309697+00:00</DocumentCloseTimestamp>
    <DocumentOpenTimestamp>2025-08-20T02:08:20.5309697+00:00</DocumentOpenTimestamp>
    <FakedElapsedSeconds>7</FakedElapsedSeconds>
    <Id>2</Id>
    <Token>sample string 6</Token>
    <UserId>sample string 1</UserId>
  </Data>
</DocumentViewedPostRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DocumentViewedPostResponse
NameDescriptionTypeAdditional information
Response

BaseResponseItems

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {
    "Processed": "sample string 1",
    "Error": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<DocumentViewedPostResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignAPI.Models.Responses">
  <Response>
    <Error>sample string 2</Error>
    <Processed>sample string 1</Processed>
  </Response>
</DocumentViewedPostResponse>