{
"cloudid": string,
"name": string,
"gatetype": string,
"smtpserver": string,
"smtpport": integer,
"smtpuser": string,
"smtppass": string,
"smtptemplate": string,
"posturl": string,
"postheader": string,
"postdata": string
}
cloudid * | Specifies the ID of the {ANYNODE} where the gate will be provisioned. |
name * | Specifies the name of the gate, which can be any desired name. |
gatetype * |
Specifies the gate type which must be one of the following:
|
smtpserver * | Specifies the SMTP server host or domain name. |
smtpport * | Specifies the SMTP server port number. |
smtpuser * | Specifies the SMTP server username. |
smtppass * | Specifies the SMTP server user's password. |
smtptemplate * |
Specifies additional email configurations in JSON format, which should follow this structure:
The following rules need to be considered:
|
posturl * | Specifies the POST URL for the request. |
postheader * | Specifies the headers to be included in the POST request. Please provide the headers in JSON format, as shown in the example below: |
postdata * |
The follwing rules need to be considered:
|
{
"result": "OK",
"payload": "The process was successfully completed",
"id": "V7-49ff499f-xxxx-xxxx-xxxx-b47fxxxx99af"
}
{
"result": "ERR",
"message": "Error message ..."
}