Search Mail Address¶
Query the Email addresses created within this OU and the system OU.
Request Format¶
GET https://{apigw-address}/notification-center-service/v2.0/email/senders
Request Parameters (URI)¶
Name |
Location (Path/Query) |
Required/Optional |
Data Type |
Description |
---|---|---|---|---|
orgId |
Query |
Required |
String |
The OU ID. How to get orgId >> |
Response Parameters¶
Name |
Data Type |
Description |
---|---|---|
data |
Data Struct |
For more information about Data Struct, see Data Struct. |
Data Struct¶
Name |
Data Type |
Description |
---|---|---|
orgId |
String |
The OU ID of the Email address. |
senderCode |
String |
The Email address ID. |
senderAddress |
String |
The Email address. |
alias |
String |
The alias of the Email address. |
Samples¶
Request Sample¶
url: https://{apigw-address}/notification-center-service/v2.0/email/senders?action=get&orgId=yourOrgId
method: GET
Return Sample¶
{
"code":"0",
"msg":"OK",
"submsg":"",
"data":[
{
"orgId":"yourorgId",
"senderCode":"senderCode1",
"senderAddress":"abc@enos.com",
"alias":"abc"
},
{
"orgId":"yourorgId",
"senderCode":"senderCode2",
"senderAddress":"xyz@enos.com",
"alias":"xyz"
}
],
"requestId":""
}