GET api/certificates/communication/{talkId}/{type}
Returns the latest certificate of the specified type for a communication.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| talkId |
Communication identifier. |
integer |
Required |
| type |
Certificate type name or numeric identifier. |
CertificateTypeId |
Required |
Body Parameters
None.
Response Information
Resource Description
Certificate information and Base64-encoded PDF content.
CertificateResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| CertificateCode |
Certificate verification code. |
string |
None. |
| Type |
Certificate type. |
CertificateTypeId |
None. |
| Date |
Certificate date. |
date |
None. |
| TalkId |
Related communication identifier, when available. |
integer |
None. |
| Hash |
Certificate hash. |
string |
None. |
| HasTimestamp |
Whether the certificate has a timestamp. |
boolean |
None. |
| ContentType |
Content media type. |
string |
None. |
| Content |
PDF content, serialized as Base64 in JSON. |
Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
{
"CertificateCode": "sample string 1",
"Type": "None",
"Date": "2026-10-24T01:21:10.7344139+02:00",
"TalkId": 1,
"Hash": "sample string 3",
"HasTimestamp": true,
"ContentType": "sample string 4",
"Content": "QEA="
}
application/xml, text/xml
Sample:
<CertificateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PuntoNeutro.WebApi.Models"> <CertificateCode>sample string 1</CertificateCode> <Content>QEA=</Content> <ContentType>sample string 4</ContentType> <Date>2026-10-24T01:21:10.7344139+02:00</Date> <HasTimestamp>true</HasTimestamp> <Hash>sample string 3</Hash> <TalkId>1</TalkId> <Type>None</Type> </CertificateResponse>