GET v2.0/certificate/{id}
Возвращает сертификат пользователя по его идентификатору.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Идентификатор сертификата. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Cертификат пользователя.
Korus.Eds.Api.CertificateName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Subject | string |
None. |
|
SerialNumber | string |
None. |
|
Thumbprint | string |
None. |
|
NotBefore | date |
None. |
|
NotAfter | date |
None. |
|
IsActive | boolean |
None. |
|
Image | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "subject": "sample string 2", "serialNumber": "sample string 3", "thumbprint": "sample string 4", "notBefore": "2025-04-29T17:04:30.0681832+03:00", "notAfter": "2025-04-29T17:04:30.0681832+03:00", "isActive": true, "image": "QEA=" }
application/xml, text/xml
Sample:
<Certificate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Korus.Eds.Api"> <Id>1</Id> <Image>QEA=</Image> <IsActive>true</IsActive> <NotAfter>2025-04-29T17:04:30.0681832+03:00</NotAfter> <NotBefore>2025-04-29T17:04:30.0681832+03:00</NotBefore> <SerialNumber>sample string 3</SerialNumber> <Subject>sample string 2</Subject> <Thumbprint>sample string 4</Thumbprint> </Certificate>