Query Product List - ListCertificateCommodity
Overview
Query Product List
Definition
Public Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is ListCertificateCommodity . | Yes |
PublicKey | string | The user’s public key can be obtained from Console | Yes |
Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
Parameter Name | Type | Description Information | Required |
---|
Response Field
Field Name | Type | Description Information | Required |
---|---|---|---|
RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
Action | string | Operation command name. | Yes |
Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
Recommended | array[CertificateCommodity] | Recommended Products | Yes |
All | array[CertificateCommodity] | All Products | Yes |
Data Model
CertificateCommodity
Field Name | Type | Description Information | Required |
---|---|---|---|
ID | int | ID | No |
CertificateName | string | Name | No |
CertificateBrand | string | Brand | No |
CertificateCat | string | Classification | No |
ProductID | int | Product ID | No |
DomainMaxLimit | int | Maximum Purchase Quantity | No |
DomainMinLimit | int | Minimum Purchase Quantity | No |
Channel | string | ca Channel | No |
CertificateCnName | string | Certificate Name | No |
CSRAlgorithms | array[CSRAlgorithmInfo] | Algorithm | No |
CSRAlgorithmInfo
Field Name | Type | Description Information | Required |
---|---|---|---|
Algorithm | string | Algorithm. Supports RSA, ECDSA, SM2 three values. | No |
AlgorithmOption | array[string] | The length of the algorithm key. 1. RSA supports 2048,3072,4096 2. ECDSA supports p256,p384,p512 3. SM2 supports p256 | No |
Example
Request Example
https://api.dezai.com/?Action=ListCertificateCommodity
&Channel=1
Response Example
{
"Action": "ListCertificateCommodityResponse",
"All": [
{
"Brand": "",
"TypeSet": [
{
"CommoditySet": {
"CSRAlgorithms": "",
"CertificateBrand": "",
"CertificateCat": "",
"CertificateCnName": "",
"CertificateName": "",
"Channel": "",
"DomainMaxLimit": "",
"DomainMinLimit": "",
"ID": "",
"ProductID": ""
},
"Type": ""
}
]
}
],
"Recommended": [
{
"Brand": "",
"TypeSet": [
{
"CommoditySet": {
"CSRAlgorithms": "",
"CertificateBrand": "",
"CertificateCat": "",
"CertificateCnName": "",
"CertificateName": "",
"Channel": "",
"DomainMaxLimit": "",
"DomainMinLimit": "",
"ID": "",
"ProductID": ""
},
"Type": ""
}
]
}
],
"RetCode": 0
}