Membuat kontak aplikasi sertifikat.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:CreateContact |
create |
*Semua Sumber daya.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
Nama kontak sertifikat. |
zhang san |
| Mobile |
string |
Yes |
Nomor telepon kontak. |
1335678**** |
|
string |
No |
Alamat email kontak. |
test@126.com |
|
| Idcard |
string |
No |
Nomor kartu identitas kontak. Parameter ini wajib diisi untuk merek sertifikat CFCA dan tidak wajib untuk merek lainnya. |
123 |
| Webhooks |
string |
No |
URL webhook bot obrolan DingTalk, WeCom, atau Lark. Nilainya berupa string dalam format daftar. |
[\"https://open.feishu.cn/open-apis/bot/v2/hook/XXX\"] |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
71CE8C5B-3737-52A9-97D0-2A9746059A45 |
| ContactId |
integer |
ID kontak. |
1352570 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "71CE8C5B-3737-52A9-97D0-2A9746059A45",
"ContactId": 1352570
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectFormat.%s | The %s parameter format is incorrect. | Format nilai parameter %s tidak valid. |
| 400 | AlreadyExists.%s | A %s with the same value already exists. | %s yang sama sudah ada. |
| 400 | LimitExceeded.%s | The maximum number of %s is exceeded. | Jumlah %s melebihi batas kuota. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.