PUT api/certificates/{certificateId}
Certificate metadata update.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| certificateId | integer |
Required |
Body Parameters
CertificateUpdateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId |
Id of the user to assign the certificate to. If null, it's a company-level certificate. |
integer |
None. |
| Password |
Password for the certificate. |
string |
None. |
| Type |
Certificate type, 0 - DocumentSignature, 1 - FINA |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"Password": "sample string 1",
"Type": 2
}
text/html
Sample:
{"AccountId":1,"Password":"sample string 1","Type":2}
application/xml, text/xml
Sample:
<CertificateUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs"> <AccountId>1</AccountId> <Password>sample string 1</Password> <Type>2</Type> </CertificateUpdateDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />