ListUserCertificateOrder
Queries the list of user certificates or orders.
Operation description
This operation is typically used to query the list of user certificates or orders. If OrderType is set to CERT or UPLOAD, the certificate list is queried. If OrderType is set to CPACK or BUY, the order list is queried.
QPS limits
The QPS limit for a single user is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:ListUserCertificateOrder |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Keyword |
string |
No |
The keyword for fuzzy search, which matches domain names or corresponding resource IDs. |
cert-instanceId |
| Status |
string |
No |
The order status. Valid values:
If OrderType is set to CERT or UPLOAD and Status is left empty, valid certificates, including issued and expiring certificates, are returned by default. If OrderType is set to CPACK or BUY and Status is left empty, all orders are returned by default. |
ISSUED |
| OrderType |
string |
No |
The resource type. Default value: CPACK. Valid values:
|
CPACK |
| CurrentPage |
integer |
No |
The current page number for pagination. |
1 |
| ShowSize |
integer |
No |
The number of entries to return on each page. Default value: 50. |
10 |
| ResourceGroupId |
string |
No |
The resource group ID. You can obtain the ID by calling the ListResources operation. |
rg-ae******4wia |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response for the certificate and order list. |
||
| ShowSize |
integer |
The number of entries returned per page. |
10 |
| CurrentPage |
integer |
The number of entries returned per page. |
1 |
| TotalCount |
integer |
The total number of queried entries. |
1 |
| CertificateOrderList |
array<object> |
The list of certificates and orders. |
{"CertificateOrderList": [{"Status": "PAYED","ProductName": "Professional Wildcard OV SSL","InstanceId": "cert-instanceId","ProductCode": "globalsign-xxxx","SourceType": "buy","WildDomainCount": 1,"CertType": "OV","PartnerOrderId": "","OrderId": 3451111,"Algorithm": "RSA","RootBrand": "GlobalSign","AliyunOrderId": 21xxxxxx40655,"DomainType": "WILDCARD","TrusteeStatus": "trustee","Domain": "","BuyDate": 1632649385000,"DomainCount": 1}]} |
|
object |
The certificate and order information. |
||
| Algorithm |
string |
The algorithm. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
RSA |
| AliyunOrderId |
integer |
The Alibaba Cloud order ID. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
234567 |
| BuyDate |
integer |
The purchase time. Unit: milliseconds. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
1634283958000 |
| CertEndTime |
integer |
The certificate expiration time. Unit: milliseconds. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
1665819958000 |
| CertStartTime |
integer |
The certificate start time. Unit: milliseconds. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
1665819958000 |
| CertType |
string |
The certificate type. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. Valid values:
|
FREE |
| Domain |
string |
The domain name. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
aliyundoc.com |
| DomainCount |
integer |
The total number of purchased domain names. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
1 |
| DomainType |
string |
The domain name type. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. Valid values:
|
ONE |
| InstanceId |
string |
The resource ID. |
cas-instanceId |
| OrderId |
integer |
The order ID. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
2345687 |
| PartnerOrderId |
string |
The third-party CA order ID. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
ca-123456 |
| ProductCode |
string |
The order specification ID. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
bykj123456 |
| ProductName |
string |
The order specification name. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
CFCA |
| RootBrand |
string |
The brand, such as WoSign, CFCA, DigiCert, and vTrus. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
CFCA |
| SourceType |
string |
The order type. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. Valid values:
|
buy |
| Status |
string |
The order or certificate status. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. Valid values:
|
PAYED |
| TrusteeStatus |
string |
The hosting status. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. Valid values:
|
unTrustee |
| WildDomainCount |
integer |
The number of purchased wildcard domain names. This parameter is returned when the input parameter OrderType is set to CPACK or BUY. |
0 |
| CertificateId |
integer |
The certificate ID. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
896521 |
| Name |
string |
The certificate name. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
cert-name |
| CommonName |
string |
The primary domain name of the certificate. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
aliyun.com |
| Fingerprint |
string |
The certificate fingerprint. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
CC6B3696E7C7CA715BD26E28E45FF3E3DF435C03 |
| Sha2 |
string |
The SHA-2 value of the certificate. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
56B4DED2243A81DD909D7C39824FFE4DDBD87F91BFA46CD333FF212FE0E7CB11 |
| SerialNo |
string |
The certificate serial number. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
040a6e493cffdda6d744acf99b6576cf |
| Issuer |
string |
The certificate issuer. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
MyIssuer |
| OrgName |
string |
The organization name in the certificate. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
Alibaba Cloud |
| Province |
string |
The province or autonomous region. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
Zhejiang |
| City |
string |
The city. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
Hangzhou |
| Country |
string |
The country code. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
CN |
| Sans |
string |
All domain names bound to the certificate. Multiple domain names are separated by commas (,). This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
aliyun.com |
| Expired |
boolean |
Indicates whether the certificate has expired. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
true |
| Upload |
boolean |
Indicates whether the certificate is an uploaded certificate. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
false |
| StartDate |
string |
The certificate start time. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. The date format is YYYY-MM-DD. |
2021-11-16 |
| EndDate |
string |
The certificate end time. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. The date format is YYYY-MM-DD. |
2022-11-17 |
| ResourceGroupId |
string |
The resource group ID. This parameter is returned when the input parameter OrderType is set to CERT or UPLOAD. |
rg-ae******4wia |
| RequestId |
string |
The request ID. This ID is generated by Alibaba Cloud for the request and can be used to troubleshoot and locate issues. |
15C66C7B-671A-4297-9187-2C4477247A74 |
Examples
Success response
JSON format
{
"ShowSize": 10,
"CurrentPage": 1,
"TotalCount": 1,
"CertificateOrderList": [
{
"Algorithm": "RSA",
"AliyunOrderId": 234567,
"BuyDate": 1634283958000,
"CertEndTime": 1665819958000,
"CertStartTime": 1665819958000,
"CertType": "FREE",
"Domain": "aliyundoc.com",
"DomainCount": 1,
"DomainType": "ONE",
"InstanceId": "cas-instanceId",
"OrderId": 2345687,
"PartnerOrderId": "ca-123456",
"ProductCode": "bykj123456",
"ProductName": "CFCA",
"RootBrand": "CFCA",
"SourceType": "buy",
"Status": "PAYED",
"TrusteeStatus": "unTrustee",
"WildDomainCount": 0,
"CertificateId": 896521,
"Name": "cert-name",
"CommonName": "aliyun.com",
"Fingerprint": "CC6B3696E7C7CA715BD26E28E45FF3E3DF435C03",
"Sha2": "56B4DED2243A81DD909D7C39824FFE4DDBD87F91BFA46CD333FF212FE0E7CB11",
"SerialNo": "040a6e493cffdda6d744acf99b6576cf",
"Issuer": "MyIssuer",
"OrgName": "阿里云",
"Province": "浙江省",
"City": "杭州市",
"Country": "CN",
"Sans": "aliyun.com",
"Expired": true,
"Upload": false,
"StartDate": "2021-11-16",
"EndDate": "2022-11-17",
"ResourceGroupId": "rg-ae******4wia"
}
],
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.