Endpoint: CollectMC
https://secure.trust-provider.com/products/download/CollectMC
The CollectMC API endpoint allows you to collect an issued mark certificate.
Use the POST method for this endpoint.
Submit parameters in the x-www-form-urlencoded format.
The following table lists the required and optional parameters.
| Parameter | Type | Required/Optional | Max. Length | Description |
|---|---|---|---|---|
|
string |
conditional |
64 chars |
Your account username. This value is case sensitive. |
|
string |
conditional |
128 chars |
Your account password. This value is case sensitive. |
|
integer |
required |
The order number of the account. |
|
|
integer |
optional |
Specifies the format of the returned certificate data. The possible values are:
For more details, see Certificate formats. |
|
|
integer |
optional |
Specifies the encoding of the returned certificate data. The possible values are:
|
|
|
optional |
string |
1 char |
Indicates whether the logo and certificates are hosted on the CA basis or not. The possible options are:
If omitted, its value defaults to |
Sample request
curl --location --request POST 'https://secure.trust-provider.com/products/!CollectMC' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'loginName=yourLoginName' \
--data-urlencode 'loginPassword=yourPassword' \
--data-urlencode 'responseType=2' \
--data-urlencode 'responseEncoding=0'
Certificate formats
| Format Name | Content-Type | Description |
|---|---|---|
PKCS7 |
application/x-pkcs7-certificates |
A single |
ZIP archive |
application/zip |
A |
Individually encoded |
text\plain |
A single |