POST api/Tsa/Timestamp

Get timestamp for data

Request Information

URI Parameters

None.

Body Parameters

TimestampRequest
NameDescriptionTypeAdditional information
hash

Collection of byte

None.

requestCert

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "hash": "QEA=",
  "requestCert": true
}

application/xml, text/xml

Sample:
<TimestampRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.TimestampProxy">
  <hash>QEA=</hash>
  <requestCert>true</requestCert>
</TimestampRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TimestampResponse
NameDescriptionTypeAdditional information
ID

integer

None.

Time

date

None.

Hash

Collection of byte

None.

TimestampData

Collection of byte

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Time": "2024-11-21T08:42:43.0649588+00:00",
  "Hash": "QEA=",
  "TimestampData": "QEA=",
  "Success": true
}

application/xml, text/xml

Sample:
<TimestampResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.TimestampProxy">
  <Hash>QEA=</Hash>
  <ID>1</ID>
  <Success>true</Success>
  <Time>2024-11-21T08:42:43.0649588+00:00</Time>
  <TimestampData>QEA=</TimestampData>
</TimestampResponse>