Call SendMailToProvAdmin API to send a mail to the provisioning system administrator if the adapter is unable to connect to the provisioning system. This API receives SendMailToProvAdminXML as input and renders Response XML as output.
string SendMailToProvAdmin (string SendMailToProvAdminXML, string ReferenceNo)
|
Argument Name |
Data Type |
Is Mandatory |
Description |
|
SendMailToProvAdminXML |
String |
Yes |
An XML string that contains message to be sent and the subject for the mail. |
|
ReferenceNo |
String |
Yes |
An unique number provided to identify the request |
|
Element Name |
Data Type |
Length(Bytes) |
Is Mandatory |
Description |
|
PROVSERVERNODE |
String |
10 |
Yes |
Provisioning Server node code. |
|
SUBJECT |
String |
50 |
Yes |
Mail Subject to be sent. |
|
MSGBODY |
String |
200 |
Yes |
Mail content to be sent. |
<REQUESTINFO>
<KEY_NAMEVALUE>
<KEY_NAME>PROVISIONINGENTITYCODE</KEY_NAME>
<KEY_VALUE>TOCOM</KEY_VALUE>
</KEY_NAMEVALUE>
<MAILINFO>
<PROVSERVERNODE>NODE1</PROVSERVERNODE>
<SUBJECT>Alarm MAIL</SUBJECT>
<MSGBODY>Hi!Tocom CAS is Down.</MSGBODY>
</MAILINFO>
</REQUESTINFO>
|
Parameter Name |
Data Type |
Description |
|
TRANSACTIONNO |
String |
An unique number generated for each request |
|
ERRORNO |
Integer |
Returns Error Number 1000 - System Error Occurred 1094 - Provisioning Server Node is empty. Unable to send mail 1095 - Mail subject is empty. Unable to send mail 1096 - Mail content is empty. Unable to send mail |
|
ERRORMESSAGE |
String |
Returns “Success” or “Failed” |
<RESPONSEINFO>
<STATUS>
<TRANSACTIONNO>3781</TRANSACTIONNO>
<ERRORNO>0</ERRORNO>
<MESSAGE>Success</MESSAGE>
</STATUS>
</RESPONSEINFO>
Note: Refer to Error Codes and Description to view errors in detail.